Show TOC

Procedure documentationRun Allocations Locate this document in the navigation structure

 

You can define a Data Manager package to executes the allocation process based on the allocation logic file allocation.lgf using the /CPMB/ALLOCATION process chain.

Prerequisites

The application must be a Consolidation application.

Procedure

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

  2. Run the Data Manager package as follows:

    1. Log onto 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 one of the following options:

      • Run now

      • Schedule

      • Run now & schedule

    5. Choose Finish.

The default package instructions use the DEFAULT.LGF file by default, which you can change (see Modifying the Dynamic Script of a Package).

Dynamic script task parameters

Task

Parameter

Default Value

Description

/CPMB/ALLOCATION_LOGIC

LOGICFILENAME

The file name of the logic file

/CPMB/ALLOCATION_LOGIC

MEMBERSELECTION

Dimension selection

/CPMB/ALLOCATION_LOGIC

REPLACEPARAM

Replace parameter

/CPMB/ALLOCATION_LOGIC

SELECTION

Selection/scope

Example Example

PROMPT(SELECTINPUT,%SOURCEENTITY%,,"Enter Source Entity","%ENTITY_DIM%,,")

PROMPT(SELECTINPUT,%TARGETENTITY%,,"Enter Target Entity","%ENTITY_DIM%,,")

PROMPT(SELECTINPUT,%TIME%,,"Time","%TIME_DIM%,,")

TASK(/CPMB/ALLOCATION_LOGIC,SUSER,%USER%)

TASK(/CPMB/ALLOCATION_LOGIC,SAPPSET,%APPSET%)

TASK(/CPMB/ALLOCATION_LOGIC,SAPP,%APP%)

INFO(%EQU%,=)

INFO(%TAB%,;)

TASK(/CPMB/ALLOCATION_LOGIC,TAB,%TAB%)

TASK(/CPMB/ALLOCATION_LOGIC,EQU,%EQU%)

TASK(/CPMB/ALLOCATION_LOGIC,REPLACEPARAM,TIME%EQU%%TIME%%TAB%SOURCE%EQU%%SOURCEENTITY%%TAB%TARGET%EQU%%TARGETENTITY%)

TASK(/CPMB/ALLOCATION_LOGIC,MEMBERSELECTION,TIME%EQU%%TIME%%TAB%SOURCE%EQU%%SOURCEENTITY%%TAB%TARGET%EQU%%TARGETENTITY%)

TASK(/CPMB/ALLOCATION_LOGIC,LOGICFILENAME,ALLOCATION.LGF)

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.