1.2.11

SAP Note 21339 - Direct posting of the alternative account number

Symptom:

How can the alternative account number be used for direct posting?

Cause and prerequisites

The group account number is already used.

Solution
Settings in FI:
    1. Create an additional chart of accounts, the country chart of accounts.
    2. Set up the G/L accounts on the chart of accounts level.
    3. The G/L accounts are assigned to the accounts of the country chart of accounts with the alternative account number on the company code level.
    4. Assign the country chart of accounts to the company code.
Settings in FI-GLX and FI-SL:
    1. Create a field movement that contains these fields: Account Number, Trading Partner and Transaction Type. The sender field for the account number is BSEG-LOKKT.
    2. Use this field movement when you assign the activities of your ledger.
Note:
If documents are to be posted without the country account number, use the following Userexit, which sets this account number subsequently during direct posting.

Field modif.... 0003 Transfers from FI to FI-LC Ledger
Receiver....... GLT2 Ledger class... A
Sender......... BKPF BSEG

Receiver Name Sender Sender fld Name Exit

RACCT Account number BSEG LOKKT Group account Unn


REPORT RGIVUxxx.
TABLES: BSEG, SKB1

FORM E01_MVC USING FROM_FIELD TO_FIELD.
TO_FIELD = FROM_FIELD.
IF FROM_FIELD EQ SPACE.
SELECT SINGLE * FROM SKB1 WHERE BUKRS EQ BSEG-BUKRS
AND SAKNR EQ FROM_FIELD.
IF SY-SUBRC EQ 0.
TO_FIELD = SKB1-ALTKT.
ENDIF.
ENDIF.
ENDFORM.

Note: In the first statement, REPORT RGIVUxxx, xxx = client.

No comments:

Post a Comment