Skip to Content

update partner data in exiting SC

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 27, 2016 at 04:08 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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.