Automatic Account Determination Process
MM-FI (ECC / S4HANA)
René Rodrigue Efila Minkoulou
[email protected] Process Overview
1) Integration with SAP MM and FI Module
2) Roles of Automatic Account Determination
3) Customizing :
- Assign the Company Code to Chart of Accounts
- Valuation level
- Group Together Valuation Areas
- Material type
- Valuation class
- Define Account Grouping for Movements Types
- Configure Automatic Postings
4) How to manage Message number no M8147 Account determination
5) Table (T030) to get the details of OBYC
1) Integration with SAP MM and FI Module
❑ The FI Module is linked with MM Module because every operation performed in MM
Module like Goods Receipt and Invoice Receipt directly impact the financial
operation of the organization.
❑ It is integrated in the area like Material Valuation, Vendor Payment, Material
Costing, etc.
❑ Whenever inventory posting are debited, it updates the G/L Accounts online in the
background.
❑ Logistic Invoice Verification will vendor liability in vendor account immediately on
posting the document.
❑ Any advance given again update the PO History. For every Inventory Posting is
corresponding CO document to update profit center accounting reporting Finished
Goods costing is link through MM and PP.
❑ Procurement of capital item cost can be directly booked against asset number.
Summary
2) Roles of Automatic Account Determination
In SAP MM, procurement process involves cost of
goods and services that needs to be paid to
vendor by an organization. ... So, in SAP system
some configuration for account determination is
done so that system will automatically determine
the correct G/L account that needs to be posted.
3) Customizing :
- Assign the Company Code to Chart of Accounts
the Chart of Accounts : is defined at the client level and assigned to each
company code. It is a list of General Ledger account's master data that
fall under different account groups of a company code. This grouping
mechanism helps to develop better financial reports. Types of Chart of
Accounts
3) Customizing :
- Valuation level
The valuation level defines at which level materials are valuated. SAP
holds two options. Either you value it at the company code level or at
the plant level. The default option is at the plant level. When valuing
materials at the plant level the material price and the account
assignment can differ for different plant belonging to the same
company code.
IMPORTANT: SAP’s recommendation is always use plant level because
in this case you have more flexibility ( every plant can have different
account determination ; every plant would have different valuation )
T code: OX14
3) Customizing :
- Valuation level
3) Customizing :
- Account determination without wizard
3) Customizing :
- Define Valuation Control
For account determination, you can group together valuation areas by
activating the valuation grouping code. This makes the configuration of
automatic postings much easier.
Important : here we have things code active and code not active
Code active : Same GL accounts can be used in different plants
Not active : Same GL accounts can not be used in different plants
3) Customizing :
- Define Valuation Control
3) Customizing :
- Group Together Valuation Areas
Valuation areas can be grouped together and can be assigned to
one grouping code, if they belong to the same G/L account. For
example, different plants under one company code can be assigned
the same valuation grouping code and vice versa.
Exemple : I want to group plant to different groups because some
plants will have the same valuation and the same account
determination
0001 and 0002 are valuation grouping code
3) Customizing :
- Group Together Valuation Areas
Important : valuation area is a plant because we define the valuation
to be a plant
Note: It is mandatory to maintain Valuation Modifier. As Valuation
area cannot be assigned directly to account determinations. Even if
you have only one valuation area, it should be assigned to a Valuation
Modifier.
3) Customizing :
- Group Together Valuation Areas
3) Customizing :
- Material type
Material types : In SAP MM, material types are the materials which are
having the similar attributes are categorized together and assigned to
a material type.
Example : ROH ; FERT ;PIPE
SPRO > IMG > Logistics – General > Material Master > Basic Settings >
Material Types > Define attributes of material types
T code : OMS2
3) Customizing :
- Material type
Important : activate quantity and value update
Valuation area : is the plant because it’s there we define valuation
3) Customizing :
- Valuation class
Here we have two important things : valuation class and category
account reference
Valuation class : In this step which valuation classes are allowed to
material type are defined. if user creates material, he must enter a
valuation class in accounting data. The valuation class is group of material
with same account determination. The valuation class allowed is depends
upon material type.
Category account reference : Account category reference is link
between Material type and Valuation class. Account reference category
is combination of valuation classes
3) Customizing :
- Valuation class
Here we can assign multiple valuation classes to an account category
reference or we can create a new valuation class
3) Customizing :
- Account category Reference
Here we create a new one or we can use one existing
3) Customizing :
- Material type / account category reference
Here we assign material type to account category reference
3) Customizing :
- Material type and valuation class
3) Customizing :
- Define Account Grouping for Movements Types
Using this function, you can assign an account grouping to movement types.
The account grouping is finer subdivision of the transaction event keys for
account determination.
Here Movement types are linked to transaction keys via valuation string and
account modification
Important : SAP’s recommendation is to use standard configuration don’t
change anything here because all movement type we have here are already
enough to covert all business processes.
3) Customizing :
- Define Account Grouping for Movements Types
3) Customizing :
- Configure Automatic Postings
3) Customizing :
- Configure Automatic Postings
3) Customizing :
- Configure Automatic Postings
Automatic Postings are postings made to G/L accounts automatically in
the case of Invoice Verification and Inventory Management transactions
relevant to Financial and Cost Accounting
Account Assign : here valuation class will be assign to GL account
Simulation: here you can simulate the configuration to be sure that you
configure the correct account and then you save your time
Business example
We have three cases :
1. Goods Receipt with PO (Movement type 101)
2. Goods issue for cost center ( Movement type 201 )
3. Goods receipt without purchase order ( 501)
4. Invoice receipt ( MIRO)
In this three transactions we will see how customizing system
and impact in Financial module
Goods Receipt with PO (Movement type 101)
1. Stock posting (BSX) : This transaction is used for all postings
to stock accounts (BSX- stock posting (debited)+ )
2. GR/IR clearing (WRX) : Postings to the GR/IR clearing
account occur in the case of goods and invoice receipts
against purchase orders. (WRX-GR/IR clearing
account(credited)- )
3) Customizing : BSX and WRX
SIMULATION
Impact of financial module
Inventory account Debit(40) BSX : 300010
GR/IR Clearing account Credit(50) WRX : 191100
Goods issue for cost center ( Movement type 201)
1. Stock posting (BSX) : This transaction is used for all postings
to stock accounts (BSX- stock posting (credited)-
2. GBB-VBR : for internal goods issues (for example, for cost
center) ( GBB-VBR consumption account (debited)+ )
3) Customizing : BSX and GBB-VBR
Impact of financial module
Inventory account : credit BSX : 300010
Consumption account : debit GBB-VBR: 400000
Goods receipt without purchase order ( 501)
1. Stock posting (BSX) : This transaction is used for all postings
to stock accounts
2. GBB-ZOB : for goods receipts without purchase orders (mvt
type 501)
3) Customizing : BSX and GBB-ZOB
Impact of financial module
Debit BSX : 300010
Credit GBB-ZOB : 400020
Invoice receipt ( MIRO)
3) Customizing : KBS and WRX
Purchase order with account assignment (KBS)
You cannot assign this transaction/event key to an account. It means that
the account assignment is adopted from the purchase order and is used
for the purpose of determining the posting keys for the goods receipt.
Impact of financial module
When you are posting the invoice:
vendor account will be credited (-)
GR/IR clearing account will be debited (+)
Automatic posting :
Debit (+) and Credit (-)
Payment made to Vendor
Vendor A/c : (Debited + )
To Bank Clearing A/c : (Credited - )
Summary of select movement types and accounting entries
4) How to manage Message number no M8147 Account
determination
This issue mean : The system cannot update a
G/L account for this transaction. You cannot post the
transaction
IMPORTANT: you can get this issue in two transactions :
1. In MIGO : goods receipt
2. In MI07 : when you post inventory difference in physical
inventory
For these two transactions the solution is the same it’s very
easy to solve this issue because the system give you all
information so you need
Exemple
When we do goods receipt with po we get this error :
Account determination for entry INT WRX ____ ___ 3000 not possible”
Solution : Use OBYC t-code, Go to GR/IR clearing account (WRX)
Use chart of accounts with which your company code is
assigned and
After maintaining Valuation Class 3000 with Account -191100,
we are able to post Good Receipts.
5) Table (T030) to get the details of OBYC
Suppose that :
1. You want to known transaction keys based on G/L Account
2. You want to known the G/L Accounts based of Transaction
keys / valuation grouping code /Account modifier / chart
of accounts
You can used two t-codes:
SE11 : abap dictionary you can display the structure of the
tables (T030)
SE16N : here you see the content of table (T030)
SE11 : abap dictionary you can display the structure of the
tables (T030)
SE16N : here you see the content of table (T030)
SE16N : here you see the content of table (T030)
THANK YOU
THANK YOU