User Logic for Conversion Type Instead of Hard coding in query.

Hello , Good response from SDN but thats all standard which I know. Please help me to resolve the problem as stated below. SDN friends are always best help.
Requirement: User will select the Target Currency; Will select the Exchange Rate like Monthly Avg 002M. Now there has to be a variable in Conversion which tells the logic to pick Conversion Type ZVHGR if  Exchange Rate = 002M, but if Exchange Rate = 001, then Conversion Type ZVHMR.
<u><b>
Approach to solve abo</b></u>ve
1. I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
which is beginning of period.
Now all the above is done. Let go to the query and For Value of kEYFIGURE "Audit Balance" in Conversion Tab Conversion Type is specified is "FiscperConversion" ZVHGR"same as above and thats it. But the problem is here user want a variable that user can select the Conversion Type Instead of Hard coding.
<b>Please suggest how to create this variable for Conversion Type and specify in query designer since In Conversion Tab this is not allowed to have variable.</b>
Please help me very soon
Thanks
Soniya Kapoor
null

Hello soniya
CTK ( currency translation key) includes
1. Exchange rate type - variable
2. Time base              - Variable
3. Source abd TGT currency    - variable
if all the things are given in variable why and what extra you need by selecting currency translation key from user input. I think you should ask business user again abt their requirement.
I can think of inputing CTK if say you have choosen time base as static ( Fix value)...say in one key u r using fiscal period as base and in other u r using calday as base...
Thanks
Tripple k

Similar Messages

  • Using an XML file for server URL instead of hard coding

    I can't find a good example.
    Could someone give me an example of using a local XML file to set a server url variable so i don't have to hard code url's?
    This works and i can trace the xml file but how do i access the individual xml data nodes?
    protected function initApp():void
         var loader:URLLoader = new URLLoader(new URLRequest("config.xml"));
         loader.addEventListener(Event.COMPLETE,configLoadComplete);
    private function configLoadComplete(event:Event):void
         trace(event.target.data);

    Hi,
    <a href="foobar.xml">right click and select save as from the context menu</a>
    or
    write your xml data or a copy of it with a different extension (text) so that it is not parsed as application/xml-xhtml
    or
    Use AJAX to retrieve the xml file and display it as the textContent of a <textarea>
    window.open wraps the xml markup in html tags for display purposes.
    Rob^_^

  • Logic for Output type determination of shipment

    Hi All,
    I have a requirement where in when a shipment is being saved (on create/change) i need to put a logic in an enhancement to identify if a particular set of output types will be generated or not for that shipment.
    Any info on how i can do this? Is there any FM that can fetch that data.
    Thanks.
    Ashiq Ali

    T. Code  VOFM
    Requirements > Output control
    Check routine 605
    Chek this where you can find some logic for Output type detremination of shipment type
    ~P

  • Can menu bar use variants instead of hard coding in GUI Status?

    Hi Experts,
    I am trying to select data into a variant from one table. This variant will be used for text in Menu Bar of GUI Status. I used to hard coding in Menu Bar. Is it possible for variants instead of hard coding in Menu Bar?
    If not, any flexible way is also welcomed. Thanks for any reply and help!
    Regards,
    Ying

    Hi,
    Please refer following link.
    http://help.sap.com/saphelp_nw70/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm
    How to create variant for csutom screen
    New transaction - require variant selection to be disabled
    This may help you.
    Regards,
    Renuka.

  • How could i use resource bundle in managed bean instead of harding coding?

    component is created in managed bean programmatically, so how to set attributes(e.g. text, value) using resource bundling instead of hard coding, as like coding on the page directlly?
    Thanks for your help!
    Kevin.

    component is created in managed bean programmatically, so how to set attributes(e.g. text, value) using resource bundling instead of hard coding, as like coding on the page directlly?
    Thanks for your help!
    Kevin.

  • USER EXIT for Message Type PCROLL

    Hello Gurus ,
    My requirement is that i need to convert few fields for Message Type PCROLL (Basic type GLDCMT01)  before sending it to other system by ALE . Can somebody help me out which user exit should be used .
    Many thanks for your help in advance .
    Regards,
    NK

    For future reference in case anyone is trying to do this, we were not able to find a suitable user exit to enhance BENEFIT3 IDoc, so we put in an OSS note and received the following response:
    "...currently there is no user exit/Badi in SAP Benefits Administration
    to enhance IDoc BENEFIT3. Such functionality is indeed missing in the
    system, which means that you will need to submit a development
    request to enhance the system in this respect in a future release."
    Anke

  • What is the user exit for message type BENREP, IDoc BENEFIT3?

    Hello,
    We are looking for a user exit to use with IDoc BENEFIT3.  Our benefits provider requires information which is not stored in any infotype in SAP, but can be calculated based on 3 existing infotypes.  We need a user exit for this. 
    We thought we could use PBEN0018 w/function module EXIT_SAPLHRBEN00FEATURE_018, but our ABAP developer says this doesn't access any IDoc tables. HR_BEN_IDOC_SEND doesn't work for this purpose either.  We also found PBEN0033 for function module HR_BEN_GET_IDOC_EVENTS, but this is labeled as obsolete.
    Does anyone know if there is an exit for this?
    Thanks much!
    Anke

    For future reference in case anyone is trying to do this, we were not able to find a suitable user exit to enhance BENEFIT3 IDoc, so we put in an OSS note and received the following response:
    "...currently there is no user exit/Badi in SAP Benefits Administration
    to enhance IDoc BENEFIT3. Such functionality is indeed missing in the
    system, which means that you will need to submit a development
    request to enhance the system in this respect in a future release."
    Anke

  • PKGBUILD for an application with a hard coded path

    Hello,
    I was about to make a nice AUR package for an application I use (the Elance work tracker) and I had a few details I needed to clear up. This package is pretty easy to install and all of the deps are available in the aur, but I would like a more convenient way.
    Problems:
    It seems to best/only work using the java6 packages in AUR. These install in opt
    It has a hard coded dependency on java being at /usr/bin/java
    I want to become a more active contributor to the AUR as I have a home build directory with a bunch of stuff I compile and use myself and would love to contribute these with PKGBUILDs. I just want to know how this situation is normally handled and make sure I use the proper etiquette.
    Thanks very much for your attention.
    Chris

    lrwxrwxrwx 1 root root         40 Sep 15 10:25 java -> /usr/lib/jvm/java-7-openjdk/jre/bin/java
    /usr/bin/java is a symlink on my system, check if the java6 package changes that symlink .
    If so, the hard coded dependency on /usr/bin/java is no problem.

  • Assigning User Exit for Substitution type 003 - OBBH

    Hi Gurus,
    I have created a Sustitution for the complete document i.e type 003 for replacing Assingment Field with PO number during MIRO.
    I have copied the standard program RGGB000 in to Z.. add my user eixt and have written the code. But i dont know how and where to assign the user exit that i hav created.
    Could anyone please help on this...
    Thanks in advance.
    Raj.

    Hi,
    It's done via GCX2 transaction. Please, consult note 842318 for further info.
    Regards,
    Eli

  • User exit for transaction type in FBB1

    Hi All,
    We have a requirement which allows the users to overwrite the transaction type and save it with different TType when they doing the entry manually via FBB1. For a particular account a transaction type is maintained in GGB1 say Z28. So for those accounts TType is automatically coming as Z28 even if we change that value also its not saving that, still showing Z28 only.
    Can you please suggest how to implement the above requirement using User exit.
    Thanks,
    Spandana

    Hi All,
    We have a requirement which allows the users to overwrite the transaction type and save it with different TType when they doing the entry manually via FBB1. For a particular account a transaction type is maintained in GGB1 say Z28. So for those accounts TType is automatically coming as Z28 even if we change that value also its not saving that, still showing Z28 only.
    Can you please suggest how to implement the above requirement using User exit.
    Thanks,
    Spandana

  • User exit for condition type for redeterming in sales order

    Hi SD Experts
    One condition type is created With the key combination Order type and Inciters
    When the contract is created and on the bases of Inciters given the value is calculating correctly
    But when we change the other Inciters in sales Order is not redeterming
    since this condition type key fields are added one it may not be  redeterming
    is there any user exit ?
    Pls help in this regard
    jeevan.S

    Use the exit USEREXIT_NEW_PRICING_VBAP in program MV45AFZB. This userexit can be used to perform new pricing, depending on the change of datafields.
    Regards,
    GSL.

  • From table hard coded in query

    (1)The below query i have encounterd in the code for which i m handling CR.
    kindly help me in understanding what does it means FROM TABLE inthe below
    query..
    select distinct transport_mode, orgp_id_2
    into p_transport_mode, p_consignee_id
    from packing_lists
    where org_id = p_org_id
    and id in(select * from table(pacc19.inlist(p_pal_ids)));
    (2) In the below function i couldnt understand
    typevar50 &
    v_data.extend;
    What could they be.?
    FUNCTION inlist(
    p_string IN VARCHAR2)
    RETURN typevar50
    IS
    v_string LONG DEFAULT p_string || ',';
    v_data typevar50 := typevar50();
    v_position NUMBER;
    BEGIN
    LOOP
    EXIT WHEN v_string IS NULL;
    v_position := INSTR(v_string, ',');
    v_data.extend;
    v_data(v_data.COUNT) := LTRIM(RTRIM(SUBSTR(v_string, 1, v_position - 1)));
    v_string := SUBSTR(v_string, v_position + 1);
    END LOOP;
    RETURN v_data;
    END;
    FUNCTION inlist(
    p_string IN VARCHAR2,
    p_delimeter IN VARCHAR2)
    RETURN typevar50
    IS
    v_string LONG DEFAULT p_string || '~';
    v_data typevar50 := typevar50();
    v_position NUMBER;
    BEGIN
    LOOP
    EXIT WHEN v_string IS NULL;
    v_position := INSTR(v_string, '~');
    v_data.extend;
    v_data(v_data.COUNT) := LTRIM(RTRIM(SUBSTR(v_string, 1, v_position - 1)));
    v_string := SUBSTR(v_string, v_position + 1);
    END LOOP;
    RETURN v_data;
    END;
    Kindly help
    Reg.
    AAK
    Message was edited by:
    460425

    typevar50 is a Nested Table Type. The TABLE operator is used to treat this Nested Table Type as a regular table
    SQL> create type nt as table of varchar2(10)
      2  /
    Type created.
    SQL> declare
      2      n nt;
      3  begin
      4     n := nt();
      5     n.extend(3);
      6     n(1) := 'Test1';
      7     n(2) := 'Test2';
      8     n(3) := 'Test3';
      9     --
    10     for rec in (select *
    11                   from table (cast (n as nt))
    12                )
    13     loop
    14        dbms_output.put_line (rec.column_value);
    15     end loop;
    16  end;
    17  /
    Test1
    Test2
    Test3
    PL/SQL procedure successfully completed.There's more information on Nested Tables here:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_82a.htm#2064937
    Message was edited by:
    Alex Nuijten, changed the name of the nested table type

  • Authority check in for condition type

    Hi
    What do you mean by an authority check on condition type.. especially Pricing..
    There are authority check that are embedded as Reqt and AltCTy in the IMG at the pricing procedure level for different condition type.
    Could someone explain me what they are for..?
    Thanks
    Jac

    Hi,
        authority check is the std sap methodology of check the permitted authorisation values for every transaction  and every user.
    here in this example;authority object is used to maintain or change condition record for allowed condition types.
    scenario eg;if we maintain create value for user mukund for pr00 condition type ,system allows me only for creating .if we maintain change value for user sherin for condition type,system allows to change the values.
    net net i can create and u can change ,not visa-viz or any body else cannot do it.
    hope this is clear.if it helps  REWARD!!!!!!!

  • 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]

  • User EXIT for sold-to-party in Va02

    Sir,
    In Transaction Code VA02. ( Change Sales Order ) . In that double click on Sold-to-party . It will open
    partner screen ( tab view ). In that again double click on partner  number or name or street that is
    First row. It will open one screen in CHANGE  mode ( total address of customer ) .
             This address we want to keep in DISPLAY MODE through USER EXIT . 
            Please tell me, how I can modify change mode into display mode.

    Hi Manoj,
    I dont think you need to use user exit for this.
    Instead you can go to following Path in ABAP :
    IMG-->Cross-Application Components>SAP Business partner>Business Partner>Basic Settings>Field Groupings-->Configure Field Attributes per BP role.
    Here you can disable the field for input.
    Please try this and let me know if this could solve your problem.
    Regards,
    Nikhil

Maybe you are looking for

  • Photo Stream not syncing on iPhone 6

    I just recently got an iPhone 6 and my photo stream is not working. I have over 750 photos in my iPad photo stream that will not sync to my iPad. I feel like I've tried everything. I've restarted my iPhone, signed in and out of iCloud and turned phot

  • Receiving iMessages to my phone number

    Does iMessage receive messages sent to my phone number?  I thought it did but don't see how to set it up.....Or was that only in iOS6?

  • E4200 not connecting with Cradlepoint CBR450 set to bridge mode

    I am trying to replace my Cradlepoint MBR1200 with a CBR450 in bridge mode, to let the E4200 take over all the WAP and DHCP handling, but having a hard time. I set the CBR450 in bridge mode and when I connect it to my laptop it properly passes the IP

  • Mountain Lion Crashing

    I know there are other threads about this, but my Mid 2010 MacBook Pro is CONSTANTLY rebooting throughout the day. I thought I had it narrowed down to Microsoft Silverlight being out of date, and honestly, since I've updated it, my MacBook crashes on

  • Does Apple have an iCloud Control panel for XP computers?

    I have a Dell Optiplex GX620 PC running Windows XP Pro. Is there any way I can download a version of the iCloud control panel so I can link it with my iPhone 4 phone?