Quantcast
Channel: SCN : All Content - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5457

Need Help Regarding Nested IF condition in Transformation File.

$
0
0

Hi,

 

In BI Cube I am having 2 Currency Type values 00 and 10.

And for some GL Accounts Cost Centres are Empty. So for these Empty 0COSTCENTER I am inserting a String CC_NONE.

 

My requirement is to load Data into BPC by validating 2 Conditions for 0COSTCENTER,

 

C1. Where 0CURTYPE (Currency Type) = 10 only.  *IF(0CURTYPE=*STR(10) THEN

C2. Check where 0COSTCENTER are Empty.          *IF(*STR(CC_)+0COMP_CODE+0COSTCENTER = *STR(CC_)+0COMP_CODE

       then load the string CC_NONE.                            THEN *STR(CC_NONE);

 

       else load 0COSTCENTER's                                  *STR(CC_)+0COMP_CODE+0COSTCENTER))

 

So entire code will be as below to load 0CostCenter into BPC

 

COST_CENTER=*IF(0CURTYPE=*STR(10) THEN *IF(*STR(CC_)+0COMP_CODE+0COSTCENTER = *STR(CC_)+0COMP_CODE THEN *STR(CC_NONE); *STR(CC_)+0COMP_CODE+0COSTCENTER))

 

For this, while validating the Transformation File I am getting error as,

Command Error: STR(PC_NONE

 

 

If there is any possibility let me know.

 

 

Thank you,

Hemanth


Viewing all articles
Browse latest Browse all 5457

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>