Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>COPAActuals



Index

COPAActuals

COPAActuals


No description is available


11-Dec-2005


Methods

Available Methods


  • PostCostingBasedData : Post Actual Data for Costing-Based Profitability Analysis [ BAPI_COPAACTUALS_POSTCOSTDATA ]

11-Dec-2005


PostCostingBasedData

PostCostingBasedData


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.


11-Dec-2005