*XDIM_MEMBERSET ACCOUNT=A1,A2,A3
*XDIM_MEMBERSET AUDITTRAIL=DS1
*XDIM_MEMBERSET ENTITY=DE
*XDIM_MEMBERSET CATEGORY=BUDGET
*XDIM_MEMBERSET TIME=2018.11
*XDIM_MEMBERSET CURRENCY=LC
*DESTINATION_APP=TARGET_MODEL
*WHEN TIME
*IS *
*REC(EXPRESSION=%VALUE%)
*ENDWHEN
//CLEAR.LGF
*WHEN TIME
*IS *
*REC(EXPRESSION=0)
*ENDWHEN
//Clear scope
START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
DEBUG = OFF
LOGIC = CLEAR.LGF //Clear script in TARGET_MODEL
//APPSET = Don't specify APPSET - current will be used!
APP = TARGET_MODEL
DIMENSION ACCOUNT=A1,A2,A3
DIMENSION AUDITTRAIL=DS1
DIMENSION ENTITY=DE
DIMENSION CATEGORY=BUDGET
DIMENSION TIME=2018.11
DIMENSION CURRENCY=LC
END_BADI //this line will reset scope!
//Copy data
//You have to scope after END_BADI!
*XDIM_MEMBERSET ACCOUNT=A1,A2,A3
*XDIM_MEMBERSET AUDITTRAIL=DS1
*XDIM_MEMBERSET ENTITY=DE
*XDIM_MEMBERSET CATEGORY=BUDGET
*XDIM_MEMBERSET TIME=2018.11
*XDIM_MEMBERSET CURRENCY=LC
*DESTINATION_APP=TARGET_MODEL
*WHEN TIME
*IS *
*REC(EXPRESSION=%VALUE%)
*ENDWHEN
//CLEAR.LGF
*RUNALLOCATION
*FACTOR=0
*DIM CATEGORY WHAT=%CATEGORY_SET%; WHERE=%CATEGORY_SET%
*ENDALLOCATION
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |