Skip to Content
0
Former Member
Mar 20, 2012 at 04:51 PM

Script Logic for allocation on multiple Applications

25 Views

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_BUDGET P_BUDGET ACCOUNT ACCOUNT CATEGORY CATEGORY TIME TIME DETAIL DETAIL PROF ORG 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