Ansicht
Dokumentation

COPA0007 - Enhancement for external data transfer (CO-PA)

COPA0007 - Enhancement for external data transfer (CO-PA)

ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This enhancement lets you modify the transfer of external actual data to Profitability Analysis. The components comprise the following function modules:

  • EXIT_SAPLKEA4_001
  • EXIT_SAPLKEA4_002

Function module EXIT_SAPLKEA4_001 is called whenever a line item is created from the external file. It is executed following the transfer of the characteristics and values from the external structure, but before derivation of characteristic values and valuation take place. This makes it possible for you to define values for certain fields without having to transfer those fields from the external file.

The line item transferred (I_ITEM) can be changed and then returned using the export parameter (E_ITEM).

You should make this enhancement operating-concern-specific using the parameter I_ERKRS!

Function module EXIT_SAPLKEA4_002 is processed after the external data records are transferred and the line item is created (after derivation and valuation, but before number assignment and posting). The line items created (Table parameter T_ITEM) are available as the transfer structure.

You should make this enhancement operating-concern-specific using parameter I_ERKRS!

It is necessary to check the operating concern (CASE I_ERKRS ...) because the user exit is active in all operating concerns as soon as you include the enhancement COPA0007 in a project and activate it.

In addition, a distinction should be made between different assignment group (I_GROUP) and plan/actual indicators (0 = actual, 1 = plan).






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

Length: 1696 Date: 20240419 Time: 194458     sap01-206 ( 44 ms )