Ansicht
Dokumentation
FINS_CFIN_CO_POSTING_BULK - Posting of Management Accounting Documents
ABAP Short Reference SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
You can use this function module to replace source cost objects with central cost objects and post costs to the central cost object. Only costs to secondary cost elements can be posted using this function module. Primary cost postings are made using the financial accounting (FI) posting interface.
Parameter IT_COBK is the header structure of management accounting documents.
Parameter IT_COEP is the items table of management accounting documents.
Parameter IT_COEPR is the items table of management accounting documents for statistical key figures.
Parameter IT_COOI is obsolete.
Parameter IT_COEPL is the optional activity type line item table of management accounting documents.
Parameter IT_COPA is the profitability analysis (CO-PA) relevant data table of management accounting documents.
Parameter IT_CO_ADD is the additional data table for reposting and COKEY regeneration of management accounting documents. It can also be used to transfer Customizing fields or additional data. For more information, see SAP Note 2244121.
Parameter IV_REPLACE_FLAG determines if the source cost object is replaced by the central cost object and also determines if master data mapping using Master Data Governance (MDG) is taking place. If this parameter is set to active, then the system uses the method CL_FINS_CFIN_SCENARIO, GET_ASSIGNMENT_BY_LOBJID to replace the source cost object with the central cost object. The system also uses mapped master data to replace the source master data like Controlling Area, Company Code, and Cost Center. If this parameter is set to inactive, the source cost object and master data is not replaced.
Parameter IV_COMMIT determines if this function module runs the COMMIT WORK statement. If this parameter is set to active and there are no errors found, then the function module runs the COMMIT WORK statement. If this parameter is set to inactive, the function module does not run the COMMIT WORK statement.
Parameter ET_MESSAGE is the message table containing returning messages from the management accounting posting interface.
The function module resides in the component SAP_FIN, in the package FINS_CFIN_CO.
There are some other features and limitations in this function module. For more information, see SAP Note 2103482.
Example
Notes
Further information
Parameters
ET_MESSAGEIT_COBK
IT_COEP
IT_COEPL
IT_COEPR
IT_COEPT
IT_COEP_ADD
IT_COPA
IT_CO_ADD
IV_COMMIT
IV_LOCAL_LOGSYS
IV_REPLACE_FLAG
Exceptions
Function Group
FINS_CFIN_CO_EXTERNALrdisp/max_wprun_time - Maximum work process run time General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 3406 Date: 20240523 Time: 062205 sap01-206 ( 66 ms )