Ansicht
Dokumentation
FAGL_PLAN_COPY - Copy Planning Data
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Purpose
You can copy data to plans on the basis of existing actual or plan data (such as data from the previous fiscal year). You use this program to copy the relevant data from a ledger so that you can use that data as the basis for subsequent planning in the same ledger or in another ledger.
Integration
You can use this program with General Ledger Accounting (FI-GL) as well as for Special Purpose Ledger (FI-SL). You can use it in place of the program Copy Data to Plan (transactions FAGLGP52 (FI-GL), GP52, and GP62(FI-SL)). In contrast to the program Copy Data to Plan, the program Copy Planning Data allows you to update plan line items. It also offers you extended functions for selecting source and target data records.
Prerequisites
Features
The program copies data from a source ledger to a special purpose ledger or to a ledger in General Ledger Accounting. The system only considers source ledger fields that are also found in the target ledger.
Selection
You can specify the following base parameters for program execution:
- Templates
- Specify the ledger from which you want to copy plan data and specify the relevant period (fiscal year and posting periods). You use the record type to specify the type of data that you want to copy. You also specify the relevant actual or plan versions.
- If you want to restrict the data selection further, you can also enter one or more company codes. If you do not enter a company code, the program automatically considers all company codes in the source ledger.
- Copy To
- Specify the ledger to which you want to copy plan data and specify the relevant period (fiscal year). If you also specify a company code or a version, the program uses the source company codes or versions to summarize the source data and transfers the summarized data with the specified company code or version to the target ledger. If you do not specify values for either the company code or the version, the program copies the source data with the values of the source ledger.
- Values
- Specify whether the program cumulates the source data and the target data or replaces the target data completely.
- Note
- Independently of whether you cumulate or replace the data, the program always deletes the selected target data before copying the new data. Consequently, all target data for which you have not copied any corresponding source data is not available after the program has been run.
- Document Type
- Specify the document type with which you want to post the copied data.
- Processing Options
- Specify whether you want to run the program in a test run.
- Additional Selection Criteria
- You can specify additional selection criteria for both the selection of source data and the selection of target data. The additional selection criteria that are available depend on the type of source ledger. If the type of target ledger differs from the type of source ledger, the system selects the target data only using the selection criteria for fields defined in the target ledger.
- Note
- The program uses the selection criterion Business Transaction only for selecting data in the source ledger.
- Summarization
- Specify whether the source data and target data need to be summarized. Which fields can be used for the summarization depends on the type of source ledger. If the type of target ledger differs from the type of source ledger, the program only considers fields that are also found in the target ledger.
- You cannot perform summarization with the following fields:
- Client (RCLNT)
- Ledger (RLDNR)
- Record Type (RRCTY)
- Fiscal Year (RYEAR)
- Currency Key (RTCUR)
- Base Unit of Measure (RUNIT)
- Maximal Period (RPMAX)
- Account Number (RACCT)
- Debit/Credit Indicator (DRCRK)
- Controlling Area (KOKRS)
- Company Code (RBUKRS / BUKRS)
- Version (RVERS)
- Business Transaction (ACTIV)
- Reference Transaction (AWTYP)
- Revaluation Factors
- If you want to revaluate the currency amounts and quantity amounts of the source data before copying it, create revaluation factors.
- Example
- The currency amount is 500 and the revaluation factor for currencies (Currencies field) is 2. The plan currency amount in the new plan is 1000.
Standard Variants
The standard system does not contain any variants. However, you can create variants.
Note
Note that you have to create different variants for FI-GL and FI-SL.
Output
Once the data has been copied successfully, the program displays statistical data, such as how many data records were read, summarized, processed, or created. To display this data at a later point in time, you can use transaction FAGLLOG.
Activities
To call this program, use transaction FAGLGP52N (FI-GL) or transaction GP52N (FI-SL).
Example
PERFORM Short Reference BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 8649 Date: 20240531 Time: 040841 sap01-206 ( 116 ms )