cancel
Showing results for 
Search instead for 
Did you mean: 

Query on creating Shopping cart for another company code

Former Member
0 Kudos

Hi,

We are having an Organization structure with Root node and two Company Code hierarchies.

The Users under each of the Company code have attributes setup for creating Shopping cart and follow-on documents for either company code.

Is there an option for a User in Company code A to create Shopping Cart for Company Code B, but the Bill to and Ship to address should be pulled from attributes of Company code B

Is there any development to be done for achieving this.

Thanks,

Balaji

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi. You can do it with attributes in PPOMA_BBP, but it can get messy.

There is an attribute BUK - Company Code in the standard attribute section.

If you enter multiple company codes here with the logical system then you can select from any of them in the shopping cart, even if you are not directly below that company code in the org strcuture.

You can even set a default company code to be different than the one you have according to the function tab.

You must also assign the plants and cost centres and so on from the other company codes, SRM will validate that you choose a plant and cost centre from the right company code. It will restrict the plants you can choose from to those in the right company code, and if you choose an invalid cost centre you will get the backend error "purchasing across company codes not allowed" which means your cost centre does not match your company code.

The difficultly lies in the purchasing groups and orgs.

If you have 1 purchasing org across both company codes then you are fine.

However, if you have different purchasing orgs you have a problem.

You will have to assign the purchasing groups from purchase org B to have responsiblity for the org unit of company code A and vice versa.

This means the user will get multiple purchasing groups selectable in the shopping cart, 1 from each purchase org.

The user will have to make sure they select the right one, else when the cart is approved the PO will fail.

You could use BBP_DOC_CHECK_BADI to check that the user has chosen the correct purchasing group, or you could use the various purchasing gorup determine BADIs to try and get the right group in for them, but it can get a bit tricky.

Regards,

Dave.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

How about using Shopping on Behalf of Other Users function ?

[http://help.sap.com/saphelp_srm50/helpdata/en/4a/842041c877f623e10000000a155106/frameset.htm|http://help.sap.com/saphelp_srm50/helpdata/en/4a/842041c877f623e10000000a155106/frameset.htm]

or BBP_DOC_CHANGE_BADI.

Regards,

Masa