Hi guys,
I am pushing a set of data through to another application, and I want to then run the currency translation on the other side (it isn't being done in the source system).
So, two questions:
1. Does it matter if the Logic to be run in the destination model is a "standard" script (In this case FXTRANS)?
2. If my ACCOUNT dimension has a different name in the other model, is there an equivalent to the *RENAME function in the *DESTINATION_APP logic?
On one side, it's called ACCOUNT and on the other ACCOUNTC. Similar issue with ENTITY.
This is my script so far:
*SELECT(%ENTS%,LEGALENTITY,COMPANYCODE,ID=%COMPANYCODE_SET%)
*START_BADI RUNLOGIC_PH
QUERY=OFF
WRITE=ON
VALIDATION=OFF
DEBUG=ON
LOGIC=FXTRANS.LGF
APP=Consolidation
//SKIP the dimensions that are not required in destination model - I get errors without this section
DIMENSION ACCOUNT = <NONE>
DIMENSION AUDITID = <NONE>
DIMENSION DEPARTMENT = <NONE>
DIMENSION ENTITY = <NONE>
DIMENSION LIKEUNLIKE = <NONE>
DIMENSION COMPANYCODE = <NONE>
//Set dimension members for called file - as you can see, there are dims with the same TYPE but a different name
DIMENSION TIME = %TIME_SET%
DIMENSION CATEGORY=%CATEGORY_SET%
DIMENSION ACCOUNTC = <ALL>
DIMENSION AUDITIDC = INPUTLOAD
DIMENSION FLOW = <ALL>
DIMENSION GROUPS = G_NONE
DIMENSION INTERCO = NON_INTERCO
DIMENSION LEGALENTITY = %ENTS%
*END_BADI
My UKJT log shows this:
LOG:
FILE:\ROOT\WEBFOLDERS\APPSET\ADMINAPP\Management\TEST.LGF
USER:JMAIDMENT
APPSET:XXXX
APPLICATION:Consolidation
Invalid dimension "AUDITID" in model "Consolidation"
Error in RUNLOGIC call.
BADI EXECUTION TIME IN TOTAL :0.00 ms.
SCRIPT RUNNING TIME IN TOTAL:0.00 s.
Any advice you can give me would be gratefully accepted! We are running BPC 10, SP8.
Thanks very much,
Jason