Ansicht
Dokumentation
FAGL_REORG_REPOST - Transferral of Balances of a Reorganization Package
Fill RESBD Structure from EBP Component Structure SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Purpose
You can use this program to perform transfer postings for a package of a reorganization plan. The program performs the transfer from the source account assignment to the target account assignment for all objects in the package.
Integration
Prerequisites
You have used program FAGL_REORG_SNAPSHOT to create a snapshot for all objects of the package. The snapshot determines the balances of the objects to be transferred. Furthermore, all changes to balances are updated from this point in time. The transfer postings are made on the basis of the snapshots and updates.
The transfer posting cannot be performed until you have used program FAGL_REORG_REASSIGN
to change the account assignment in the master record for the objects in the package. This prevents balances still being posted with the old account assignment after the transfer posting has been made. Such changes to balances would no longer be updated.
The reorganization period must be open because the transfer posting is made on the reorganization date.
You have specified a document type for the transfer posting in Customizing with transaction Transfer Posting Document Type (FAGL_REORG_CUST3).
Features
Selection
You have to specify the reorganization package and the reorganization plan for which the transfer postings need to be made.
If you only want to transfer objects belonging to specific company codes, you can restrict the company codes.
The program can be performed in a test run or an update run. Update runs should be performed in the background because they can have very long runtimes. By performing update runs in the background, you ensure that the process is not terminated due to a time out.
Standard Variants
Output
The log displays the following:
- All messages issued during processing
- The number of documents created
The program makes postings using the following principle: If an error occurs when creating the documents, no document is posted. Otherwise all necessary documents are posted.
Separate documents are posted for each company code and ledger. Furthermore, balances that were posted before the reorganization date as well as changes that were posted after the reorganization date are transferred in different documents.
Activities
Example
You have specified a reorganization date in the reorganization plan to which the reorganization package belongs. In your reorganization package, you have entered materials that need to be assigned to a different profit center:
Material | Plant | Old Profit Center | New Profit Center |
---|---|---|---|
MAT01 | 0001 | PC01 | PC02 |
MAT02 | 0001 | PC01 | PC02 |
MAT03 | 0001 | PC05 | PC06 |
Before opening the period to which the reorganization date belongs, you have created a snapshot using program FAGL_REORG_SNAPSHOT. This program enters the material balances for the materials entered.
Plant 0001 is assigned to company code 0001. Ledgers 0L, L1, and L2 are assigned to company code 0001. 0L and L1 contain values in local currency (LC) and group currency (GC) whereas L2 only contains values in local currency.
Material | Company Code | Ledger | LC Bal. | GC Bal. | Account | Profit Center |
---|---|---|---|---|---|---|
MAT01 | 0001 | 0L | 30 | 60 | 792000 | PC01 |
MAT02 | 0001 | 0L | 5000 | 10000 | 792000 | PC01 |
MAT03 | 0001 | 0L | 2000 | 4000 | 792000 | PC05 |
MAT01 | 0001 | L1 | 30 | 60 | 792000 | PC01 |
MAT02 | 0001 | L1 | 5000 | 10000 | 792000 | PC01 |
MAT03 | 0001 | L1 | 2000 | 4000 | 792000 | PC05 |
MAT01 | 0001 | L2 | 30 | 792000 | PC01 | |
MAT02 | 0001 | L2 | 5000 | 792000 | PC01 | |
MAT03 | 0001 | L2 | 2000 | 792000 | PC05 |
From this point in time, all other changes to balances were updated to the materials:
- Goods receipt before the reorganization date with value 20 updated to MAT01/0001
- Goods receipt before the reorganization date with value 100 updated to MAT02/0001
- Goods receipt after the reorganization date with value 200 updated to MAT02/0001
- Goods issue after the reorganization date with value 100 updated to MAT03/0001
After the period preceding the reorganization date was closed, the assignment of the material to the profit center was changed using program FAGL_REORG_REASSIGN in the master record for that material.
You now want to use this program to transfer the material balances for the materials entered in the package from the old profit center to the new profit center. This requires posting separate documents for the balance before the reorganization date as well as for the changes to the balance after the reorganization date.
The following documents are posted:
1) Document for company code 0001 and ledger 0L, postings before the reorganization date:
Account | LC Value | GC Value | Profit Center |
---|---|---|---|
792000 | 5150- | 10300- | PC01 |
792000 | 5150 | 10300 | PC02 |
792000 | 2000- | 4000- | PC05 |
792000 | 2000 | 4000 | PC06 |
2) Document for company code 0001 and ledger L1, postings before the reorganization date:
Account | LC Value | GC Value | Profit Center |
---|---|---|---|
792000 | 5150- | 10300- | PC01 |
792000 | 5150 | 10300 | PC02 |
792000 | 2000- | 4000- | PC05 |
792000 | 2000 | 4000 | PC06 |
3) Document for company code 0001 and ledger L2, postings before the reorganization date:
Account | LC Value | GC Value | Profit Center |
---|---|---|---|
792000 | 5150- | PC01 | |
792000 | 5150 | PC02 | |
792000 | 2000- | PC05 | |
792000 | 2000 | PC06 |
4) Document for company code 0001 and ledger 0L, postings after the reorganization date:
Account | LC Value | GC Value | Profit Center |
---|---|---|---|
792000 | 200- | 400- | PC01 |
792000 | 200 | 400 | PC02 |
792000 | 100- | 200- | PC05 |
792000 | 100 | 200 | PC06 |
5) Document for company code 0001 and ledger L1, postings after the reorganization date:
Account | LC Value | GC Value | Profit Center |
---|---|---|---|
792000 | 200- | 400- | PC01 |
792000 | 200 | 400 | PC02 |
792000 | 100- | 200- | PC05 |
792000 | 100 | 200 | PC06 |
6) Document for company code 0001 and ledger L2, postings after the reorganization date:
Account | LC Value | GC Value | Profit Center |
---|---|---|---|
792000 | 200- | PC01 | |
792000 | 200 | PC02 | |
792000 | 100- | PC05 | |
792000 | 100 | PC06 |
BAL_S_LOG - Application Log: Log header data Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 14392 Date: 20240531 Time: 041442 sap01-206 ( 109 ms )