Skip to Content

How to get new Default settings for SC in DOC CHANGE BADI

Hi Experts,

We know that a user default settings can be fetched from BBP_READ_ATTRIBUTES by passing all the desired attributes (e.g. BUK for company code and many more from T77OMATTR table).

If we create a shopping cart, then we can change the defaults for that specific shopping cart using Set Values Link, how can we get this information in BBP_DOC_CHANGE BADI?

We know that newly added lines would have the defaults populated, however, I am having a requirement when I need to access these attributes when an item is a copy of SC template / Old SC (When we click Add item and select "Old shopping carts and templates" ).

Awaiting your reply..

Thanks & Regards

Mohit Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 11, 2016 at 02:09 PM

    Hi Experts,

    I could achieve it by SET PARAMETER and EXPORT/IMPORT from the called webdynpro components (by enhancing WDDOMODIFYVIEW of the called components (by writing post exits)).

    Below were the component enhanced-

    /SAPSRM/WDC_DO_APPR_NOTE (for note)

    /SAPSRM/WDC_UI_DO_ACC         (account assignment information)

    /SAPSRM/WDC_UI_DO_SHIPTO    (Delivery address)

    /SAPSRM/WD_SC_UI_SO_DEFV    (for other information)

    Add comment
    10|10000 characters needed characters exceeded