cancel
Showing results for 
Search instead for 
Did you mean: 

Defaulting value of Purchasing Group based on Company Code

Former Member
0 Kudos

Hi All,

Currently we have two company codes C1 and C2 each have one - one purchasing org(PO1 and PO2) and purchasing group(PG1 and PG2). So Now hierarchy is as below: -

C1

PO1

PG1

C2

PO2

PG2

Now user of company code C1 can shop for C2 and vice versa but whenever he shops for C1 his Porg and Pgroup should be PO1 and PG1 only and same in the case for C2. Currently on shopping cart screen both company code C1 and C2 are appearing and like wise values of PO1 : PG1 and PO2 : PG2 is appearing in drop down list.

Now client is asking that whenever he selects C1 as company code PO1 : PG1 should appear as default entry and for C2, PO2 : PG2.

Can anyone tell me how this can be achieved and which BADI we are suppose to use to implement this solution?

Thanks

Siddarth

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Siddarth,

You shouldn't require a badi, look into the users attributes and extended attributes to see if that is where the extra information is stored.

Former Member
0 Kudos

You can try BBP_DOC_CHANGE Badi.