Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
Former Member replied

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)



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question