cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use "BBP_DOC_CHANGE_BADI" for SOCO in SRM 7

channu_s
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

vinita_kasliwal
Active Contributor
0 Kudos

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

channu_s
Participant
0 Kudos

Hi Vinita,

Thanks a lot for quick reply , but the parameter "IT_SOS_ITEMLIST" is  importing parameter , so we can do the changes to it directly.

Do we have any other option for this ? cant we use the "BBP_DOC_CHANGE_BADI" for this ?

Thanks

Channa

Former Member
0 Kudos

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