Skip to Content
Author's profile photo Former Member

Enhancing Shopping Cart Monitor

Enhancement to Shopping Cart Monitor

                                                – By Sushil Kumar


We had a requirement to let the Procurement Department check what Carts are pending with a given approver. This feature is available in standard SAP via t-code SWI5. However I came up with the idea of enhancing the Shopping cart Monitor for this request. For End-user this ensures simpler access to this info by using the existing Monitor application.

Enhancement details:

This involves following parts:

    1. Structure enhancements – Creation of append structures for /SAPSRM/S_CLL_MON_SC_HEADER and /SAPSRM/S_PDO_SC_HDR (For Items /SAPSRM/S_CLL_MON_SC_ITEM and /SAPSRM/S_PDO_SC_ITEMS)
    2. Enhancement of Webdynpro component /SAPSRM/WDC_UI_SC_AMF_CA to include new fields.
    3. Implementation of enhancement spot /SAPSRM/BD_CLL_MONITOR_SC
    4. Implementation of enhancement spot /SAPSRM/BD_PDO_MONITOR_SC(optional- unnecessary for my requirement)

UI Part:

  • SE11- Add the new field(s) via Append Structure to /SAPSRM/S_CLL_MON_SC_HEADER and /SAPSRM/S_PDO_SC_HDR
  • SE80 – Enhancement of Webdynpro component /SAPSRM/WDC_UI_SC_AMF_CA to include new fields.


Use CTRL+F4 to create the Enhancement Implementation:


Add the new custom fields on the Context tab of the view

Add the new input fields for the custom fields on the Layout tab of the view.

Activate the Webdynpro Component.

Logic Part:

  • SE18 – Create Implementation for enhancement spot /SAPSRM/BD_CLL_MONITOR_SC




  • From my point of view Implementation of Enhancement spot /SAPSRM/BD_PDO_MONITOR_SC is optional. It appears complicated to manipulate the custom input criteria at this point.
  • Logic to consider while Implementing BADI /SAPSRM/BD_CLL_MONITOR_SC


      1. Save the Custom/Standard (if required) input criteria in Static attributes in this method. These are not available in other methods.


      1. Change Parameter CT_SC_HEADERS has the Shopping cart headers matching the Input criteria part of Standard input fields (like Creation date, Number, Name, Vendor etc). In this method manipulate the table CT_SC_HEADERS and Delete/Add the Carts matching Custom input criteria.


      1. Change Parameter CT_SC_ITEMS has the items belonging to the Shopping cart header which was expanded in the current update cycle. So use the Saved custom input criteria to manipulate the table

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Very Well Illustrated. Keep posting the good posts !!!!

      Author's profile photo Former Member
      Former Member


      Author's profile photo Venkatakrishna Pothula
      Venkatakrishna Pothula