on 2016 Apr 11 11:55 AM
Hi All
Below is the requirement to write the script logic in SAP 10.0 NW
Objective : Total COGS Amount (In Cell M17, 800/- ) should be distributed to respective levels at each Country / GPH / SBU of COGS amount but at the same time for distributing at each ICP of Sales Account combination.( i.e., we should not consider the ICP of COGS for the destination Records)
In the below image:
Source 1: Sales information
Source 2: COGS information
Results Expected : All the resultant records should have dimension combination considered from COGS(Source-2) except the ICP combination from Sales (Source-1).
Is it is possible through script logic, to get in the destination records with few dimension members from one combination (ICP from Sales account records ) and the rest from other combination (Country/SBU/GPH from COGS Account records).
The below Column N and Column O show the explanation of the calculations for getting the amounts.
I have used the *LOOKUP functions and *WHEN *ENDWHEN functions and tried. However, I could not figure out how to bring the ICP members from Sales Account combination to the destination records instead of considering from COGS account combination (which comes by default when we use the *WHEN function with COGS account).
Looking forward your help in this regard.
Thanks
Srikant
Request clarification before answering.
Hi Srikant,
It looks to me as a regular RUNALLOCATION. Try scoping Source-2 as WHAT and Source-1 as Using with those NO_... members. WHERE will be same as WHAT except ICP is from USING.
Regards,
Gersh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, the explanation is not clear and screenshot is completely unreadable. Pleas provide the script you created and explain what is wrong...
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.