Function documentationRetract Transaction Data Using a BAdI Locate this document in the navigation structure

 

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.

Activities

  1. Define a BAdI (see Retraction BAdI Definition).

  2. Create a Data Manager package by using the corresponding process chains (see Package Usage).

  3. Run the Data Manager package as follows:

    1. Log on to the Planning and Consolidation Office module.

    2. On the action pane, choose   Manage data   Run a package  .

    3. Choose the package created in step 1 and choose Run.

    4. Choose the source application.

    5. Choose a transformation file.

    6. Enter the BAdI implementation name defined in step 1.

    7. Select the method to insert the data:

      • Merge — Joins the data values

      • Replace — Clears existing data values and replaces them

    8. To run the default logic after import, choose Yes, then choose Next.

    9. To check the work status when importing the data, choose Yes.

    10. Choose one of the following options:

      • Run now

      • Schedule

      • Run now & schedule

    11. 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