Hello SAP Gurus
We have juste migrated a BPC 5.1 MS to a 7.5 release (SP05). Our FxTrans Logic does'nt work anymore in 7.5 although it used to work properly in our 5.1 environment.
We have identified that the statement wich doesn't work anymore in 7.5 is the use of 2 LOOKUP with a *REC :
FACTOR=LOOKUP(%CURR%)/LOOKUP(SOURCECURR)
Below you can see the part of the script which contains the RATE lookup and the statement wihch doesn't work anymore :
*LOOKUP RATE
*DIM RATESRC="RATEINPUT"
*DIM RATE=ACCOUNT.RATETYPE_ACT
*DIM SOURCECURR:INPUTCURRENCY=ENTITYSGCF.CURRENCY
*FOR %CURR%=%REPORTING_CURRENCIES%
*DIM %CURR%:INPUTCURRENCY="%CURR%"
*NEXT
*ENDLOOKUP
//____________________________________________________________________
// define the translation rule
//____________________________________________________________________
*WHEN CATEGORY
*IS ACTUAL
*WHEN ACCOUNT.RATETYPE_ACT
*IS "NOTRANS"
// skip
*IS %FX_RATES%
// translate
*FOR %CURR%=%REPORTING_CURRENCIES%
*REC( FACTOR=LOOKUP(%CURR%)/LOOKUP(SOURCECURR) ,RPTCURRENCY=%CURR%)
*NEXT
*ELSE
// take as is
*FOR %CURR%=%REPORTING_CURRENCIES%
*REC(RPTCURRENCY="%CURR%")
*NEXT
*ENDWHEN
*ENDWHEN
*COMMIT
We tried to put a constant instead of one of the 2 LOOKUPS and then it works. But in our situtation we really need these 2 LOOKUPS.
Does anyone have ever faced this kind of issue in a Logic after migrated to 7.5?
As I am not an expert in Logic I need help to find a workaround to fix this bug directly in the script. (SAP advised us to install the SP06 but we don't have time since the GO LIVE is at the end of next week).
Thanks for your help!
Regards,
Vincent.
Edited by: Greg C. on Dec 3, 2011 8:01 PM
Edited by: Greg C. on Dec 3, 2011 8:04 PM