Skip to Content
avatar image
Former Member

Can we use "BBP_DOC_CHANGE_BADI" for SOCO in SRM 7

Hi All,

Scenario :

When Buyer select the SC in SOCO and add to his personal worklist , we need to update a SC custom field with Buyer Id.

Planned Solution :

When user select the SC in SOCO "BBP_DOC_CHANGE_BADI" will be get called and we will do the update of Buyer Name

with SY-UNAME.

Issue : The BADI "BBP_DOC_CHANGE_BADI with method "BBP_SC_CHANGE with Filter :BUS2121" is not getting triggered.

We also tried for Business Object "SOCO" ,but still its not getting called.

Can anyone suggest a solution for this?

thanks

Channa

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 30, 2015 at 09:52 AM

    Hi,

    DOC_CHANGE BADI is not called normally in the Sourcing Cockpit.

    If you need to know, who reserved the shopping cart in Sourcing - you can use the table SPERS_OBJ.

    PER_KEY = 'BBPSOCO01/GROUP_AREA'

    FIELDDANE = 'GUID'

    FIELDVALUE = Guid of the shopping carts position

    Then you'll see the User-ID in the field OBJECT_ID

    The entry will be created as soon as the user saves the workarea on the 2nd step of the sourcing cockpit.

    Regards

    Konstantin

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 29, 2015 at 03:24 PM

    Hi Channappa

    Please check this BADI : BBP_WF_LIST and in that the method : BBP_WF_LIST_SOCO

    You can use it to update the value in structure BBP_PDS_SOS_ITEMLIST and try to see if that helps?

    Regards

    Vinita

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sajjanar,


      You can try out the badi...but i doubt if the change in importing parameter will work....but you can try if there is possibility of implicit enhancement at the end of the badi method...where in you can use update function modules (try searching with bbp*pd*igp*update*) to update your custom field

      BR,

      Harry