End routine for Currency conversion

Hi,
I have a requirement in which i have to convert sales and cost into three types of currency as GBP, INR and EUR in cube. i made 3 different fields for sales as well as for cost. But i am unable to write end routine for it.
Can anyone please help me that how can i solve this problem.
Roma

Hi,
In transformation itself you can do your currency conversion.
http://help.sap.com/saphelp_nw70/helpdata/en/de/6372426f0f9041e10000000a1550b0/content.htm
If you want to write a routine in to do conversion, you have to go for start routine instead of end routine.
Thanks
BVR

Similar Messages

  • Update routine for 0proc_unit conversion

    Hi all,
    My infoobject 0OPR_ACTWRK uses 0PROC_UNIT for units. It holds data in days and in hours. When I load it to a cube, I want to convert all values to working hours.
    I figured out that I have to use an update routine in my update rules. A lot of forum threads about unit conversion mention the function module UNIT_CONVERSION_SIMPLE. Can I use this function for my problem? Or should I use a different function module?
    This will be my first ABAP code, so can anyone help me and tell me what I have to fill in exactle in the routine format below?
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      RESULT = .
    result value of the unit
      UNIT = .
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    Thanks in advance!
    Regards, Pieter

    Dear Pieter,
    I am not infront of the system..
    the following surely will give error.. :).. so post back here.. so that me or someone else will reply you..
    So let us start witht he following coding in the 'Start routine'.
    LOOP AT DATA_PACKAGE.
    IF DATA_PACKAGE-UNIT= 'DAY'.
       DATA_PACKAGE-opr_pldwrk = DATA_PACKAGE-opr_pldwrk * 8.
    ELSE.
    Do nothing.
    ENDIF.
    MODIFY DATA_PACKAGE.
    ENDLOOP.
    Regards,
    Hari
    Message was edited by: Hari Kiran Y
    Message was edited by: Hari Kiran Y

  • Currency Conversion for Exchange rate type "AS02"

    Hi Experts,
    I am gonna post the most challenging problem (regarding currency conversion) I ever faced in my 1 year of BW Carrier.Kindly provide a solution.
    There are three types of currency to be used in the query for Key Figure 0NET_VALUE (so total 3 Key Figures to be created)
       1.Document currency (may be any currency)
       2.Local Currency (must be EURO)
       3.Global Currency (must be USD)
    From Document currency to Local Currency(EURO) we are using Exchange rate Type "M" (in Conversion Type created in Trans RRC1) [There is no problem in this conversion]
    Problem starts now--->
    From Local Currency(EURO) to Global Currency(USD) we have to use Exchange rate type "AS02" (in conversion type to be created in RRC1)
    but there is a Business requirement  that currency rate should be as per the last day of the entered period;and this logic should work for the range of periods also.
    Example :
    we are executing query for the period 006/2006 (posting Period)
    Last day of this period is 06/30/2006,
    Currency rate would be as per 06/30/2006
    And this currency rate should be same throughout the period 006/2006 in query
    The example was for single period,but logic must be incorporated for the range of the periods.

    Hi..
    There is no corresponding source key figure in the InfoSource for the target key figureof the InfoCube.
    a. A source key figure of the same type can be assigned to the target key figure
    (for example, sales revenue instead of sales quantity revenue).
    If the currencies of both of the key figures are the same, no currency
    translation can take place.
    If the currencies are different, a translation can take place either using a
    currency translation type or by simply assigning a currency.
    The following table provides an overview of possible combinations with different
    currencies in the source and target key figures:
    if Source key figure currency  is fixed , Target key figure currency is variable  then Currency translation (CT)  No CT
    if Source key figure currency  is fixed , Target key figure currency is fixed  then Currency translation (CT)   CT
    if Source key figure currency  is variable , Target key figure currency is fixed then Currency translation (CT)   CT
    if Source key figure currency  is variable  , Target key figure currency is variable  then Currency translation (CT)  CT or assignment
    b. If there is no corresponding source key figure of the same type, then you have
    to fill the key figure for the data target from a routine.
    If the target key figure has a fixed currency, no currency translation is
    carried out. This means that if translation is required, you have to execute
    it in the routine.
    If the target key figure has a variable currency, you also have to assign
    a variable source currency to the routine. Using the F4 help you can
    select a currency from the variable currencies in the communication
    structure. You have two options:
    – You can select a variable currency and assign it.
    – You select a currency translation type and a currency into which you
    wish to translate (‘To’ currency).
    The ‘To’ currency is, by default, the target currency if it is included in the
    communication structure.
    Creating a Routine for Currency Translation:
    If you want to translate currencies in the update even though the currency translation is not
    available for one of the above reasons, you can create a routine. Choose Routine, set the
    Unit Calculation in the Routine and choose Create Routine. In the routine editor you get
    the additional return parameter UNIT, the value of which is used to determine the target
    1.  save the query  and it under role
       see to it is in   :  Restricted and calculated key figures --->   properties of k.f
    2. exeute the query
    3. the currency translation --> by target currency  usd  choose  OK
    conversion type :  MEANTODAY Fixed target currency current date (MT)
    4.  Go back to the query definition by chossing chage query ( global definiton)
    5.  in the context menu for % share sales vouume of incoming orders,  choose properties --> formula collision -->  result form this formula choose OK
    Note that -
      your should alos set the currency translation in the  properties for the  two key figures sales voule EUR , choose properties ---> currency  conversion key :  fixed target currency ,  currrent date ( MT) -->  target currency  : American Dollar .  choose   OK
    <b>The translation key is a combination of different parameters that establish how the exchange rate for the translation is executed.
    The parameters that determine the exchange rate are the source and the target currency, the exchange rate type and the time reference for the translation.</b>
    The source currency is determined from the data record or dynamically from the master data of the specified InfoObject (currency attribute)
    The target currency can either be fixed in the translation key or selected at the time of translation.
    You can also use an InfoObject (currency attribute) to determine the target currency.
    The exchange rate type distinguishes exchange rates that are valid in the same time frame next to each other, for example, the bid rate, ask rate or middle rate. The exchange rate types are stored and can be maintained in a central table (TCURV).
    The time reference for the currency translation can be either fixed or variable
    The fixed time reference can either be a fixed key date that is stored in the translation type, or be determined using the system date when executing the currency translation.
    If the time reference is variable, then the point in time for the exchange rate determination comes from the value of a time characteristic (InfoObject). The reference can, for example, be the end or the start of a fiscal year or a calendar year, a period and a month – or even to the exact day. It can also be determined using a customer-specific InfoObject (for example, trading day).
    Currency translation in the BEx
    When selecting a translation key with a fixed target currency     this currency will be added automatically to the query definition
    Also, you can use translation keys selecting their target currency at the time of translation. These can be applied in two different ways:
    Selection of a specific target currency in the query definition (1)
    Entry by variable (2)
    Dynamic translation keys require input from the InfoCube !
    InfoObject value will be read during query execution
    Examples:
    dynamic time reference (p.eg. 0CALDAY)
          time characteristic
    target currency determined by InfoObject (currency attribute)
         characteristic which contains currency in its attribute table
    the corresponding InfoObject has to be part of the InfoCube
    1.Define the currency attribute in the InfoObject maintenance
    The currency attribute has to be a unit InfoObject of type currency
    The unit InfoObject must be an attribute of the characteristic
    The currency attribute should be filled in the master data table of the corresponding InfoObject (manual maintenance or upload via InfoSource)
    2.Enter the InfoObject in the translation key maintenance
    Only InfoObjects with a currency attribute can be used in translation keys (p.eg. 0COMP_CODE)
    At the time of currency translation the value for the source currency / target currency is then derived for every record from the master data table of the specified InfoObject
    All values for a query are translated ad hoc (after having executed the query) using a translation key
    Depending on the translation key a fixed target currency will be used for translation or you will be able to select the target currency
    The ad hoc currency translation offers only restricted functionality (selection of translation key and target currency) compared to the currency translation in the query definition
    Do not forget to create your translation keys before starting your work in the Business Explorer Analyzer
    Example:
    You load the following record to your InfoCube:
    Company Code:                1000
    Amount in Source Currency:      500,-
    Source Currency:                FRF
    Target Currency:               ?
    In the Update rules, you are now using a translation key which derives the target currency from the InfoObject 0COMP_CODE. During the Update Process the target currency will then be read for Company Code 1000 from the master date table of 0COMP_CODE.
    With the currency translation in the Business Explorer, the source currency can currently only be determined from the data record.
    Only translation keys with a fixed exchange rate type can be used in the BEx
    Translation keys with a dynamic time reference (from an InfoObject) can only be used in the query definition. It is not possible to fill the InfoObject by a variable !
    Translation keys getting their target currency from a currency attribute can only be selected in the query definition
    When getting the dynamic reference from an InfoObject (p.eg. 0CALDAY) the currency translation will apply to each record read from the database. That means it will use the date in this record for the currency translation.
    When using a variable you will restrict the output of your query to a certain amount of data. For example, you would translate all invoices of March 11 with the translation date March 11
    This means, the requirement “show me all invoices in my cube in group currency, conversion date: 14.07.2001” could not be solved by a variable input for 0CALDAY
    I hope this would help...
    with regards,
    hari

  • Currency Conversion issue for YTD model

    Hello,
    Currently our Client is using YTD (year to date) model to maintain data into BPC 7.5NW, and planning to use BPC for currency conversion from LC to USD. They are not converting the values in Transactional system. When performing this all Balance sheet accounts will be using YTD model for conversion, but income statement accounts should be using Periodic values for conversion.
    We have two different Entity FX types: one is USDFNC - USD functional and NUSDFNC - Non USD functional. One of the differences between these two FX types is CTA account, USDFNC is using expense Account to Book CTA and NUSDFNC is using Equity Account to book CTA.
    To achieve the above mentioned requirement, I did configure BPC as follows:
    1) Use RATE type AVG (average for Income statement accounts)
    2) Use RATE type END (spot rate for Balance sheet Accounts)
    3) In business rules for Account rate type AVG- formula would be [AVG], apply to periodic flag will be checked.
    5) in business rules for Account Rate Type END - Formula would be [END], apply to periodic flag will be blank.
    6) To calculate CTA for ENTITY FX type- NUSDFNC, I configured the following in Account Rate type AVG - destination account is equity account, Formula is [END]-[AVG], apply to periodic flag will be blank and Entity FX type is NUSDFNC.
    7) To calculate CTA for ENTITY FX type- USDFNC, I configured the following in Account Rate type AVG - destination account is expense account, Formula is [END]-[AVG], apply to periodic flag will be blank and Entity FX type is USDFNC.
    Above configuration is giving me correct converted result for all Balance sheet accounts and income statement accounts are showing the correct values when I use the formula (current period LC amount-previous period LC amount)*(current period AVG rate). But I saw difference in Balance sheet, so further analyzed CTA (currency Translation Accounts) and found that the difference is because of CTA amount only. Similar CTA differences exist for both USDFNC entities and NUSDFNC entities. So, I think my logic to calculate CTA is not working.
    I am using the standard script logic to run Currency Conversion:
    *RUN_PROGRAM CURR_CONVERSION
         CATEGORY  = %CATEGORY_SET% 
         TID_RA = %TIME_SET%
         CURRENCY = %RPTCURRENCY_SET%
         RATEENTITY = GLOBAL
    *ENDRUN_PROGRAM
    *COMMIT
    Can any one help me to understand whether this configuration is correct? I feel that I may need to change the logic for calculating CTA. But not sure about what and where
    Edited by: amarnathputta on Nov 24, 2011 5:36 AM

    Thank you Ethan,
    Let me try to explain this with few dollar amounts:
    Let us consider that I have data for 1st month (Jan) of the year 2011,
    Net income for Jan. 2011 in LC = 59916152.19
    Net income for Jan. 2011 in USD calculated using Average rate is  = $ 9,223,013.14
    CTA for the same month is  (net income in LC X spot rate) - net income in USD at average rate =((59916152.19)*(0.154617))-9223013.14 = 41,042.564
    This value is correct.
    For the month of Feb 2011:
    Net income for Feb.2011in LC = 60415519.01
    Net income for Feb.2011 in USD at average rate (with periodic flag on) = 9,300,112.38 ( I calculated this value manually and it is correct after conversion)
    calculated CTA for the same month is (60415519.01*0.154083)-9300112.38 = 8,892.035.
    But actually BPC calculated CTA is 18,547.56 (I felt that this may be because I am not using the Flag apply periodic value while calculating CTA and when I flagged that, BPC is giving me a very big difference in CTA)
    My balance sheet is exactly off with the difference in CTA.
    Hope this helps you to understand my problem.
    Edited by: amarnathputta on Nov 25, 2011 2:43 PM

  • End Routine Problem

    Hi gurus,
    I have written end routine for a cube for getting the data for fields net due date and discount date from other cube.
    The code was fine and im able to see the data for those fields in the new table of DSO and once  the request is activated the data for those 2  fields is not getting populated..
    can any one give me a solution for this issue
    Regards,
    Ravi

    Ravi,
       In the toolbar beside the End Routine button there is a button called "Update Behaviour of end routine display". Select the second option "All target Fields".
    I am assuming that you are populating the two date fields in the end routine.
    Hope this helps...

  • End Routine is NOT modifying the DSO with new data after load into that DSO

    Hi all,
      I am creating an End Routine for DSO to populate a field ZFCMP_FLG (to store 'Y' ) with lookup from another DSO ZMDS_D01. This new field shows blank instead of 'Y', after activating the DSO. The RESULT_PACKAGE record is populated with 'Y' for ZFCMP_FLG  while debugging that End Routine and why it is NOT writing the modified records into DSO, please ? It is a Characteristic InfoObject with length 1 to store 'Y'. The following is some part of the code:
    DATA: wa_fcmp_flag   TYPE c VALUE 'Y'.
    LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
        READ TABLE it_zmds_d01 INTO wa_zmds_d01 WITH KEY
                    /BIC/ZAUFNR    = <RESULT_FIELDS>-CS_ORDER
                    NOTIFICATN     = <RESULT_FIELDS>-NOTIFICATN  BINARY SEARCH.
         IF sy-subrc = 0.
           <RESULT_FIELDS>-/BIC/ZFCMP_FLG = wa_fcmp_flg.
        ENDIF.
    ENDLOOP.
    Thanks,
    Venkat.

    hi...
    Since you are using Field symbol to loop the internal Table there is no need to use the MODIFY Statement in the loop.
    So your code is correct only.
    But here you have to check the status of READ TABLE command in the debug mode.
    it may be failing that's why the RESULT_PACKAGE is not getting modified.
    Plz check it.
    Note: You may need to SORT the Int Table since you are using BINARY SEARCH. check below.
    DATA: wa_fcmp_flag   TYPE c VALUE 'Y'.
    Sort it_zmds_d01 by  /BIC/ZAUFNR    NOTIFICATN  .
    LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
        READ TABLE it_zmds_d01 INTO wa_zmds_d01 WITH KEY
                    /BIC/ZAUFNR    = <RESULT_FIELDS>-CS_ORDER
                    NOTIFICATN     = <RESULT_FIELDS>-NOTIFICATN  BINARY SEARCH.
         IF sy-subrc = 0.
           <RESULT_FIELDS>-/BIC/ZFCMP_FLG = wa_fcmp_flg.
        ENDIF.
    ENDLOOP.

  • Problem about currency conversion

    HI,
    I have added one field KWERT from KONV to copa data source.Then value is coming in USD.
    I want currency conversion means i want value into EUR and INR .
    SO please tell me how to write code for currency conversion?
    Thanks
    Regards
    Devesh Babu

    Hi,
    Create Currency Translation Type
    T-code for Creating Currency Translation Type in BI 7.0  is  RSCUR.
    Select Source and Target Currency.
    Give Time Reference.
    For the Currency translation to take place in the Business Explorer you must have already created a currency translation type.
    Currency Translation in Business explorer can be done in two ways:
       Currency translation in query definition.
       Currency translation in the executed query.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2056ef93-2004-2d10-21ae-f973bb48d7a1?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a?QuickLink=index&overridelayout=true u2013 currency concersion
    Regards,
    rvc

  • Sorting Currency conversion Variables in Query Selection screen

    Hi Experts,
    I have an issue in sorting variables.
    A Currency translation is used here which has two selection options here, one for "Currency" and one for "Currency conversion date". They just pop in somewhere in the selection screen with out order. I want to put them together either in the middle or at the bottom.
    They are not visible in the Variable sequence tab of query properties.
    I changed the text for each of them (Ex. "XCurrency"), so that it sorts alphabetically, but no difference.
    Had anybody come accross this issue before.
    regards
    G Rai

    Hi,
    This seems strange that the variable does not show in the query properties. One thing I can suggest it to try changing the technical name/desciption of the variable if that changes the order.
    Please update back the thread if that helps.

  • Currency Conversion not working

    Hi All,
    Currency conversion is failing with error message as below.
    SAP DBTech JDBC: [2048]: column store error: search table error:  [2620] executor: plan operation failed;currency/unit conversion error,Conversion( "AMOUNT" ), row 0: could not determine valid conversion rate for value(s) 3750 from unit 'USD' to unit 'INR' on date 2013-11-15 00:00:00.0000000
    For currency conversion, I've done
    Assign Client for currency conversion.
    Assign Schema which holds all TCUR* tables and set the same as default schema for the model in Semantics section.
    In TCURR table, I've below set of records for USD to INR conversion, exchange type used in Currency Conversion is 'M'.
    I tried different exchange rates and converting to different currencies. Target currency is fed by Input Parameter which is defined of Semantic Type - Currency.
    Even conversion fails for fixed target currency.
    Am I missing something? Please provide your inputs.
    Regards,
    Chandra.

    Hi Chandra,
    Can you share the screen of your calculated measure showing the currency conversion.
    Can you check with date 30.11.2011 and see if the conversion is taking place?  Assuming that client and schema details are fine.
    Regards,
    Krishna Tangudu

  • Currency Conversion Document

    Hi Friends
    I have been given a project to learn about SAP currency conversion. Can anybody please provide any documentation for Currency conversion from SIT to Euro and Old Turkish Lira(TRL) to New Turkish Lira (TRY).
    Thanks
    SAP FICO

    Hi,
    Hope the below links are useful:
    <u>http://www.sap.com/services/consulting/servicecategories/landscapeoptimization/currencyconversion.epx</u>
    <u>http://www.behnmeyer.com/bm_articles.asp?show_article=14</u>
    Regards,
    Hemanth

  • Currency Conversion on Daily Basis

    Hello
    We have data in 4 different currencies in transactions level and I have a requirement in BW to convert the currency on Daily basis based on that day's exchange rate.
    And Also I should be giving the user a selection option to pick a currency type, so that the report will display in that currency.
    Can someone please tell be the best approach to do this?
    Thanks
    Kumar

    Hi,
    Please refer the following How to doc...This is the best possible way you can do..
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f
    Thanks
    Vj
    You can apply the same for Currency conversions too
    Message was edited by:
            Vijay kumar Nandipati

  • Currency conversion type by customer exit variable doesn't work

    Hi all.
    In my query I need amounts by quarter, applying quarters last date rates as currency conversion.
    Query has Year parameter. Based on this parameter, by customer exits I calculate every quarters last date and use them as currency conversion types.
    The problem is that query DOESN'T APPLY currency conversions!
    I checked TCURR table - currency conversions do exist for applied days
    I checked my customer exits - the date calculation works fine
    I suppose where is something wrong in query processes (customer exits/currency conversions) sequence before running it.
    Someone knows anything 'bout that?

    Check these docs.. and check again.
    [Creating Currency Translation Types|http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6813e07211d2acb80000e829fbfe/content.htm]
    [Use Variables for Currency Conversion|http://www.scribd.com/doc/7061035/How-to-Use-Variables-for-Currency-Conversion]

  • BPC 7.5 NW SP4 - CURRENCY CONVERSION

    Hi experts
    Im running currency conversion for my consolidation group, but when run tcode UJKT it shows me an error
    this is my script logic
    *RUN_PROGRAM CURR_CONVERSION
             CATEGORY = %Z_VERSION_SET%
             GROUP = %C_GRUPOS_SET%
             TID_RA = %Z_TIEMPO_SET%
              RATEENTITY = GLOBAL
    *ENDRUN_PROGRAM
    this is error
    UJP_PROCESS_EXCEPTION:Ownership information not found in application C_CONSOLIDACION
    I have checked steps below
    1.- I´ve entered ownership percentage of ownership application
    2.- I viewed parameters for consolidation application
    3.- I´ve entered rates exchanges in my rate application
    4.- I´ve cheched business rules for currency conversion
    5.- I´ve cheched my dimension account in consoldiation appication
    is there any other action that you consider I should  review
    can you help me with this issue please
    thanks in advance
    best regards

    Hi Nilanjan
    I checked this link and is correct, and I can save changes in DHE, my doubt is ?
    should I enter Ownership like this?:
    ENTITY --- INTCO --- CURRENCY --- ACCOUNT -- CATEGORY -- TIME              SIGNEDDATA  
    S100        IC_2000     LC              POWN                    REAL           2010.009       0.80
    and then should I run package Calculate Ownership? (Which is the function  of this package?)
    because when I´m using DHE, the data looks like this
    ENTITY --- INTCO --- CURRENCY --- ACCOUNT -- CATEGORY --         TIME                       SIGNEDDATA
    S1000        IC_NONE     CG1                METHOD          REAL                  2010.009                      90
    S2000        IC_NONE     CG1                METHOD          REAL                  2010.009                      86
    S1000        IC_NONE     CG1                PGROUP          REAL                  2010.009                      1
    S2000        IC_NONE     CG1                PGROUP          REAL                  2010.009                      1
    S1000        IC_NONE     CG1                PCON               REAL                  2010.009                           1
    S2000        IC_NONE     CG1                PCON              REAL                  2010.009                           1
    S1000        IC_NONE     CG1                PGROUP          REAL                  2010.009                      1
    S2000        IC_NONE     CG1                PGROUP          REAL                  2010.009                      0.8
    you can see the INTCO is IC_NONE in all records
    thanks in advace

  • Currency conversion in BW.

    Hi,
    I am working on BW 3.1.
    I am working on a CRM "order receipts" report. In which we have all transactions in AUD.
    I want to add an extra field in report which should show value in USD.
    Can anybody tell me how to do this? Pls give step by step guide.
    Also Where shall we do the conversion? at report level or in Cube?
    Pls ans.. Pts for ans.
    Regards,
    Shri.
    Message was edited by:
            shridhar  deshmukh

    Hi Shridhar,
        Have a look: <a href="http://www.box.net/shared/ekvqbry86p">How to... Use Variables for Currency Conversion</a>
    <a href="http://sapbwneelam.blogspot.com">More Docs...</a>
    Hope it Helps
    Srini

  • Currency Conversions showing different behaviour

    Hi,
    I have a strange problem with the currency conversions. I have configured business rules for one application for currency conversions and everything works fine.
    For another application, I have written a script logic.  This works well for all AST and EXP Account types.
    For INC account types :
    1. When the logic is included in the default logic, it works fine.
    2. When the logic is not included in the default logic, and the currency conversion Data manager package is executed or the logic is executed through UJKT, the calculations are done perfectly but the amounts are negated.
    Did anyone see this kind of strange behaviour.  I have the currency conversions code as follows:
    // *RUN_PROGRAM CURR_CONVERSION
         // CATEGORY     = %C_CATEGORY_SET% 
         // GROUP = %GROUPS_SET% 
         // TID_RA = %TIME_SET%
         // RATEENTITY = GLOBAL
         // OTHER = [ENTITY=%ENTITY_SET%]//For More than one other scope parameters: OTHER = [ENTITY=%ENTITY_SET%;INTCO=%INTCO_SET%...]
    // *ENDRUN_PROGRAM
    *SELECT(%REPORTING_CURRENCIES%, "[ID]", "RPTCURRENCY", "[REPORTING] = 'Y'")
    *LOOKUP RATE
       *DIM R_ENTITY="GLOBAL"
       *DIM R_ACCT=ACCOUNT_LOE.RATETYPE
       *DIM SOURCECURR:INPUTCURRENCY=FIELD.CURRENCY
       *FOR %CURR%=%REPORTING_CURRENCIES%
       *DIM %CURR%:INPUTCURRENCY="%CURR%"
       *NEXT
    *ENDLOOKUP
    *WHEN RPTCURRENCY
    *IS "LC"
    *WHEN ACCOUNT_LOE.RATETYPE
    *IS <> ""
        *FOR %CURR%=%REPORTING_CURRENCIES%
             *REC(FACTOR=LOOKUP(SOURCECURR),RPTCURRENCY=%CURR%)    
         *NEXT
    *ELSE
    // take as is
       *FOR %CURR%=%REPORTING_CURRENCIES%
             *REC(RPTCURRENCY="%CURR%")
       *NEXT
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    But I don't think there is anything wrong with the code, because it works absolutely fine with the default logic.
    Thanks
    Vidya

    CSS could be getting obfuscated. Set the following in web.xml.
    <context-param>
    <description>No obfuscation of CSS.</description>
    <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
    <param-value>true</param-value>*
    </context-param>
    Also refer
    https://technology.amis.nl/2009/07/01/using-adf-faces-11g-skinning-for-setting-the-styles-of-specific-component-instance…

Maybe you are looking for

  • Getting error while loading flat file into table.

    I am using ODI 11 and i am trying to load data in oracle database table using source as flat .txt file . When i execute the interface , i am getting below errors. ODI-1217: Session INF_FILE2TAB (31022) fails with return code 7000. ODI-1226: Step INF_

  • SWTOR .exe icon does not show correctly

    right after updating to 16.0.2 the .exe launcher icon for Star Wars The Old Republic changed from the default swtor icon to the generic 'windows page' icon. this is the exe launcher icon on my win 7 x64 task bar and in the start menu. removed both ic

  • Sql server services give error the remote procedure call failed [0x800706be] in sql server 2008

    sql server services give error the remote procedure call failed [0x800706be] in sql server 2008. To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files: mofcomp.exe "C:\Program Files (x86)\Mic

  • Export to PDF and Print

    To print a Pages Dokument from Ipad Apple support says: "When exporting documents, including PDF, ensure the target computer has access to the fonts used in the document." My Target Computer is a Windows 7 PC. Where do I get access to the fonts of th

  • How to read WRI files ?

    I have some WRI files - I wonder how to read them and where they come from originally