Finding variable data value using fms

hi experts
i want find variable field value by using fms.pls help me
exact scenerio is
i want fetch the value tax amount of respective tax code from the Define tax Amount distribution form.
eg.if suppose i tax code BED+VAT then i want get what is the calculated value of excise ,cess and and vat .i get the row tax amount.whwn i click tax amount filed i get tax amount distribution form from this form i want that particular valu
what is exactsql for this

Hi Sachin,
No need to go FMS. Open any transcation screen. For eg., Open Sales Order, goto Form Setting -> Table Format. Please check the field column like "Tax Only".
Then open any SO, check it out this Link, u will get the full information and tax break etc...
Thanks
SAGAR

Similar Messages

  • How to find a data including% using fuzzy searching

    Hello,
    I have a column that has a value "wwt%abc" . How can I find this data using SQL*PLUS and fuzzy searching condition? I wish to use
    the statement like this:
    select name from mytable where name like ...
    thanks for any help

    Susan,
    I think you could use ESCAPE clause to specify that % is to be interpreted literaly.
    select * from mytable where name like '%wwt\%abc%' escape '\';
    I hope this helps.
    Cheema
    null

  • Need a maximum date value using group by

    Create table student (dept number(10), dep_name varchar2(10),join_date date,years_attended number(10),end_date date);
    insert into student values (1,'I',to_date('3/7/1917','MM/DD/YYYY'),4,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (1,'I',to_date('1/1/1900','MM/DD/YYYY'),4,to_date('8/26/1932','MM/DD/YYYY'));
    insert into student values (1,'D',to_date('1/1/1920','MM/DD/YYYY'),5,to_date('8/26/1994','MM/DD/YYYY'));
    insert into student values (1,'C',to_date('1/1/1920','MM/DD/YYYY'),6,to_date('8/26/1945','MM/DD/YYYY'));
    insert into student values (2,'I',to_date('7/1/1900','MM/DD/YYYY'),3,to_date('8/26/1932','MM/DD/YYYY'));
    insert into student values (2,'I',to_date('8/16/1916','MM/DD/YYYY'),9,to_date('8/26/1923','MM/DD/YYYY'));
    insert into student values (2,'D',to_date('8/16/1916','MM/DD/YYYY'),10,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (3,'I',to_date('3/7/1917','MM/DD/YYYY'),4,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (3,'D',to_date('7/28/1920','MM/DD/YYYY'),6,to_date('8/26/1945','MM/DD/YYYY'));
    insert into student values (3,'I',to_date('7/28/1920','MM/DD/YYYY'),8,to_date('8/26/1965','MM/DD/YYYY'));
    insert into student values (4,'I',to_date('12/31/1924','MM/DD/YYYY'),2,to_date('8/26/1998','MM/DD/YYYY'));
    insert into student values (4,'I',to_date('6/10/1929','MM/DD/YYYY'),1,to_date('8/26/1943','MM/DD/YYYY'));
    insert into student values (4,'C',to_date('1/17/1927','MM/DD/YYYY'),4,to_date('8/26/1955','MM/DD/YYYY'));
    insert into student values (4,'C',to_date('6/10/1929','MM/DD/YYYY'),30,to_date('8/26/1967','MM/DD/YYYY'));
    insert into student values (5,'D',to_date('2/10/1931','MM/DD/YYYY'),2,to_date('8/26/1943','MM/DD/YYYY'));
    insert into student values (5,'I',to_date('2/10/1931','MM/DD/YYYY'),24,to_date('8/26/1962','MM/DD/YYYY'));
    commit;I need a maximum date value join_date for each department. If max(join_date) has two records for each dept then max(end_date) should be considered. I have used a below select query
    select * from student where join_date in (select
    max(join_date) from student group by dept);which gives me the following result
    1     D     1/1/1920     5     8/26/1994
    1     C     1/1/1920     6     8/26/1945
    2     I     8/16/1916     9     8/26/1923
    2     D     8/16/1916     10     8/26/1987
    3     D     7/28/1920     6     8/26/1945
    3     I     7/28/1920     8     8/26/1965
    4     I     6/10/1929     1     8/26/1943
    4     C     6/10/1929     30     8/26/1967
    5     D     2/10/1931     2     8/26/1943
    5     I     2/10/1931     24     8/26/1962But I am looking for the result which gives me only one maximum value for each dept column. First it should look for maximum value of join_date, if two records has same join_date then max(end_date) should be considered. The result should be sumthing like this
    1     D     1/1/1920     5     8/26/1994
    2     D     8/16/1916     10     8/26/1987
    3     I     7/28/1920     8     8/26/1965
    4     C     6/10/1929     30     8/26/1967
    5     I     2/10/1931     24     8/26/1962Can you please tell me how to rewrite the select query to get the above results.
    Edited by: user11872870 on Aug 2, 2011 5:29 PM
    Edited by: user11872870 on Aug 2, 2011 5:36 PM

    Hi,
    That's called a Top-N Query , and here's one way to do it:
    WITH     got_r_num     AS
         SELECT     student.*
         ,     ROW_NUMBER () OVER ( PARTITION BY  dept
                                   ORDER BY          join_date     DESC
                             ,                end_date     DESC
                           )      AS r_num
         FROM    student
    SELECT       dept, dep_name, join_date, years_attended, end_date
    FROM       got_r_num
    WHERE       r_num     = 1
    ORDER BY  dept
    ;Another way is similar to what you originally posted:
    SELECT    *
    FROM       student
    WHERE        (dept, join_date, end_date)
                   IN (
                        SELECT    dept
                   ,       MAX (join_date)
                   ,       MAX (end_date) KEEP (DENSE_RANK LAST ORDER BY join_date)
                   FROM      student
                   GROUP BY     dept
                   );I suspect the first way (using ROW_NUMBER) will be faster.
    Also, the ROW_NUMBER approach is guaranteed to return only 1 row per dept. Using the GROUP BY approach,if there is a tie on join_date and end_date, then it will return all contenders in that dept. Using ROW_NUMBER, it's easy to add as many tie-breaking expressions as you want, and, if there is still a tie, it will arbirarily pick one of the rows involved in the tie as #1.
    Thanks for posting the CREATE TABLE and INSERT statments! That's very helpful.
    Edited by: Frank Kulash on Aug 2, 2011 9:00 PM
    Added GROUP BY alternative

  • Displaying Date value using ASP

    Dear all,
    I am currently trying to display the value in an Oracle date
    field using ASP. However, I encountered the following error :
    Microsoft OLE DB Provider for ODBC Drivers error '80020009'
    Multiple-step OLE DB operation generated errors. Check each OLE
    DB status value, if available. No work was done.
    My code is as follow:
    set abc= server.createobject("adodb.recordset")
    abc.activeconnection = gDBConnectString
    sqlstring = "select c_datetime from counter_tbl where c_variable
    = 'counter1'"
    abc.open sqlstring
    response.write abc("c_datetime")
    I have tried using to_Date to format the field but when I try to
    display it, there will be the same errors again. The SQL
    statement executes successfully in SQLPLUS.
    Please help. Thanks!
    Regards,
    Dara.

    Hi Colin,
    I may be misinterpreting your question -- so I don't know how much this will help you, but the Oracle-to-java mapping for database table columns with the DATE datatype changed in the "ojdbc14.jar" driver (from the "classes12.zip" driver), from "java.sql.Timestamp" to "java.sql.Date".
    However, since I saw no details in your post regarding your environment/platform, like I said before, this may not help you much!
    In any case, the mappings (Oracle-to-java) are detailed in the Oracle documentation -- which is available from the Tahiti Web site (in case you didn't know). Have you checked the documentation?
    Good Luck,
    Avi.

  • Retrieving Variables and Values using EPM Functions

    Hi Experts
    Does anybody know how this fuctions works with and example?
    32.26 EPMVariableList
    Applies to: SAP BW (INA Provider) connections.
    This function retrieves the list of variables for the query for the specified connection. You can display the
    variables:
    ● in the current cell, where a specified character separates the variable names.
    ● in one or more dropdown lists
    32.27 EPMVariableValue
    Applies to: SAP BW (INA Provider) connections.
    This function retrieves the value(s) currently selected for the specified variable. The value(s) is (are) retrieved in
    the cell in which you enter the function.
    I already checked the EPM Add-in for Microsoft Office User Guide but is didn't say anything helpfull
    Regards
    Ariel

    Hi Ariel,
    It's clearly stated in help: "Applies to: SAP BW (INA Provider) connections."
    And if look on connection types:
    4.4.2 SAP BW (INA Provider) Connections
    Using the SAP BW (INA Provider) connection, you can do the following:
    • Work with BW queries (with or without variables).
    • Retrieve data, using reports.
    • Enter and save data, using input forms.
    • Execute planning function for BW Integrated Planning, using what are called in the EPM add-in "data processes".
    And some info about 10.1
    Unfortunately I don't have 10.1...
    Vadim

  • Finding the max value using partition by

    Hi
    I've the following requirement where i need to select the max value from the data
    WITH T AS
    (SELECT 48003 ID ,'SPR' RTNG_TP_CD , 'INS' RL_CD ,'A-' RAT_CD FROM DUAL UNION ALL
    SELECT 48003 , 'SLNG' ,'INS','A-' FROM DUAL)
    SELECT distinct  ID, RTNG_TP_CD,RL_CD,MAX(RAT_CD)  over (partition by id) RT_CD
    FROM T
    For a single id if there are 2 RTNG_TP_CD then select the max(rat_cd) by displayin rtng_tp_cd =SLNG
    Expected Output
    48003 , SLNG , INS , A-Thank You

    WITH T AS
    (SELECT 48003 ID ,'SPR' RTNG_TP_CD , 'INS' RL_CD ,'A-' RAT_CD FROM DUAL UNION ALL
    SELECT 48003 , 'SLNG' ,'INS','A-' FROM DUAL)
    SELECT distinct ID,decode((select count(*) from t where id=t.id),1,RTNG_TP_CD, 'SLNG') RTNG_TP_CD,RL_CD,MAX(RAT_CD) over (partition by id) RT_CD
    FROM T

  • How to insert data values using Poplist to both block items....

    Hi,
    I have created a poplist which should return a sequence(which is stored in a db table) and a description .
    The sequence(stored in table) is of number datatype and the description is of varchar2.....
    I have created the required record group as:
    rg_id := Create_Group_From_Query('TEXNIKOS_GROUP', 'select eponymo , to_char(seq_code_ergazomenoy)
                                                           from ref_ergazomenos,ref_eidikothta
                                                           where ref_ergazomenos.code_eidikothtas_type_id=ref_eidikothta.seq_code_eidikothtas
                                                           order by 1');
       status := Populate_Group( rg_id );
       if (status = 0)
         then
          POPULATE_LIST('MOD2_KLISI_VLAVIS.TEXNIKOS_FNAME','TEXNIKOS_GROUP');
       end if;The field 'MOD2_KLISI_VLAVIS.TEXNIKOS_FNAME' is the description i described above ... and whereas this block item is filled with the selected poplist... the sequence - the code of the db table- is not.....
    Is it possible to do so.... ????
    NOTE: i use Dev10g.
    Many thanks,
    Simon

    I have two block items:
    seq_code_ergazomenoy: number datatype , db item , invisible
    eponymo:varchar2 datatype , non db item , visible
    How to fill these both block items using the written record group...?????
    Now , only the "eponymo" block item is filled but not the required "seq_code_ergazomenoy"....
    In other words.... is there any manner to do the column mapping of the two selected columns (in the dynamically created record group) to the two block items....????
    Thanks,
    Simon
    Message was edited by:
    sgalaxy

  • I upgraded to OS7 and am having trouble with the reminder app. can not find the dates that use to be at the bottom

    tips on using Reminders with OS7

    iOS 5: Understanding Location Services
    http://support.apple.com/kb/ht4995
     Cheers, Tom

  • How to find the RGB Values of a Color for Hyperion

    When customizing your Hyperion forms, we come across situations where we need the exact RGB value of a given color. This article explains a simple technique to find the RGB values using MS Paint and the Calculator applications that come as standard applications with your operating system.
    Here are the steps to find the exact RGB value of a given color.
    1) View your Hyperion form using IE, scroll down until you see the color you want to find the RGB value and press the "Print Screen" button (in your keyboard).
    2) Open MS Paint and click Edit -> Paste or simply Ctrl+V. What you saw in the browser will be copied as a new untitled image.
    3) Select the Color Picker tool and click on an area that has the color you want to match.
    4) Now go to Edit Colors... option and click on the "Define Custom Colors >>" button. The color you picked will be selected on this palette. At the bottom right hand corner you will see the Red, Green and Blue values you need. Note down the R,G,B values (given in decimal).
    5) Now we need to find out the hexa-decimal values that correspond to those decimal values. This is where we use the simple Calculator. Open the Calculator application from Program -> Accessories. Switch to the scientific mode by clicking View ->Scientific.
    6) By default it will be in the decimal number mode. Enter the R value (238 in this example) and click on the Hex radio button. The corresponding hexa-decimal value (EE in this case) will be shown in the dial.
    The selected color in this case has the same value for R, G and B. (In fact, all shades of gray has the same values for R, G and B.) Therefore, the RGB value of the background color that we need is #eeeeee. Repeat step 6 to find out the hex value for the Green and Blue elements, if they are different.
    Tip:
    If you find it difficult to pick a color, zoom the image by pressing Ctrl+PageDown or using View -> Zoom -> Custom... option.

    These tips are to find the RGB color of HFM default row where row is text and text lines in data columns are also visible to business users as Yellow as an input cell. By applying the same RGB color you can apply the same color to your data cells or rows. This post shows how to identify color from any web view-able object.
    Regards,
    Manaf

  • Change Data Entry Template variable values using javascript

    Content ServerIs there a way to change the Data Entry Template's text/Integer variable values using javascript?

    I believe you're asking if you can change the value of a content item's property using Javascript (a content item is created from a data entry template, which defines the set of properties).
    Unfortunately there is not a way to permanently change it in the content item, since Javascript is executed client-side rather than on the server. However, if you're just interested in how the value is displayed in the published HTML, you could modify the presentation template to store the property value into a Javascript variable and then manipulate it to be displayed in whatever manner you wish.

  • Using variable date in a VIEW

    Can I create a view in Oracle whereby the date I use to select the records can be a variable?
    For example:
    select * from marketer_account
    where '30-NOV-2009' between mka_eff_dt and mka_exp_dt
    and mka_service_type = 'E';
    I want to get a list of all records on the marketer account table that were active on 30-NOV-2009.
    But more importantly the users want a view that they can run every month to get this information, so in another month we may need the same query but:
    select * from marketer_account
    where '31-DEC-2009' between mka_eff_dt and mka_exp_dt
    and mka_service_type = 'E';
    So I want to replace the '31-DEC-2009' with a generic date. I tried this:
    select *
    from marketer_account
    where last_day(add_months(sysdate,-2)) between mka_eff_dt and mka_exp_dt
    and mka_service_type = 'E';
    This will take the last day of 2 months ago from current: ie. If they run it now, they will get 31-JAN-2010 here.
    Is this OK to do? Or is there a better way? Maybe the users want to change the date and run it for a date of their choosing?

    Hi,
    Besides SYS_CONTEXT, you can also store the base date in a table. If you make it a Global Temporary Table, then different sessions can use different parameters at the same time. You can even have multiple copies of the the same view in the same query, all with different parameters.
    If the variable date is always the same distance from today's date, then you can simply use SYSDATE in the view.
    For example, to find what was active on the last day of the month 3 months ago:
    select  *
    from  marketer_account
    where   ADD_MONTHS (TRUNC (SYSDATE, 'MONTH'), -2) -1
            between mka_eff_dt
            and     mka_exp_dt
    and     mka_service_type = 'E';If you run this any time in March, 2010, it gets the same results as:
    select  *
    from  marketer_account
    where   TO_DATE ('31-Dec-2009', 'DD-Mon-YYYY')
            between mka_eff_dt
            and     mka_exp_dt
    and     mka_service_type = 'E';but in April, it's as if the magic date was automatically changed to '31-Jan-2010'.

  • How to  use data function using characterstics variable for calculation on

    how to  use data function using characterstics variable for calculation on  attribute as key figure

    Hi Gayatri
    Did you not see my answer for CASE because CASE does indeed offer the use of the BETWEEN clause, but DECODE does not. Let me give you a little synopsis of DECODE.
    In its most simple form it takes 4 values and looks like this: DECODE(A, B, C, D)
    This essentially means, IF A = B THEN C ELSE D
    The trick to solving BETWEEN in a DECODE is to work out algoriths where A = B. Because we don't know how many values are between 00 and 99, although I could guess there were 100 we could of course have 100 parts in the DECODE but that would be awful. How about if we look at it another way and say this:
    IF PART_NUMBER < 'SDK00' THEN pay_amount
    ELSE IF PART_NUMBER > 'SDK99' THEN pay_AMOUNT
    ELSE pay_amount + 100
    This statement only had 2 hard coded values, but how to make DECODE work with less than? Easy, we use the LEAST function. The LEAST function takes 2 values and returns the one with the lowest value. So I use LEAST(PART_NUMBER, 'SDK00') then whenever the PART_NUMBER is lower than SDK00 it will be true. A similar situation exists for the opposite function GREATEST. Putting all of this together then, you can do this:
    DECODE(PART_NUMBER, GREATEST(PART_NUMBER, 'SDK00'), DECODE(PART_NUMBER, LEAST(PART_NUMBER, 'SDK99'), PAY_AMOUNT * 100, PAY_AMOUNT), PAY_AMOUNT)
    In English this can be read as follows:
    IF the PART_NUMBER is greater than or equal to SDK00 and the PART_NUMBER is less than or equal to SDK99 THEN PAY_AMOUNT x 100 ELSE 0
    Best wishes
    Michael

  • How CallableStatement in JSP use setDate() method to insert the date value into DB?

    Dear all,
    I met a strange error message when i insert a date value into DB via JSP call PL/SQL procedures.
    The error seems caused by the setDate(index, date) method with CallableStatement.
    The message is: Can not find the setDate(int, java.util.Date) method in the CallableStatement interfaces.
    Any ideas?
    Thanks advanced.

    Thank you!:)
    I solved it using this:
    String name="david";
                stmt = con1.createStatement();
                String prikaz1 = "INSERT INTO table (id,age,surname,name) IN 'C:\\Users\\David\\Desktop\\db.mdb' SELECT id,age,surname,' " + name + " ' FROM table2";
                stmt.executeUpdate(prikaz1);

  • Default form value using sql with bind variable

    I wish to create a form based upon a table with a foreign key. I wish to add a field to the form that is an uneditable text field with a default value using sql of 'select name from other_table where other_table_id = ?' where ? is a bind variable defined by a hidden field which is the value of the foreign key identified at runtime. How can this be done?
    null

    I don't think that will work. I have multiple people accessing the Portal at the same time with the same login (or lack of as public will be the most common user). I could set it easily enough as the value is passed to the form by a link object, so I could add it to the before page plsql block and set the value. But I am uncertain how it will behave in a multi-user mutlitasking environment.
    Maybe I should describe what I am looking to accomplish. I want to create a display above a form that will list static details from other tables (i.e. when editing a user's phone number, which is in one table, you want the user to see the person's name, which is in another table, and the form is based upon the phone table) ...
    Just as I am thinking about it, I thought of an idea. I could put some specific code in the before displaying page plsql section to query the database and use htp to output the information for data not in the table the form is based upon. I will try this and see how it works. It would have been nice to have just created a field that is not editable and had a default value, but this should work as well.
    Let me know if you see any problem with this or if you have any better suggestions.
    Thanks for the fast response.

  • Bex. Query in 3.5 : All Variable values using Text Elements not shown

    I am using a Variable, for which I am suppose to select more than 15 values . After executing the report, I am trying look for these values using Layout--> Display Text Elements --> All.
    Only first 10-11 values are shown and the rest are shown as ...
    As such, I cannot see all the values in WAD too, in the info tab. 
    Is there any limitations to display the values with text elements ?
    Any idea how to display all the values ?
    Thanks

    You are right. I can do this if I select Filter values.
    But, I am trying to show the values entered for the variables using Layout-->Display Text elements --. Alll or variables.
    These are the values shown in the web template. The filter values goes to the data analysis tab, which are fine.
    I want to display all the values in the information tab, but only few values are show and rest are shown as ...        The same is the case when I select Layout-->Display Text elements --> All or variables. after I execute the query.

Maybe you are looking for

  • NO DATA error when running init load with 2LIS_11_VAHDR

    hi experts, I try to load initial data with 2LIS_11_VAHDR the steps I did: 1. 2LIS_11_VAHDR is activated in R/3 Log.Cockpit LBWE 2. 2LIS_11_VAHDR is replacated in BW 3. Setup tables are filled for SD Sales Orders in R/3 4. testing 2LIS_11_VAHDR with

  • I recently got my GPU error fixed, but now my MacBook Pro shuts down whenever I close the lid.

    I bought my computer in July 2010.  After 3 and a half years I finally discovered there was and an issue.  GPU error. Fine. ok.  I went to the store and even though they were nice enough to fix it for free, I'm now having another issue.  Whenever I s

  • Connecting to SQL 2005 from Oracle error

    I have an Oracle Database and SQL Database on the same server and wants to use odbc to connect to the SQL 2005 database and query tables of my choice. I did configured the ODBC correctly and called the DSN TSH_ARCHIVE. I have tested it and it works g

  • [SOLVED] Where is NetworkManager in Gnome?

    Hi, I followed the instructions on the NetworkManager Wiki page, however when I boot into Gnome I do not see an option anywhere to access network manager. I added it to my DAEMONS list in rc.conf, not sure what is going on. How can I diagnose the pro

  • Session expiry on 2 applications

    Hello I have 2 applications running on weblogic 7.0 on two managed servers , When I try to access the applications from 2 browser sessions I am getting an issue where the user session is lost from the other application, If I open the second window us