Replicate Financial Reporting Structure
To replicate Financial Reporting Structure master data into a connected Financial Accounting system.
Entity Type |
Service Operation |
Software Component Version |
SAP APPL 6.06 |
released |
|
FinancialReportingStructureReplicationRequest_In |
|
http://sap.com/xi/APPL/Global2 |
|
FI-GL-GL |
|
Web Service Definition (Back End) |
FINANCIALREPORTINGSTRUCTURERE1 |
SAP A2A |
|
inbound |
|
asynchronous |
|
not applicable |
|
yes |
The
Replicate Financial Reporting Structure
service operation is used for asynchronous replication of Financial Reporting Structure master data into a connected Financial Accounting system.
The results of the operation are returned via the
Confirm Financial Reporting Structure Replication
operation.
The
Replicate Financial Reporting Structure
service operation provides asynchronous replication of Financial Reporting Structure master data (‘FRS’, Financial Statement Versions). The operation uses the Service Mapping Tool (SMT) to map the inbound message data to the corresponding internal data structures.
Message data type in ESR: FinancialReportingStructureReplicationRequest
Corresponding ABAP data type: FBS_FINRPTGSTRC_RPLCTNRQ
Relevant SMT standard mappings (for each chart of accounts with one consolidation area): CL_FBS_FINRPTGSTRUCRPLCTNRQ
Fields not transferred in the message are completed from the data stored in backend database tables.
SAPPLCO_FRS_RPLCTN_STRUC - header data of FRS statement version (SPROXY/SE11). Note that the value of the CategoryCode attribute must be set to "1" (= General Leder).
Additional Structures (SPROXY/DDIC)
SAPPLCO_FRS_RPLCTN_STRUC_NAME - description record for an FRS
SAPPLCO_FRS_RPLCTN_ITEM - item of an FRS (‘FRS-Itemt’)
SAPPLCO_FIN_RPTG_STRUC_RPLCTN - hierarchy data locating an item within a structure (‘Edge’)
SAPPLCO_FIN_RPTG_STRUC_RPLCTN1 - description record of an item
SAPPLCO_FIN_RPTG_STRUC_RPLCTN2 - assignment to an (Interval) of G/L-accounts
SAPPLCO_FRS_RPLCTN_ITEM_FAREA - assignment to an (Interval) of functional areas
FBS_S_SMT_FRS_MAPPING_CNTRL - control structure used by the inbound implementation to specify whether a source structure was provided with data. The flag is specific for each substep. Mapping for a substep is only executed when the corresponding flag is not initial.
FBS_SX_FRS_MAPPING_TARGET with substructures
Referencing the data types of the relevant FI-GL entities:
T011, T011T, FAGL_011PC, FAGL_011SC, FAGL_011VC, FAGL_011ZC. FAGL_011QT, FAGL_011FC
Storing the DB action indicators and the complete transmission indicators:
FBS_S_SMT_FRS_ACTION_FLAGS
Change structure, containing control information of which field of the message was supplied with data (based on this information the completion of data is done by the API):
FBS_SX_FRS_MAPPING_TARGET_CHNG
FBS_SX_FRS_MAPPING_TARGET with substructures
Referencing the data types of the relevant FI-GL entities:
T011, T011T, FAGL_011PC, FAGL_011SC, FAGL_011VC, FAGL_011ZC. FAGL_011QT, FAGL_011FC
Storing the DB action indicators and the complete transmission indicators:
FBS_S_SMT_FRS_ACTION_FLAGS
Change structure, containing control information of which field of the message was supplied with data (based on this information the completion of data is done by the API):
FBS_SX_FRS_MAPPING_TARGET_CHNG
The mapping process is carried out in SMT and consists of several ordered substeps:
Map FRS-Header data to T011
Map FRS Header Texts to T004T
Map Item Data to FAGL_011PC, FAGL_011VC
Transform Item-texts into FAGL_011QT-Format
Take over assignment to G/L accounts (FAGL_011ZC)
Take over assignments to functional areas (FAGL_011FC)
Take over hierarchy information
The mapping process is carried out in SMT and consists of several ordered substeps:
Map FRS-Header data to T011
Map FRS Header Texts to T004T
Map Item Data to FAGL_011PC, FAGL_011VC
Transform Item-texts into FAGL_011QT-Format
Take over assignment to G/L accounts (FAGL_011ZC)
Take over assignments to functional areas (FAGL_011FC)
Take over hierarchy information
This asychronous operation implements forward error handling via the Post Processing Office (PPO) as follows:
If an error occurs during inbound processing, the error is registered to be processed by the PPO.
In the PPO, messages can be found according to
Component: CA-SOA-ESM-ERP-FIN
Object type: FRSRPLCTN1
Business process: FRSRPL001
The object key for errors stemming from the replication of FRS data is a concatenated string of the form:<chart of accounts ID>/<distribution date in format YYYYMMDD>/<distribution time in format HHMMSS>
The following fixed categories are supported:
<SPACE> Default
PRE.TEE Automatic resolution strategy: Applies to
Concurrent access errors
PRE.CVE Manual resolution strategy applies, for example, to
Errors from API (violations of consistency checks)
Errors from SMT
Financial Reporting Structure Replication Request
All FI-GL data referenced by the FSR have to exist in the target system. This applies in particular to
Functional areas
The Chart of Accounts (COA) referenced by the FRS (as well as the accounts belonging to the COA), which have to be replicated before this service operation is called. This task can be completed e.g. by calling the
service operation.
Request Chart of Accounts Replication
Currently this service operation only supports transmission of the complete FRS hierarchy. When any changes are made to selected FRS items, the calling application has to ensure that the complete FRS hierarchy is transmitted every time.
Due to the number of checks performed in the backend system, the replication process is time consuming. Processing time is directly dependent on the number of accounts transferred.
You have implemented the FI-GL application component and maintained the necessary customizing:
Account data for the Financial Reporting Structures to be distributed
All other required customzing for FI-GL master data
If the client settings specify ‘Automatic recording of changes’, then the Transport Register (transaction TRN_REG_REQUESTS) has to be configured beforehand so that it can supply a task for the group FINMDM_DATA_REPLICATION_GRP of the application component FINMDM_DATA_REPLICATION.
The Business Add-In (BAdI) FBS_SE_FRSRPLCTNRQ_ASYN is available for this operation. The BAdI interface method IF_EX_FRSRPLCTNRQ~INBOUND_PROCESSING is called by the inbound implementation after the standard mapping is performed and can be used to modify or enhance the data as required.