Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi BAPI_COPAACTUALS_POSTCOSTDATA

Former Member
0 Likes
1,122

Hi everybody,

Somebody can explain to me how it works the bapi BAPI_COPAACTUALS_POSTCOSTDATA???

Thanks,

Mauricio N.

2 REPLIES 2
Read only

Former Member
0 Likes
541

Hi,

Functionality

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 creates either one or two CO-PA line items, depending on whether or not the company code currency is active alongside the operating concern currency. 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 DB COMMIT is performed within the method, but not COMMIT WORK, At this point, 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.

Regards

Sudheer

Read only

Former Member
0 Likes
541

Have a look at these threads-

[|][http://sapgenie.com/phpBB2/viewtopic.php?t=5747&sid=b4a6bdeecaba7b6b46dcde95f89e9ab3|http://sapgenie.com/phpBB2/viewtopic.php?t=5747&sid=b4a6bdeecaba7b6b46dcde95f89e9ab3]