Show TOC

Procedure documentationClearing Application Data Locate this document in the navigation structure

 

The Data Manager allows you to define a package to clear the data within a range or scope using the process chain /CPMB/CLEAR.

Procedure

  1. Create a package using the corresponding process chains for clearing data (see Package Usage).

  2. Run the package.

    1. Log onto the Planning and Consolidation Office client.

    2. Choose   Manage Data   Run a package  .

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

    4. To clear the comments for the associated data region, choose Yes.

    5. To check the work status when clearing the data, choose Yes.

    6. Select a data region.

    7. Choose one of the following options:

      • Run now

      • Schedule

      • Run now & schedule

    8. Choose Finish.

Note Note

You can change the default package instructions (see Modifying the Dynamic Script of a Package).

End of the note.

Dynamic script task parameters

Task

Parameter

Default Value

Description

/CPMB/CLEAR_CUBE

CHECKLCK

0

Check work status

1 = YES

0 = NO

/CPMB/CLEAR_CUBE

RUNLOGIC

0

Run logic after process

0 = NO

1 = YES

/CPMB/CLEAR_CUBE

SELECTION

INTERNAL data selection

/CPMB/CLEAR_CUBE

SPACKAGE_SIZE

40.000

Package size

/CPMB/CLEAR_COMMENTS_FOR_CLEAR

CHECKLCK

0

Check works status

1 = YES

0 = NO

/CPMB/CLEAR_COMMENTS_FOR_CLEAR

ENABLETASK

1

Clear comments

1 = YES

0 = NO

/CPMB/CLEAR_COMMENTS_FOR_CLEAR

SELECTION

Selection

Example Example

PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR","%DIMS%")

PROMPT(RADIOBUTTON,%ENABLETASK%,"Do you want to clear comments associated with the data region?",1,{"Yes","No"},{"1","0"})

PROMPT(RADIOBUTTON,%CHECKLCK%,"Do you want to check Work Status when clearing?",1,{"Yes, delete comments with work status settings","No, do no delete comments with work status settings"},{"1","0"})

TASK(/CPMB/CLEAR_CUBE,CHECKLCK,%CHECKLCK%)

TASK(/CPMB/CLEAR_CUBE,SELECTION,%SELECTION%)

TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,SELECTION,%SELECTION%)

TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,ENABLETASK,%ENABLETASK%)

TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,CHECKLCK,%CHECKLCK%)

TASK(/CPMB/BPC_HIER_DATA_TARGET,FORMULA_FILE_NO,%TEMPNO2%)

End of the example.

Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or by its gross negligence.