Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Script logic issue?

$
0
0

Hi All,

 

We are using BPC NW 10.1 Classic.

 

We have a requirement where we have to copy data from one category to another category (source ($SOURCE_CATEGORY$) and destination categories ($TARGET_CATEGORY$) are selecting from prompt).

Product dimension ids are maintained in Entity dimension properties "PRODUCT_NAME and NEW_PRODUCT_NAME" values.now the condition is,

if i select destination category is "PLAN" then the destination Product dimension member should be derived from NEW_PRODUCT_NAME and if i select destination category is "ACTUAL" then the destination Product dimension member should be derived from PRODUCT_NAME.

 

I have tried with below code.

 

*XDIM_MEMBERSET CATEGORY = $SOURCE_CATEGORY$

*SELECT(%ENTITIES%,"[ID]",ENTITY,"[ID] ='%ENTITY_SET%'")

*XDIM_MEMBERSET ENTITY = %ENTITIES%


*WHEN CATEGORY

*IS $SOURCE_CATEGORY$

  *WHEN ENTITY

  *IS %ENTITTIES%

     *REC(EXPRESSION=%VALUE%,CATEGORY=$TARGET_CATEGORY$,PRODUCT=%ENTITIES%.NEW_PRODUCT_NAME)

  *ENDWHEN

*ENDWHEN

 

How we can read or recognize destination category member ($TARGET_CATEGORY$) to paste data to correct Product dimension member?

 

 

Thanks and Regards,

Naidu


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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