Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Automatic account determination


Please can annybody explain me the flow of account determination. How exactly the accounts are determined when posting is done. please explain which diff possibilities (Without mat number, through mvt type e.t.c).


Anand K

Former Member
Former Member replied


Well a lengthy explanatory answer to get, but go through the below:

Why do we need Automatic Account Determination?

Every time a transaction with financial implications is run, postings must be made to financial accounts. Iu2019m a logistics consultant, so to be honest, I donu2019t care. But it has to happen, so since this is an integration point between us and FI, unless you can make the FI consultant do it, we have to fight through it.

We could let the user enter the GL account each time we post an invoice or goods receipt, but SAP is supposed to be a productivity tool, so thatu2019s not really acceptable.

So, the idea is that the system will determine (based on our config) what account to post to depending on a number of factors, namely; company code, valuation area (plant vs company code), material / material type, transaction or business event and movement type.

So, with five variables, the determination system must be pretty complex?

Yes. When you come to understand the way SAP have done it, it is an elegant solution, but it is pretty damn complex.

Before you begin, sit down with the FI consultant, find out what accounts there are and in a business sense, how and when each of the accounts should be posted to. Discuss all five of the categories above. With this info set in concrete in front of you, you can begin the SAP config.

Hereu2019s the lowdown, try and stay with me.

Essentially all that is happening is that SAP are allowing us to maintain a record of u201Cif x and y happen, then use account zu201D and u201Cif a and b occur then use account qu201D.

I can just imagine the conversation many years ago in Germany (translated for your convenience):

u201COk, we need a table of possible outcomes for account determination.u201D

u201CThatu2019s faaarrr too easy. Letu2019s break it into fifty different tables, come up with many interchangeable names for the same thing, and hide the tables beneath several different, unimaginable directory paths.u201D

Configuration Steps

First up, since we have to do something first, letu2019s specify our valuation control. This is done via IMG > Materials Management > Valuation and Account Assignment > Account Determination > Account Determination Without Wizard > Define Valuation Control.

All that weu2019re doing here is specifying whether the system should consider the valuation grouping code in itu2019s determination procedures.

u201CWhatu2019s the valuation grouping code?u201D I hear you asking?

The valuation grouping code (vgc) is a collection of valuation areas that will have the same account determination. Since a valuation area can be a company code or plant, we can say that a vgc represents a group of plants or company codes that have the same account determination.

If you donu2019t use the valuation grouping code, youu2019ll have to set up account determination for each plant or company code in SAP.

If youu2019re using the vgc, then jump into u201Cgroup together valuation areasu201D and assign your company codes or plant a code (any code). They should be somewhere in the list automatically, all you should need to do is give them a code.

The next step is to manage different account determination per material type. This is where it can get complicated if you let it.

The valuation class is linked to an account category reference. The account category reference (acr) is an artificial code which allows flexibility in linking material types with valuation classes.

u201CHuh?u201D I hear you asking. Letu2019s consider the alternatives.

We could relate the GL account directly to the material type. This would be easy to setup for a few material types, but would take a huge amount of time for many material types, and would be hard to understand if changes needed to be made.

We could use the valuation class, assign the GL account to it, and then assign valuation classes to material types. This is better, since we could for instance have a u201CRaw Materialsu201D vc and a u201CFinished Materialsu201D vc and then simply link all the various material types under each category to the valuation class. This would make updates and initial loads easier, but there is still one thing missing, a material type can only be part of one valuation class and can only post to one account.

However, in the real world, a material type may post to different accounts depending on things other than just the material type, such as plant, movement type or indeed any of the factors above.

So, we have an account category reference which is linked to a material type. This acr is then linked with a valuation class and the GL account is linked to the valuation class. So a material type can be linked to one or more valuation classes (and hence GL Accounts) and in turn, a valuation class can be linked to multiple material types (enabling ease of understanding and updates).

Now that you (hopefully) understand that, the actual updates are pretty simple.

Go to transaction: IMG > Materials Management > Valuation and Account Assignment > Account Determination > Account Determination Without Wizard > Define Valuation Classes and begin by defining your valuation classes. Then define your account category references and go back into your valuation classes and assign them (or you could do the acru2019s first). Then go into your material types and assign your acru2019s to your material types and done! For the moment.

At this point we should consider another factor, the actual business event that is occurring and itu2019s effect on account determination. This is another area where you have to try and see through the impenetrable fog of terminology.

Each time u201Csomethingu201D occurs in the system it produces a u201Ckeyu201D for each of the postings that need to be made (i.e. debit and credit). This u201Ckeyu201D is entered in our account determination procedure so that postings for credit and debit go to different accounts. Simple aye?

Well when (as far as I understand) the u201Csomethingu201D can be called u2018transaction (key)u2019 or u2018event (key)u2019 and the u201Ckeyu201D can be called u2018value stringu2019, u2018posting ruleu2019 or u2018posting string for valuesu2019 and the column header in SAP for the u201Ckeyu201D says u201CTransu201D. Fun, fun, fun.

The combinations of movement type and u201Ckeysu201D and how they are determined are all internally programmed by SAP, so we donu2019t really care. What we do care about is the account modifier or u2018account grouping codeu2019.

This is the topic I spent the most time on, and Iu2019m still not completely clear, so donu2019t feel bad if youu2019re confused.

The account grouping code (aka account modification code, modifier or (in SAP) general modifier) is a three character code (which rather oddly has no link with the posting strings (u201Dkeyu201D)) which we use to break account determination down by movement type.

For example, by default in SAP, the system says for movement type 101 and posting key PRD there is no modification. So the account determination is not different based on movement type. However, I can enter a code (e.g. AAA) against movement type 101 and posting key PRD and code BBB against movement type 102 and PRD.

Then in u2018Configure Automatic Postingsu2019 when we go into posting key PRD, we will make entries for u2018general modifieru2019 AAA, account 100000 and BBB of 100001 (there will also need to be an entry for a u201Cblanku201D modifier which should cover all the other movement types).

So, make sense? Hopefully.

Now you need to go through and for each posting key that weu2019re concerned with, record each of the defining factors mentioned above (you donu2019t need to enter them if youu2019re not using them) and enter a GL account for each permutation.

You should now find that your account determination is working. I wouldnu2019t put any money on that promise. My hope is that having read this guide, youu2019re a little bit closer to having your account determination working, and that in conjunction with a number of other resources youu2019ll get there eventually.

Meantime try to visit :

one more link to give you complete picture is here below:


Syed Hussain.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question