Hello Experts,
I have a model with dimensions as Cost Center, Internal Order and Profit Center. There are 2 reporting currency as Group currency and functional curreny apart from Local currency. I have to do currency Translation with the following logic required.
Cost Center Internal Order Profit Center Curreny (As property in each Dimension)
61000 NONE 61A Cost Center currency is to be used
None 1000600 10C Internal Order Currency is to be used
NONE NONE 12A Profit Center currency is to be used
I have written as script as follows for 2nd option:
*XDIM_MEMBERSET COST_CENTER = CC_NONE
*XDIM_MEMBERSET INTERNAL_ORDER <> IO_NONE
//Run currency conversion
*LOOKUP Rates
*DIM R_ACCOUNT="AVG"
*DIM R_ENTITY="GLOBAL"
*DIM RATEEUR:INPUTCURRENCY=INTERNAL_ORDER.CURRENCY
*ENDLOOKUP
*XDIM_MEMBERSET CURRENCY=LC
*WHEN ACCOUNT
*IS *
*REC(EXPRESSION=%VALUE%/LOOKUP(RATEEUR),CURRENCY=EUR)
*ENDWHEN
*COMMIT
Then another script for 3rd Option:
*XDIM_MEMBERSET COST_CENTER = CC_NONE
*XDIM_MEMBERSET INTERNAL_ORDER = IO_NONE
//Run currency conversion
*LOOKUP Rates
*DIM R_ACCOUNT="AVG"
*DIM R_ENTITY="GLOBAL"
*DIM RATEEUR:INPUTCURRENCY=PROFIT_CENTER.CURRENCY
*ENDLOOKUP
*XDIM_MEMBERSET CURRENCY=LC
*WHEN ACCOUNT
*IS *
*REC(EXPRESSION=%VALUE%/LOOKUP(RATEEUR),CURRENCY=EUR)
*ENDWHEN
*COMMIT
And so on. Is there a possiblity to handle in 1 script or a BADI is required to be implemented? Also have to convert in to Group currency and functional currency.
Kindly suggest