Retract Transaction Data Using a BAdI 
You can define a package to retract transaction data using a business add-in (BADI) using the process chain /CPMB/Export_TD_TO_BADI.
For transaction data, the BAdI is called for each package during the transaction data load.
Define a BAdI (see Retraction BAdI Definition).
Create a Data Manager package by using the corresponding process chains (see Package Usage).
Run the Data Manager package as follows:
Log on to the Planning and Consolidation Office module.
On the action pane, choose .
Choose the package created in step 1 and choose Run.
Choose the source application.
Choose a transformation file.
Enter the BAdI implementation name defined in step 1.
Select the method to insert the data:
Merge — Joins the data values
Replace — Clears existing data values and replaces them
To run the default logic after import, choose Yes, then choose Next.
To check the work status when importing the data, choose Yes.
Choose one of the following options:
Run now
Schedule
Run now & schedule
Choose Finish.
You can change the default package instructions (see Modifying the Dynamic Script of a Package).
Dynamic script task parameters
Process Chain: /CPMB/EXPORT_TD_TO_BADI
Task |
Parameter |
Default Value |
Description |
|---|---|---|---|
/CPMB/APPL_TD_SOURCE |
DIMENSIONVALUE |
Dimension Values |
|
/CPMB/APPL_TD_SOURCE |
MEASURES |
Measures |
|
/CPMB/APPL_TD_SOURCE |
SELECTION |
Selection |
|
/CPMB/APPL_TD_SOURCE |
SPACKAGE_SIZE |
10000 |
Package size |
/CPMB/BADI_TARGET |
BADINAME |
BAdI implementation name |
|
/CPMB/EXPORT_TD_CONVERT |
SPACKAGE_SIZE |
40.000 |
Package size |
/CPMB/EXPORT_TD_CONVERT |
TRANSFORMATIONFILEPATH |
Transformation file |