Vous êtes sur la page 1sur 22

Pavith Goonathilake

MM – FI Integration

Documented by Pavith Goonathilake

Page 1 of 22
Pavith Goonathilake

Contents
Chart of Accounts.......................................................................................................................................... 3
Valuation Areas ............................................................................................................................................. 4
Valuation Grouping Code .............................................................................................................................. 5
Valuation Class .............................................................................................................................................. 6
Define Account Grouping for Movement Types ........................................................................................... 9
Configuration of Automatic Postings .......................................................................................................... 10
Movement Type settings ............................................................................................................................ 12
Examples ..................................................................................................................................................... 15
Performing 561 movement. ................................................................................................................ 15
Performing 561 movement with a new movement type ................................................................... 19

Page 2 of 22
Pavith Goonathilake

Chart of Accounts

T-Code: OB13

Chart of Accounts (COA) 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.

Page 3 of 22
Pavith Goonathilake

Valuation Areas

T-Code: OX14

Valuation level must be defined in SAP customizing. It is possible to have valuation level at company
code or plant level. Depending on valuation level, either company codes or plants will be used as
valuation areas.

Page 4 of 22
Pavith Goonathilake

Valuation Grouping Code

T-Code: OMWD

If Company code has multiple Plants, if all the plants need to have the same account determination,
then we group the valuation areas and give a grouping code.

Page 5 of 22
Pavith Goonathilake

Valuation Class

Valuation classes links the G/L account with the material. In Material Master we must provide the
valuation class.

For each material there can be one or more G/L accounts that need to reflect the financial entries, eg.
Receipt, Sales, Transfer posting, Scrap & etc. These G/L accounts will be linked through valuation classes.
For every goods movement activity or purchasing related financial activity the linked G/L accounts will
be determined through movement types or through account assignment category.

T-Code: OMSK

First Need to create the Account Category Reference.

This is to Group the valuation classes. Eg. If the company has many valuation classes for Raw Materials,
then need to group the Raw Material valuation classes together.

Page 6 of 22
Pavith Goonathilake

Then Need to define valuation classes with Account Category Reference.

Then Material type assignment to Account category reference, this step is done to assign the created
valuation classes to the material type. Hence, we are having multiple valuation classes per material type,
by having Account category reference we can assign the valuation classes with it. Through Account
category reference we link the material type and the created valuation classes.

Page 7 of 22
Pavith Goonathilake

At the creation of material type; you can only see the linked valuation classes.

If above setting was not setup, all the valuation classes will be listed when creating the material. This will
lead to pick wrong valuation class, which might affect when posting for G/L Accounts.

Page 8 of 22
Pavith Goonathilake

Define Account Grouping for Movement Types

T-Code: OMWN

No changes required in this transaction as all are standard. Changes only required if there is a new
movement type defined.

Transaction-account modifier and valuation class drive the accounting entries

Transaction key: determines general ledger accounts for posting

Account modifier: differentiates account determination based on procedure

OBYC MM-FI Account determination setup is stored in underlying table T030

OMJJ Movement Type setup is stored in underlying table T156X

Page 9 of 22
Pavith Goonathilake

Configuration of Automatic Postings

T-Code: OBYC

This is the most important transaction for automatic account determination. Assignment done for G/L
accounts to the valuation classes occurs in this transaction.

For MM, commonly used Transactions are BSX, WRX and GBB.

BSX – Inventory posting

WRX - GR/IR clearing account

GBB - Offsetting entry for inventory posting

BSX settings; for any inventory posting, we assign the required G/L account which needs to be hit.

Page 10 of 22
Pavith Goonathilake

For GBB settings;

Valuation Modifier is valuation grouping code. For MM the used account modifier or the general
modifier is VBR.

Modifiers for GBB

• AUF: for goods receipts for production orders with account assignment
• BSA: for initial entries of stock balances
• INV: for expense/revenue from inventory differences
• VAX: for goods issues for sales orders without account assignment object
• VAY: for goods issues for sales orders with account assignment object
• VBO: for consumption from stock of material provided to vendor
• VBR: for internal goods issues (e.g., for cost center)
• VKA: for consumption for sales order without SD
• VNG: for scrapping/destruction
• VQP: for sampling

For WRX settings; we assign the GR/IR G/L account.

Page 11 of 22
Pavith Goonathilake

Movement Type settings

T-Code: OMJJ

Main Settings;

Short Text:

Can maintain the text shown for the Movement type with the language;

Page 12 of 22
Pavith Goonathilake

Allowed Transactions;

List down the T-Codes which this movement type can be used;

Field Selection;

List down the optional and required fields.

Account Grouping;

Same as OMWN,

Page 13 of 22
Pavith Goonathilake

Reversal movements for the selected movement;

Page 14 of 22
Pavith Goonathilake

Examples

Performing 561 movement.


561 - Receipt per initial entry of stock balances into unrestricted stock

Material Document

Accounting Document

Two G/L accounts were

131000 – Invt - Raw Material

399110 - Invt - Initial (Raw)

Hence this movement doesn’t involve Vendor we do not need GR/IR account. But the Inventory account
should be picked as we perform a movement for the stock. So, the Inventory Posting (BSX) transaction
key should be picked. And for the double entry the Offsetting entry for inventory posting (GBB)
transaction key should be picked.

Page 15 of 22
Pavith Goonathilake

Picking the G/L account for the BSX;

To post for the BSX transaction, we need the valuation class of the Material.

Then the matching G/L account will be picked for the valuation class from OBYC.

Page 16 of 22
Pavith Goonathilake

Picking the G/L account for the GBB;

For GBB we need, Valuation Grouping Code (Account Grouping Code), General/Account Modifier and
Valuation Class.

Valuation Grouping Code is assigned through OMWD

General/Account Modifier picked from the Movement Type configurations, OMWN.

In OMWN lists down all the transaction keys and the respective account modifiers for the movement.

Valuation class is from Material.

Page 17 of 22
Pavith Goonathilake

In OBYC for GBB.

Page 18 of 22
Pavith Goonathilake

Performing 561 movement with a new movement type

Go to OMJJ

Select 561 and Copy.

Page 19 of 22
Pavith Goonathilake

Provide the new Movement type code.

Select Copy all the copy the movement settings

Then Movement type will be copied to the new.

Then to change the other generic settings, select the movement type and navigate to other folders.

Page 20 of 22
Pavith Goonathilake

Then to determine a new G/L account, we have to change the Account grouping setting. Provide a new
Account Modifier to the GBB Transaction.

Page 21 of 22
Pavith Goonathilake

Create a new G/L Account in FS00.

Then Go to OBYC, and open the Transaction Key GBB with New Account Modifier (general Modifier);

Then perform a 561 movement in MIGO and view the FI Documents, new G/L should be picked.

Page 22 of 22