cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple company codes - GL account determination

Former Member
0 Kudos

Hi

We are rolling out the solution to many different countries. The effect is that there will be many different company codes and chart of accounts. How can I set the GL account determination so that it also looks at the users company code attribute when creating a shopping cart?

BR

Anders

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Anders,

the badi BBP_DETERMINE_ACCT should help you , basically you can create a custom table exactly of type BBP_DET_ACCOUNT with additional field company code and in the badi you coudl fetch the G/L code from the custom table.

cheers

Iftekhar Alam

Former Member
0 Kudos

Hello Anders,

Interesting question. I am not sure about whether this has changed as of SRM 7 as we are not on that release but basically, you may be stuck invoking BADI BBP_DETERMINE_ACCT, because even though the config table where the relationship of product category to account contains a field "company" you cannot maintain it via the SPRO transaction. When we did this we imiplemented a custom table in ECC and query it via RFC in that BADI. I would also suggest you consider (to enable cross company code purchasing) that you allow the user to have whatever BUK attributes make sense in you situation, then use the company code of the document to determine the proper account. Hope that helps a little.

Cheers

MC

Former Member
0 Kudos

Thanks Michael.

It is really strange that SRM is not using the company code field. As most companies are rolling out globaly within one SAP SRM box.

BR

Andrers

Former Member
0 Kudos

Hi

It works this way:

First thing, SRM looks for the configuration you make in Define G/L Account for product category. Then after picking up that account system picks up the information such as Company Code from the SC(which gets copied there from Default COCODE Attribute of that user), then system makes call to backend to validate that G/L Account in that company code.

If you have a more complex logic in your G/L Account determination, you can override the above logic using BBP_DETERMINE_ACCT

Regards

Virender Singh

Former Member
0 Kudos

Hi,

Its there in SPRO -> Cross Application basic Setting>Account Assignment->Define GL Account for Prdt Category.

You can set GL account based on the Product category and Backend system.

IS

Former Member
0 Kudos

Anders,

Product category, backend & account assignment category all determine gl account assigned. This configuration is in spro.

Edited by: Onyedika O. on Aug 31, 2010 3:46 PM