With this method, you can post actual data to the SAP system's costing based Profitability Analysis (CO-PA).
This methods allows you to post a quantity of data records to CO-PA.However, it cannot be used to transfer mass data. You should do this using external data transfer.
The data you want to post is transferred in parameter InputData.To assure the consistency of the transferred data, the parameter FieldList must also be filled with the number of field names which are transferred in InputData.
For each record transferred to InputData, the system createseither one or two CO-PA line items, depending on whether or not the company code currency is active alongside the operating concerncurrency. The currency translation is carried out as for external data transfer. With currency fields, the field Currency
must always be filled in the corresponding record of InputData.
For posting, this method uses the same functions as those used for external data transfer.
The system performs the CO-PA functions Characteristic derivation and valuation.
If data is actually updated (parameter TestRun = ' '), a DBCOMMIT is performed within the method, but not COMMIT WORK, At thispoint, the system creates the CO-PA profitability segment numbers -that is, it creates records in the table CE4xxxx (xxxx = operating
concern). The method BapiService TransactionCommit is used to perform the Commit.