SAP MM/FI automatic posting implements OBYC interface execution

Source: Internet
Author: User

a Automatic Posting principle

Many of the operations in the MM module can be automatically posted in the FI module, such as PO Receipt, invoice verification (LIV), work order materials, to the production floor, etc. Needless to say, it must be configured in IMG in order to automate processing. But what is the mechanism of this automatic configuration implemented by SAP? In fact, it's not complicated, let's first understand the implementation principle and implementation process in one of the simplest cases, then we can easily configure the various situations.

If we use an SAP system, it must be necessary to initialize the inventory. We all know that initializing inventory uses the move type (movement type) 561/562. Let's start with the 561/562 configuration method as an example to illustrate the configuration process.

One thing is everybody first to know, if the material has both quantity management, but also has the amount management, then the material movement will produce the accounting voucher, otherwise there is no accounting voucher to produce.

For the sake of understanding, first of all, the system to the MM module automatic posting configuration is stored in the T030 table, we use Tcode: se16n View int's automatic account configuration has the following results.

Chac:chart of account (table of accounts)
Trans.:transaction
Vgcd:valuation Group Code
Am:account modification
Val. Class:valuation Class (Evaluation Class)

The control mechanism for the above table is this:
Chart of account and valuation Group code are controlled from the scope, and Transaction + AM + Valuation class are controlled from the condition. The G/L account (G/L accounts) has two columns, one for debit, one for credit, and the other for the same or different borrowing side accounts.

In the case of the first act, in the INT table, if transaction is BSV (indicating an inventory account change), valuation class is 3000, the debit account is 400020, and the credit account is 400020.

There is a rule that the accounting vouchers generated by the stock change have a certain increase or decrease of the corresponding inventory . For example, PO receipts lead to an increase in inventory, while the delivery of materials leads to reduced inventories. The corresponding subjects are different, such as the PO receipt corresponding to the account is payable (in SAP is gr/ir), the corresponding account of the hair should be the production cost class account. According to this rule, the SAP system also divides inventory postings into inventory accounts (stock account) and consumption accounts (consumption account). Inventory increase and decrease in inventory account, Transaction key BSX code is used for inventory account configuration; Because each other's account is different, there is a transaction key. For example, GBB is used to configure reversal accounts, PRD to configure price variance accounts, and so on. Sometimes, a transaction key has to be subdivided into different situations, and the account modification will be used. For example, in the GBB (reversal account), in the reversal account, a BSA (an account modification) is used to represent the initialization accounts, and a VBR is used to represent the item consumption account. Transaction key and account modification are grouped together, called value string, corresponding to the movement type. The user selects the movement type when the MM module is posted, the system determines the value string according to the movement type, the value string determines the transaction key and the account modification, and the corresponding ledger accounts are found accordingly. Automatic posting is also achieved. This passage is the key to understanding automatic postings.

1) Back to the beginning, initialize the inventory movement type to 561/562, the corresponding value string is WA01,WA01 contains GBB (Transaction key) and BSA (Tcode: omwn)

2) GBB + BSA is configured for the account in int (with Tcode:obyc view)

And what does valuation class do? In the material master file, we want to set the item material type and valuation class. Material type is generally used for raw materials, semi-finished products, finished products and so on. But the accounting account is not necessarily set according to the material category, may be more detailed, such as raw materials-Class A, raw materials-class B. The valuation class is used to group items that have the same characteristics, corresponding to different ledger accounts, either by subdividing the material type or by implementing a combination of different material types. Here are three common scenarios.

1) One item category corresponds to a ledger account
2) different item categories correspond to the same account
3) One item category corresponds to multiple ledger accounts

two . Automatic posting Configuration method

The first step definition Valuation Level

Menu Path:

The valuation level can be based on plant or company code. SAP recommends using plant. Please refer to the Help document for more information.

Valuation level can being: valuation level is a plant or valuationare company code.

SAP recommend that valuation at plant level is used.

If you want to use Application component Production planning or Costing, you must use valuation at plant level.

The decision you made are valid for the whole client.

Once set, it is not possible to switch the valuation level from plant to company code, or vice versa.

G/L accounts in which material stocks is managed

¡if material stocks is valuated at the company code level, all plant stocks of a material is managed in a joint stock Accou NT for each company code.

¡if material stocks is valuated at plant level, the material stocks for each plant can is managed in different accounts. You can define a separate account determination for each plant.

If Several plants is to use account determination, you can group them together on customizing for valuation and Account A Ssignment in the sections account determination.

Step Two: Configure MM Account Determination, will use the following Menu Path

2.1 Define Valuation Control , this step is only active or inactive.

2.2 Group together valuation areas

Valuation area is always the same as the name of plant. If you define valuation level as plant, you can implement a combination of auto-configuration through the Valuation Area group. For example, for several different factories with the same configuration, such as valuation area 9999 and valuation area 9998 automatic configuration, they can use the same group:1000

2.3 Define Valuation Class
This step is divided into three small steps, as shown in:

2.3.1–define Account Category Reference
2.3.2–define Valuation Class
2.3.3–mapping material type with account category reference

2.3.1 Define Account Category reference General settings correspond to the item type. Such as:

ZM01 as a reference for raw materials. ZM02 as a reference for semi-finished products. Wait a minute.

The same evaluation class 2.3.2 Define valuation class has the same account determination.

The above is taking the watch industry as an example. Set 8001 to Case (shell), the Account category reference is ZM01, and so on.

2.3.3 Mapping material type with account category reference

Take ROH (raw material) as an example, the corresponding account category reference is ZM01. What's the point of this step is to limit the ROH class that is available for the valuation material type. The MM03 can be used as shown in the test: for ZM01, the available valuation class is 8001 to 8005. is validation in the system (item category for item Test_case is ROH)

Section 4 Step -Configure Account Determination (TCODE:OMWB/OBYC)

4.1 Enter the interface shown and find the BSX

4.2 Double-click the Bsx line, enter the Account table (Chart of Accounts), enter the interface shown, set up accounting rules

0debit/credit– whether the borrower uses different subjects. For BSX, it is not allowed, that is, the borrowing side account must be the same.
0Valuation modification– whether to refer to Valuation grouping code.
Valuation class– is different from the valuation class with different subjects.
This interface is set up (rules), and the system automatically enters this interface the first time it is set. Account settings are not available until the rules are stored.

4.3 Save the rules and press the "Accounts" button to set the respective valuation class. After setting, press save.

4.4 Set up accounting rules and ledger accounts for transaction gbb in the same way

Rules:

Accounts:

By completing the above steps, the inventory initialization can be achieved. Can be simulation in the system.

three . Configure other Transaction of the Account Determination Example

The above is the standard setup process, for a variety of different transactions, mainly aware of the use of transaction and Accounts modification is what. The following gives some transaction key

1) Configure PO Receipt (Movement type:101/102): WRX
2) Configure the account determination for item cost center issues (Movement type 201/202): GBB + VBR
3) To configure the account for the surplus of the stock disk (movement type:701/702): GBB + INV
4) Configure account determination for item scrap (Movement type:551): GBB + VNG
5) Configure the revaluation of the account determination: UMB
When an item is received with MR21 re-pricing or price control for S, the account for the price variance is determined.

SAP MM/FI automatic posting implements OBYC interface execution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.