Hi experts,
I have a script logic that include RUNLOGIC_PH to call another script logic within the same apps (BPC 7.5NW). There are few dimension members which will be user defined scoped in the DM which I then need to scoped in the DIMENSION in the RUNLOGIC_PH. However I had a validation error for my script after I tried to validate the script.
Here is the script logic :
//CLEARATTRCOST.LGF
*SELECT(%NHRCOSTACC%, ID, HRACCOUNT, [GROUP]=NETTC)
*XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
*XDIM_MEMBERSET COSTCENTER=%COSTCENTER_SET%
*XDIM_MEMBERSET ENTITY=E_NONE
*XDIM_MEMBERSET HRANALYTIC=BAS(NETT_FTE_TOT)
*XDIM_MEMBERSET EMPLOYEE=BAS(EMP_TOTAL)
*XDIM_MEMBERSET HRACCOUNT=%NHRCOSTACC%
*XDIM_MEMBERSET TIME=%TIME_SET%
*XDIM_MEMBERSET MCOSTCENTER=BAS(MCOSTCENTER)
*XDIM_MEMBERSET RCOSTCENTER=BAS(RCOSTCENTER)
*WHEN HRACCOUNT
*IS %NHRCOSTACC%
*REC(EXPRESSION=0)
*ENDWHEN
*COMMIT
*START_BADI RUNLOGIC_PH
QUERY=OFF
WRITE=ON
DEBUG=ON
LOGIC=CALATTRITIONSAVING.LGF
APPSET=MAPLETREE
APP=HRPLAN
DIMENSION CATEGORY=%CATEGORY_SET%
DIMENSION COSTCENTER=%COSTCENTER_SET%
DIMENSION TIME=%TIME_SET%
DIMENSION EMPLOYEE = BAS(EMP_TOTAL)
DIMENSION HRANALYTIC = EXISTING,COMMITTED,NEW,HRANALYTIC_NONE
DIMENSION HRACCOUNT = BAS(TOTALCOST),HRFFTE,HRFHCSAV
DIMENSION MCOSTCENTER = BAS(M_CC_TOTAL)
DIMENSION RCOSTCENTER = BAS(R_CC_TOTAL)
DIMENSION JOBTYPE = LOCAL,SECONDEE,SECONDMINUS,LOCALPLUS
DIMENSION RPTCURRENCY=<ALL>
DIMENSIION ENTITY = E_NONE
CHANGED = COSTCENTER,TIME
*END_BADI
Please kindly assist ! Thanks !
Regards,
Elvin