cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get property of a property in Script logic for sap bpc

Former Member
0 Likes
1,470

Hello Experts,

I have a typical problem....

I am having a value in a DRIVER R_001 for some statistical GL account and say entity is WR01

now i want to post this amount from to an entity WR02, logic to derive this is as below

R_001 driver has property profit_center, and profit_center is a dimension which has a property as entity which would be WR02.

now how do i achieve this in script logic.?

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Likes

Something like:

*XDIM_MEMBERSET DRIVER=R001
*WHEN DRIVER
*IS *
*REC(EXPRESSION=%VALUE%,PROFIT_CTR=DRIVER.PC,ENTITY=DUMMY)
*ENDWHEN

*XDIM_MEMBERSET ENTITY=DUMMY
*WHEN DRIVER
*IS *
*REC(EXPRESSION=%VALUE%,ENTITY=PROFIT_CTR.COMP)
*REC(EXPRESSION=0) //clear DUMMY ENTITY
*ENDWHEN

First write to dummy ENTITY with correct PROFIT_CTR, then to correct entity.

Former Member
0 Likes

it worked..... As always... thanks a lot

Answers (2)

Answers (2)

former_member186338
Active Contributor
0 Likes

Or I can provide you an answer like your question:

Use LOOKUP and 2 writes using temp entity

Former Member
0 Likes

please cehck the comment section of the question

I have tried to explain it in more details

former_member186338
Active Contributor
0 Likes

4. Clearly identify the purpose of the script: to run as default.lgf or to be launched by DM package (different calculation logic!). Please, ALWAYS answer this question!!!!

former_member186338
Active Contributor
0 Likes

Please! Read https://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues/

And provide the required info! I really don't want to ask endless questions to understand what do you want to achieve...