on 2013 Dec 12 12:03 PM
Hi Experts,
I am trying to transfer data from one model to another model in SAP BPC 10.0 NW. Script logic written in source Model for that purpose is:
*XDIM_MEMBERSET AUDITTRAIL = Input
*XDIM_MEMBERSET FLOW = Closing
*XDIM_MEMBERSET P_ENTITY = SIL
*XDIM_MEMBERSET RPTCURRENCY = LC
*SELECT (%SGRP%,RIGHT([ID],6),CUSTOMER_SALES,[PROP]=DUM)
*XDIM_MEMBERSET CUSTOMER_SALES = %SGRP%
*XDIM_MEMBERSET ACTIVITY_SALES = ACT_112
*DESTINATION_APP = SALES_PLANNING_SIL_2
*SKIP_DIM = PLANT
*RENAME_DIM CATEGORY1 = CATEGORY, CUSTOMER_SALES = CUSTOMER_SALES_2
*FOR %CUST% = %SGRP%
*WHEN ACTIVITY_SALES
*IS ACT_112
*REC(EXPRESSION=%SIGNEDDATA%)
*ENDWHEN
*NEXT
*COMMIT
Logic is getting validated but not getting any result in destination Model. Kindly Guide me as I am new to SAP BPC.
Thanks in Advance
Hi Rakhi,
Does the script really validates???
Incorrect syntax of *SELECT:
*SELECT (%SGRP%,RIGHT([ID],6),CUSTOMER_SALES,[PROP]=DUM)
Incorrect REC syntax:
*REC(EXPRESSION=%SIGNEDDATA%)
Please, read help on both!
DESTINATION_APP keyword in BPC NW 10 is working only for the next WHEN/ENDWHEN loop, but you have FOR/NEXT loop generating number of WHEN/ENDWHEN loops... Use DESTINATION_APP inside FOR/NEXT.
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
Thanks for your early reply.
Yeah my script is getting validated. In my scenario I need to transfer values from selected members of source model. IDs of which are eg. D_SG_CCP in source model, whereas in destination model it is SG_CCP. Thats why I had to use MDX function in select statement.
And I also tried in REC Statement *REC (EXPRESSION=%VALUE%) and using DESTINATION _APP inside FOR/NEXT, but not getting result.
One thing I need to confirm is that I wrote this logic in DEFAULT LOGIC of source model and nothing in destination Model. Is there any thing which is missing.
Thanks
Hi Rakhi,
Sorry, but the script provided in your post will NEVER validate in BPC NW, because of the issues I already mentioned.
And because RIGHT of something is not supported in SELECT (only some property, including [ID]), then you have to use different approach - create some property in CUSTOMER_SALES and fill it with the corresponding member of SG_CCP model dimension. Then in REC you can use this property as target override.
Vadim
User | Count |
---|---|
10 | |
5 | |
5 | |
4 | |
3 | |
2 | |
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.