Skip to Content
0
Former Member
Jul 27, 2010 at 10:33 AM

Defaulting value of Purchasing Group based on Company Code

23 Views

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