cancel
Showing results for 
Search instead for 
Did you mean: 

Default purchase group value in shopping cart

Former Member
0 Kudos

Hi All,

I have a requirement that if the first line item of a shoping cart have a particular purchase group (let say XXX),when we are going to create the another line items of that shopping cart, from second line item onwards, the purchase group need be set as default value 'XXX'.

I am using the BADI BBP_DOC_CHANGE_BADI but not geeting the successful result.

Regards,

Saumik

Accepted Solutions (1)

Accepted Solutions (1)

dean_hinson2
Active Contributor
0 Kudos

Hello,

Please search for forums for BBP_PGRP_ASSIGN_BADI and/or BBP_PGRP_FIND. These should get you started.

Regards, Dean.

Answers (2)

Answers (2)

Former Member
0 Kudos

We have created a custom BADI '/BGT/DOC_CHANGE_BADI' for standard BADI-'BBP_DOC_CHANGE_BADI'.

In this BADI,code is written to determine the Purchasing organisation

based upon certain logics. While changing the values for Puchasing

Organisation(EKORG),PROC_ORG_OT and PROC_ORG_ID ,values are getting

modified as required.I can find the correct values updated in all the

tables after shopping cart gets created.In BBP_PD im getting all

desired values but on SRM Portal screen I can see purchasing Group

field's drop down list with three values in which one value is

initial.Hence on SRM portalt, I am not seeing the default value for

Purchasing Group field.

Please advice.

peter_novoth
Active Contributor
0 Kudos

Hi Saumik,

send a customer message to the SAP, and ask to extend the pilot note 975366 for you.

After implementing this note you will be able to override organisational data also in the BBP_DOC_CHANGE_BADI.

Regards,

Peter