on 2015 Dec 09 11:12 AM
Hi All,
I have a requirement wherein I need to populate BPC accounts from BW key figures and based on a condition from another BW infoobject.
BW infoobject to be checked - 0MATERIAL
BW Key figures to be used - OTHREV, REV1 and REV2.
BPC Dimensions
Product -> Mapped with 0MATERIAL
Account -> Mapped to key figures. BPC dim members (Other_Revenue, Revenue1, Revenue2)
Logic ->
If 0Material is blank, then product should be Dummy and only Other_Revenue should be populated from OTHREV
Else product is populated from 0Material, and Revenue1 and Revenue2 to be populated from REV1 and REV2 respectively.
I started with something like below -
Product=*IF(0MATERIAL= *STR() then *NEWCOL(Dummy_Product) ; 0MATERIAL)
Account=*MVAL(REV1|*Newcol(Revenue1)||REV1|*Newcol(Revenue2)||OTHREV|*Newcol(Other_Revenue))
But the problem with above statement is that though the mapping is correct, but it always will populate all three revenues irrespective of whether 0material is blank or non-blank
Thanks in advance.
Regards,
Ashish
Request clarification before answering.
Hi,
You could concatenate 0MATERIAL with the map you are doing in the account dimension, then you can try a conversion file to *skip the lines where 0material is empty.
Account=*MVAL(REV1|0MATERIAL+*Newcol(Revenue1) ...
conversion file:
Revenue1 | *skip --> means 0material is empty, not save Rev1
Revenue2 | *skip --> means 0material is empty, not save Rev2
Other_Revenue | Other_Revenue --> means 0material is empty, only save Other Revenue
*Revenue1 | Revenue1 --> means 0material is not empty, save Rev1
*Revenue2 | Revenue2 --> means 0material is not empty, save Rev2
*Other_Revenue | *skip --> means 0material is not empty, not save Other_Revenue
Something like that should work.
Regards,
CarlosE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From the general logic IF(0MATERIAL... has to be also included in the Account line, but I am not sure that it's possible to combine IF and MVAL in the same line. Please try...
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 |
|---|---|
| 9 | |
| 8 | |
| 6 | |
| 3 | |
| 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.