on 2019 Nov 13 3:12 PM
Hi There,
We try to clear the data from destination model before sending data from Source model using RUNLOGIC_PH to call clear package script from destination model. Destination App logic working as expected.
See attached document on Test script. And let me know what change i need to make in the code to resolve this issue.
Best Regards,
Praveen.
BW version
Try upper case <NONE>, not <none>
Try script without CHANGED parameter
Remove VALIDATION=OFF
Use simple script CLEAR_XYZ000.LGF - you define scope for it in the main script!
*START_BADI RUNLOGIC_PH
QUERY=OFF
WRITE=ON
LOGIC=CLEAR_XYZ000.LGF
APPSET = ABC
APP = XYZ
// Dimensions Common in both Models
DIMENSION TIME = BAS(%TIME_SET%) //!!!!!!! Only required scope
DIMENSION CATEGORY= %CATEGORY_SET%
DIMENSION RPTCURR= LC
// Dimensions that are not in HR Model (But in XYZ Model)
DIMENSION ACCOUNT = <ALL>
DIMENSION CC = BAS(CCTOTAL)
DIMENSION AUDITTRAIL = LB_HR,LB_CT,LB_HC //!!!!!!! Only required scope
DIMENSION COMPANY = 0A10,0B10,0B15
DIMENSION EQUIPMENT = NO_EQS
DIMENSION IO = NO_IO
DIMENSION WBS = NO_WBS
DIMENSION MATERIAL = NO_MATERIAL
DIMENSION FLOW = F_Bal
//Dimensions that are not in XYZ Model (But in HR Model)
DIMENSION HRACCT = <NONE>
DIMENSION HRAREA = <NONE>
DIMENSION HRAUDIT = <NONE>
DIMENSION HRCLS = <NONE>
DIMENSION HRCONTYPE = <NONE>
DIMENSION HREMPTYPE = <NONE>
DIMENSION HRJOB = <NONE>
DIMENSION HRSCHEDULE = <NONE>
DIMENSION HRSHIFT = <NONE>
DEBUG = OFF
*END_BADI
// CLEAR_XYZ000.LGF logic
*WHEN AUDITTRAIL
*IS * //everything is scoped in main script!!!!
*REC(EXPRESSION=0)
*ENDWHEN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim ,
I made the above changes and it is working as expected . Thank you very much for the prompt help.
Best Regards,
Praveen B.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.