Ansicht
Dokumentation

FINS_CFIN_CO_CENTRAL_POSTING - Actual Posting of Secondary Element to Central Cost Object

FINS_CFIN_CO_CENTRAL_POSTING - Actual Posting of Secondary Element to Central Cost Object

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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 IS_COBK is the header structure of one management accounting document.

Parameter IT_COEP is the items table of one management accounting document.

Parameter IT_COEPR is the items table of one management accounting document for statistical key figures.

Parameter IT_COOI is the items table of one management accounting document for commitment.

Parameter IT_COEPL is the optional activity type line item table of one management accounting document.

Parameter IT_COPA is the Profitability Analysis (CO-PA) relevant data table of one management accounting document.

Parameter IT_CO_ADD is the additional data table for reposting and COKEY regeneration of one management accounting document. 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 via 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 are 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_MESSAGE
IS_COBK
IT_COEP
IT_COEPL
IT_COEPR
IT_COEPT
IT_COEP_ADD
IT_COOI
IT_COPA
IT_CO_ADD
IV_COMMIT
IV_LOCAL_LOGSYS
IV_REPLACE_FLAG

Exceptions

Function Group

FINS_CFIN_CO_EXTERNAL

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 3582 Date: 20240523 Time: 035823     sap01-206 ( 71 ms )