Calculate Ownership 
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 .
Create a Data Manager package by using the corresponding process chains (see Package Usage).
Run the Data Manager package as follows:
Log onto the Planning and Consolidation Office module.
On the action pane, choose .
Choose the package created in step 1 and choose Run.
Select the dimension values.
Select the options to run.
Define the input account for calculation.
Select whether to copy the calculation result as a replacement for the manual input account.
Choose a consolidation method.
Define the input account for proposal.
Choose one of the following options:
Run now
Schedule
Run now & schedule
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
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%)
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.