on 2016 Aug 22 11:11 PM
Dear All,
we need to update partner data in exiting SC in dependence of some criterias.
Do you know a funtion module or a method for, especially which approach would you recommend in regard of
programm location, within BBP_DOC_CHECK_BADI?
Best Regards
Airwave
Request clarification before answering.
Hi
It is BBP_DOC_CHANGE_BADI
However you would be clear what type of partner you want to add, so that you can input PARTNER_FCT along with Partner GUID or BP number.
Thanks,
Ganapathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Airwave,
You don't need to use the FM BBP_PD_SC_UPDATE to update the items within this badi, you can change the data directly changing the parameters of the method...
What you have to do is:
- Create an implementation of badi BBP_DOC_CHANGE_BADI, put the filter BUS2121.
- Go to method IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE
- Map all the export parameters with the import parameters: e.g. ET_PARTNER = IT_PARTNER, ET_ACCOUNT = IT_ACCOUNT, etc...
- Then change the values you want in table ET_PARTNER. You don't need to use any FM or bapi for this purpose.
To check if you are in creating mode you can see parameter IV_MODE = C.
Regards,
Ricardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.