on 06-25-2008 1:41 PM
Hi,
How can I keep track of the old company code values when company code is changed for an item in shopping cart?
As I have a scenario where in I need to execute my custom logic, only if company code is changed.
DOC_CHANGE BADI is triggered for any change in the SC.
Also there can be multiple items in the SC.
Thanks in Advance,
Regards
Madan
Hi,
Whatever values are entered for the field "company code"in the screen,you can read it from the importing parameters Item table i.e. IT_ITEM-BE_CO_CODE.
Also you can use the following FM's in the BADI:
BBP_PROCDOC_GETDETAILu2014>gives the value of the details entered in SC which are already there in Database
BBP_PD_SC_GETDETAIL-->gives runtime values
BR,
Disha.
Do reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.