cancel
Showing results for 
Search instead for 
Did you mean: 

Script Logic for allocation on multiple Applications

Former Member
0 Kudos

Dear guru's,

We're experiencing some difficulties getting our script logic right to allocation on two applications (D_BUDGET and P_BUDGET). Logic is executed in P_BUDGET.

D_BUDGETP_BUDGET
ACCOUNTACCOUNT
CATEGORYCATEGORY
TIMETIME
DETAILDETAIL
PROFORG
COST
WBS

We're trying to get the value that is in ORG property ERP_COSTOBJ in PROF (is the sames as PROF in de D_BUGET application).

*DESTINATION_APP=D_BUDGET
*SKIP_DIM=DETAIL,ORG
*ADD_DIM COST=NO_COST,DETAIL=NO_DETAIL, WBS=NO_WBS, PROF=ORG.ERP_COSTOBJ
*REC(FACTOR=LOOKUP(TARIEF),ACCOUNT=ACCOUNT.TARGET_ACC,CATEGORY="BUDGET")

We get the following error message:
UJK_VALIDATION_EXCEPTION:Member "ORG.ERP_COSTOBJ" does not exist

Workaround is in place by duplicating the syntax for every ERP_COSTOBJ like this, but that's not eligible since there are about 30 profitcenters.

*WHEN S_ORG.ERP_COSTOBJ
*IS "4200"
*DESTINATION_APP=D_BUDGET
*SKIP_DIM=DETAIL,ORG
*ADD_DIM COST=NO_COST,DETAIL=NO_DETAIL, WBS=NO_WBS, PROF=4200
*REC(FACTOR=LOOKUP(TARIEF),ACCOUNT=ACCOUNT.TARGET_ACC,CATEGORY="BUDGET")
*ENDWHEN

There must be a way to set this up in a dynamic way? Who is able to help us out?

Thanks in advance.

Regards,

Vincent Beumer

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200327
Active Contributor
0 Kudos

Hi Vincent,

First of all property is not supported now in ADD_DIM; you can suggest it in Idea Place; I'm sure development will take note of it.

Second, instead of *ADD_DIM PROF=4200 you should put a statement *RENAME_DIM ORG = PROF and add ORG = ORG.ERP_COSTOBJ in assignment part of *REC.

This should work.

Regards,

Gersh