Show TOC

Function documentationCalculate Ownership Locate this document in the navigation structure

 

You can define a Data Manager package to calculate ownership, including ownership percentage, accounting method, holding method, and parent information, using the process chain /CPMB/OWNERSHIPCALC and the functionality of dimension logic .

Activities

  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. Select the dimension values.

    5. Select the options to run.

    6. Define the input account for calculation.

    7. Select whether to copy the calculation result as a replacement for the manual input account.

    8. Choose a consolidation method.

    9. Define the input account for proposal.

    10. Choose one of the following options:

      • Run now

      • Schedule

      • Run now & schedule

    11. Choose Finish.

Make sure that the application is of type Consolidation.

The default package instructions can be changed (see Modifying the Dynamic Script of a Package).

Dynamic parameters

Task

Parameter

Default Value

Description

/CPMB/OWNERSHIP_CALC

CALCACCOUNT

Input account for calculation

/CPMB/OWNERSHIP_CALC

DELIMITER

;

Delimiter

/CPMB/OWNERSHIP_CALC

OPTIONS

Options

/CPMB/OWNERSHIP_CALC

SELECTION

Scope/range

/CPMB/OWNERSHIP_CALC

PROPACCOUNT

Input account for proposal

Example Example

PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%,%GROUP_DIM%")

PROMPT(RADIOBUTTON,%CALCOPTION%,"Select Options to Run:",1,{"Calculate Ultimate % of Ownership by Group Share method","Calculate Ultimate % of Ownership by Direct Share method","Propose Method or % of consolidation only"},{"1","2","3"})

PROMPT(TEXT,%CALCACCOUNT%,"Define input account for calculation(POWN or PCTRL):",)

PROMPT(RADIOBUTTON,%COPYMANUALACCOUNT%,"Select whether copy the calculation result to replace the manual input account",1,{"Yes","No"},{"1","0"})

PROMPT(CHECKBOXGROUP,%PROPOPTION%,"Select Options:",{"Propose Consolidation Method","Replace Manual Input Consolidation Method","Propose % of Consolidation","Replace Manual Input % of Consolidation"},{"0","0","0","0"})

PROMPT(TEXT,%PROPACCOUNT%,"Define input account for proposal( Available options:POWN,POWND,POWN_SYS,POWND_SYS):",)

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

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

TASK(/CPMB/OWNERSHIP_CALC,SELECTION,%SELECTION%) TASK(/CPMB/OWNERSHIP_CALC,OTHERINFO,%OTHERINFO%)

TASK(/CPMB/OWNERSHIP_CALC,PROPACCOUNT,%PROPACCOUNT%)

TASK(/CPMB/OWNERSHIP_CALC,IFCOPYMACCOUNT,%COPYMANUALACCOUNT%)

TASK(/CPMB/OWNERSHIP_CALC,CALCACCOUNT,%CALCACCOUNT%)

TASK(/CPMB/OWNERSHIP_CALC,OPTIONS,%CALCOPTION%;%PROPOPTION%)

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.