Page tree
Skip to end of metadata
Go to start of metadata

Purpose

This page will provide information about BBP_SC_MODIFY_UI BAdi.

Overview

With the Business Add-In BBP_SC_MODIFY_UI it is possible to limit or extend the "Add item" button options and the "Default settings" for users in the 'Professional Shopping Cart' and 'Shopping Cart Wizard' applications in SRM.

Default options

The options for the "Add item" button are determined in the ABAP class/method as follows.

Class: /SAPSRM/CL_CH_WD_BADI_HELPER

Method: sc_ui_itmchoice


If the field has value of 'X' the option is available if it has value of ' ' the option won't be available.

If the BADI is not active the default settings are the following:


 4-step/Shopping Cart Wizard

      es_itmchoice_active-catalog_search  = 'X'.

      es_itmchoice_active-catalogs        = 'X'.

      es_itmchoice_active-product         = 'X'.

      es_itmchoice_active-limit           = ''.

      es_itmchoice_active-special_request = 'X'.

      es_itmchoice_active-temp_lab        = ''.

      es_itmchoice_active-default_scr     = ''.

      es_itmchoice_active-old_po_and_temp = 'X'.


One step/Professional Shopping Cart

      es_itmchoice_active-catalog_search  = 'X'.

      es_itmchoice_active-catalogs        = 'X'.

      es_itmchoice_active-product         = 'X'.

      es_itmchoice_active-limit           = 'X'.

      es_itmchoice_active-special_request = 'X'.

      es_itmchoice_active-temp_lab        = 'X'.

      es_itmchoice_active-temp_lab_req    = 'X'.

      es_itmchoice_active-default_scr     = 'X'.

      es_itmchoice_active-old_po_and_temp = 'X'.


Meaning of the fields

es_itmchoice_active-


catalog_search

Cross-Catalog Search

catalogs

Catalogs

product

Internal Goods/Services

limit

Limit item

special_request

With Free Description / Describe what you need

temp_lab

As Service Order

temp_lab_req

As Service Request

default_scr

Default Settings

old_po_and_temp

Old Shopping Carts and Templates


BBP_SC_MODIFY_UI - Interface

BBP_SC_MODIFY_UI - BADI to Change Shopping Cart Layout

This BADI only contains one method: SC_MODIFY_SCREEN


SC_MODIFY_SCREEN

Parameter

Type

Type

Description

IV_UNAME

Importing

SY-UNAME

R/3 System, User Logon Name

IV_SCENARIO

Importing

BBP_SC_SCENARIO

Scenarios in Which Shopping Cart - Create is Called
In case of Wizard: 18
In case of Professional: 20

IV_DESIGN

Importing

BBP_SC_DESIGN

Shopping Cart Design Variant
In case of Wizard: 18
In case of Professional: 20

IS_SCR_ITMCHOICE

Changing

BBPS_SC_ITMCHOICE_ACTIVE

Structure for Control of ITMCHOICE Screen
Same as es_itmchoice_active in default section
further details Meaning of the field section


Limitations

  • In 4-step Shopping Cart you can enable only the following options:
    SPECIAL_REQUEST
    PRODUCT
    CATALOG_SEARCH
    CATALOGS
    DEFAULT_SCR
    LIMIT
    OLD_PO_AND_TEMP

The option for "As Service Order" or "As Service Request" will not be available even if temp_lab or temp_lab_req is set to 'X'

  • This BAdI can't be used for the Simplified Shopping Cart

Related Content

Related SAP Notes/KBAs

SAP Note: 1476125 Accounting data not refreshed when buy-on-behalf changed

SAP Note: 1476214 Delivery address not refreshed when buy-on-behalf changed

SAP Note: 1480565 Buy on behalf value is not transferred from f4 help in SC

SAP Note: 1428534 Navigation problem in SHP when default settings link is used

SAP Note: 1106002 BBP_SC_MODIFY_UI: Documentation incorrect

SAP Note: 1072853 Shopping cart layout is incorrect on using BBP_SC_MODIFY_UI

SAP Note: 1077436 change shopping cart layout - BADI BBP_SC_MODIFY_UI

SAP Note: 1035283 BBP_SC_MODIFY_UI enhancement ("Old POs and Templates")