Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
nanda_kondagunta
Explorer
0 Kudos

Hello SDN folks, this is my first blog. I want to talk about how to create custom fields in SRM. Let us look at how to create a custom field for the line item of a shopping cart.

    1. Create a field ZZLGLENT in structure INCL_EEW_PD_ITEM_CSF_SC.Create this in the append structure ZAINCL_EEW_PD_ITEM_CSF_SC.

    2. All shopping cart customer item fields also need to be added to the structure INCL_EEW_PD_ITEM_CSF. Make this entry in the include structure ZA INCL_EEW_PD_ITEM_CSF.

    3. The customer field will be created in the shopping cart Item Basic Data screen.

    4. The screen field settings and values can be manipulated using the BADI BBP_CUF_BADI_2. This BADI has 4 methods.

      Method MODIFY_SCREEN can be used to change the settings of the field on screen – make it visible, invisible, ready for input, etc.Method MODIFY_INPUT can be used to Edit/Correct Entered Values.Method MODIFY_OUTPUT can be used to to fill the custom field with values before displaying the screen. Method MODIFY_MODE_QUOT Can be used for Modes changes for Bids.

    5. In addition two more BADI’s BBP_DOC_CHANGE and BBP_DOC_CHECK can be used to change the field contents and check the values and issue error messages respectively.

    6. Refer to SAP note 672960 for more info.

    2 Comments