on ‎2017 Oct 17 11:32 AM
Hi Experts,
I have below requirement to be accomplished through transformation file.

Transformation file

Let me know what error I am doing in the transformation file.
Request clarification before answering.
Final:
DUMMY_COUNTRY = *IF(ZSENTITY__ZTFICTRY + ZSCNTRY__ZTCNTRY = *STR() then *STR(C_NONE); ZSENTITY__ZTFICTRY = *STR() then ZSCNTRY__ZTCNTRY; ZSENTITY__ZTFICTRY)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DUMMY_COUNTRY = *IF(ZSENTITY__ZTFICTRY = *STR(XXXX) then ZSENTITY__ZTFICTRY; ZSENTITY__ZTFICTRY = *STR() then ZSCNTRY__ZTCNTRY; ZSCNTRY__ZTCNTRY = *STR() then *STR(C_NONE))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now explain the required logic once again:
"In country dimension if value is there in ZSENTITY_ZTFICTRY then that particular value should come or if value is not there in ZSENTITY_ZTFICTRY then the value in ZSCNTRY_ZTCNTRY should come. However if value is not there even in ZSCNTRY_ZTCNTRY then hard code the member to C_NONE" - absolutely not clear!
List all possible variants!

I am writing this transformation file for Country Dimension (i.e. DUMMY_COUNTRY)
Info Provider is of BW
Scenario 1
If value is present in ZSENTITY_ZTFICTRY then bring that value. So in this case value would be fetched to member IE
Scenario 2
If value is not present in ZSENTITY_ZTFICTRY then look for ZSCNTRY_ZTCNTRY and bring the value against that member. hence value would be fetched to member IN.
Scenario 3
If value is not present in ZSENTITY_ZTFICTRY and ZSCNTRY_ZTCNTRY then bring the value against C_NONE. hence value would be fetched to member C_NONE
Please post transformation file TEXT, not picture!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 11 | |
| 9 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 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.