Input for query

HI,
I am doing report first time.
I have date in my key field. Report should be developed in such way that user will give month as input..then it should fetch all records with in that month..
pls its urgent help me..
Ravi
Message was edited by:
        Ravi kanth

hi ravi..
create a variable for the date and use it in replacement path..
chk these links for creation of variables ...
http://help.sap.com/saphelp_nw04/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/af/809528939d5b4fbff7e16a5bdc0d85/content.htm
I think the following links help u.
http://help.sap.com/search/highlightContent.jsp
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
Please check this link which is clearly explained with example and step by step how to create replacement path variable.
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html.
replacement path
why we use customet exit variables?
Re: Selection Variables in WAD
variables--    with examples .
hope it helps..

Similar Messages

  • Need inputs for query

    Hi,
    Need inputs for generating the query in the below format:
    Workflow_name Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
    Prerequisites
    UpdateETLTables
    i have written a query but the output it is generating is in a different way:
    SELECT workflow_name,
    TO_CHAR (TRUNC (start_time, 'mm'), 'Month'),
    COUNT(*)
    FROM rep_wflow_run
    WHERE SUBJECT_AREA='SBAN'
    AND START_TIME > '01-AUG-2011'
    AND START_TIME < '31-DEC-2011'
    GROUP BY TRUNC (start_time, 'mm'), workflow_name
    order by workflow_name
    the o/p for the above query was:
    Prerequisites     August      491
    Prerequisites     September     465
    Prerequisites     October      479
    Prerequisites     November      479
    Prerequisites     December      475
    i want the query that should print the o/p as :
    Workflow     Aug Sep Oct Nov Dec
    Prerequisites 491 465 479 479 475
    UpdateETLTables 10 200 300 56 14
    Edited by: 981806 on Jan 14, 2013 2:38 PM

    A couple of thoughts in no particular order.
    1. Read the FAQ and learn how to use { code } tags to post a readable listing
    2. Your version number is (all decimal points)
    3. Provide DDL for the table
    4. Provide INSERT statements with sample data
    5. This is horrifying
    START_TIME > '01-AUG-2011' Dates are dates ... not strings. Best case you have an implicit conversion ... worst case a statement that will return invalid results. Either change the data type or do an explicit cast with TO_DATE.

  • Error while running a query-Input for variable 'Posting Period is invalid

    Hi All,
    NOTE: This error is only cropping up when I input 12 in the posting period variable selection. If I put in any other value from 1-11 I am not getting any errors. Any ideas why this might be happening?
    I am getting the following error when I try and run a query - "Input for variable 'Posting Period (Single entry, mandatory)' is invalid" - On further clicking on this error the message displayed is as follows -
    Diagnosis
    Variable Posting Period (Single Value Entry, Mandatory) is used as a lower limit (X) and an upper limit () in an interval selection. This limit has the value #.
    System Response
    Procedure
    Enter a different value for variable Posting Period (Single Value Entry, Mandatory). If the value of the other limit is determined by another variable, you can change its value also.
    Procedure for System Administration

    OK.
    Well, if the variable is not used in any interval selection, then I would say "something happened to it".
    I would make a copy of the query and run it to check if I get the same problem with period 12.
       -> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
    If so, then try removing the variable completely from the query and hardcode restriction to 12.
       -> If problem still persists, I would have to do some thinking.
    If problem is gone, then add the variable again. Check.
       -> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
    If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
    Good luck!
    Jacob
    P.S: what fisc year variant are you using?
    Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM

  • Help needed in mapping BI query output to use as input for BAPI

    Hi,
    After wrestling with it for quite some time I choose to ask yet another question here. I want to use the output of a BI query I use as input for a BAPI. I just can not get the mapping correctly:
    The query delivers: 104908BA092F7501F5E1008000829000AC
    I need: 104908BA092F7501F5E1008000829000AC
    How can I lose the two first digits? Thanks in advance!
    Best regards,
    Jan

    Nevermind. I found out myself. I am now using the statement MID(@GUID,2,32) in the connection.

  • Can we display comments row for row in Input Ready Query...

    Dear All,
    Currently I have created Web template with Signle Document. When executed it in the Portal it will come up with a "Save" and "Cancel" button of its own and can allowing me to capture comment here & Finally Click on SAVE button which was stored in Documents area in RSA1.
    Now I am was trying to figure out to display comments Row for Row in Input Ready Query...
    Can you give ideas on this...

    Check link http://help.sap.com/saphelp_nw04/helpdata/en/1e/99ea3bd7896f58e10000000a11402f/frameset.htm
    In query properties in BEx query designer you have to do settings to - Display document links
    For metadata, master data, and InfoProvider data for a query, you can display links to Documents that you have created for these objects. If documents exist for these objects, the symbol  appears next to these objects. If you click on this symbol, you jump to where the document is displayed on the Web.
    Highlight the appropriate setting so that the document links for the desired document class are displayed. The document classes are oriented to the various categories of BW objects. InfoProvider data, metadata and master data.

  • Input Ready Query, Variable read mode setting Only Values for InfoProvider

    Hi,
    I have a problem with Selection Variable for a BEx Query :
    - I'm working with SAP BI 7.0 support package 15
    - My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning);
    - Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
    - Characteristic (info-object) has set the property: Business Explorer tab--> Query Def. Filter Value Selection as Only Values in the info-provider...
    My problem is:
    when I execute a query,
    the Select Values for Variables screen appears
    I push on the Select from List button
    and Select Values For MyCharacteristic appears...
    but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
    If I build a query for the Real Time Cube it works correctly, but if the query is built for the aggregation level it doesn't work!
    Could someone explain me why it doesn't work correctly?
    Thanks in advanced
    Fede

    Thanks to  Mariana Lazar
    30.03.2009 - 12:30:36 CET - Risposta by SAP     
    Dear Fede,
    Regarding the query built on aggregation level please note the following
    the aggregation level is always a Virtual Provider built other
    InfoProvider and hence it does not have the dimension table and hence
    the F4 mode D is not supported.
    Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
    displayed in the value list.
    Reference from the note
    984229 F4 modes for input help as of SAP NetWeaver 2004s BI
    4. Since other InfoProviders do not have a dimension table, the system
    displays only posted values if you select "Only Posted Values for
    Navigation". Otherwise, it displays the values from the master data
    table.
    Hope this should clarify your doubts. Please let me know if you have
    questions else please confirm the message at your earliest convenience.
    Thank you for your cooperation and kind regards,
    @KR@ Mariana Lazar
    Senior Support Consultant
    SAP Active Global Support
    Netweaver Business Warehouse

  • How i can give date in each input for applying the exchange rate in Query.

    Hi Gurus,
    We have a requirement to create some currency conversion queries. In the selection screen user should be able to give four inputs. Like given below
    Input 1.          a)  key figures
                            b) Fiscal Year
                            c) Fiscal Period
                            d) Exchange Rate Type
                            e) Date (Exchange rate will be applied which is applicable on the given date)
      Input 2.         a)  key figures
                            b) Fiscal Year
                            c) Fiscal Period
                            d) Exchange Rate Type
                            e) Date (Exchange rate will be applied which is applicable on the given date)
    Input 3.          a)  key figures
                            b) Fiscal Year
                            c) Fiscal Period
                            d) Exchange Rate Type
                            e) Date (Exchange rate will be applied which is applicable on the given date)
    Input 4.          a)  key figures
                            b) Fiscal Year
                            c) Fiscal Period
                            d) Exchange Rate Type
                            e) Date (Exchange rate will be applied which is applicable on the given date)
    So we will have 4 key figures in the query results with the exchange rate applied on the given date.
    I will make four restricted key figures and make the query. I do not know how i can give date in each input for applying the exchange rate.
    Please give your suggestions to resolve my problem.
    Many thaks in advance.

    You can not bring the key figures in the selection screen for the currency translation. Instead you can apply a currency translation type to respective key figures in the query definition.
    The currency translation type can be defined in RSCUR transaction, where you can maintain the parameters like Exchange Rate Type, Exchange Rate Date etc.
    You can refer one of my article on this at
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/600157ec-44e5-2b10-abb0-dc9d06ba6c2f
    Hope this helps.
    Regards,
    Yogesh

  • How to calculate and save planning data in bex input-ready query using keyfigures for calculation from different infoproviders

    Hi Dear All,
    We have two real time infocubes and two aggregation levels based on these cubes in one multiprovider
    first cube1 is like
    char1| char2| keyfig_coefficient(single value for each combination of char1 and char2)
    same aggregation level1
    (we have input query to fill coefficients by one responsible user)
    second cube2 is like
    char1| char2| keyfig_quantity| keyfig_result
    same aggregation level2
    Input ready query should be like (for all other users of different org units)
    char1|char2|keyfig_coeff| keyfig_quant(for input) | keyfig_result = keyfig_coeff*keyfig_quant(calculated value, should be saved to cube2)
    And we don't have pregenerated lines in cube2, users have to add new lines themselves by wad.
    Question is, what is the optimal (easiest) way to make calculation and save result data to cube2 where keyfigures for calculation should be used from different infoproviders. I need just a hint.
    Appreciate any help.
    Nadya.

    I found decision, agregation levels sould be based on multiprovider, not included.

  • Restriction data entry for input ready query

    Dear All,
    I have an input ready query with two structures for rows and columns.
    However, I have set one of columns' structure's member as "data can be changed with planning functions", i'm able to enter data for that column. When i execute save function, entered valus are being disapperaed.(not benig written to the cube)
    But i want to restrict data entrance for that column. (Like display functionality in BPS)
    I know i can protect fields with excel functionality, but we are using web environment.
    How can i resolve mentioned issue?
    Thanks
    Alkan

    Hi Bindu,
    Thanks for your quich answer.
    In web environment, i think i need to use WEB API.
    Do i need to write java script? Or is there any particular class to manage the properties of the cells?
    BR
    Alkan

  • Wrong cache for input-ready query

    Dear Expert,
    I encountered some issues about input-ready query. When I first open one input-ready query and input some plan data, I can save the data successfully. But after I saved data for the first query, if I don't re-connect the analyzer and open a new query, usually the plan data in the new query can not be saved successfully. After re-connect the analyzer, it works well. When I debug it, if I do not re-connect analyzer, I found the new query I opened still got some data which belong to the first query (Such as variable value). I guess it probably caused by some Bex cache? (It's not OLAP cache in RSCACHE, as we have disabled the cache for planning query in RSRT).
    Could you please help me with this? Is there any way we can disable this kind of cache for the input-ready query? Or if we have any solution to clear this kind of cache without re-connect bex analyzer every time when I open a new input-ready query.
    Thank you in advance.
    Best Regards,
    Fuyang

    Hi Fuyang,
    We are facing similar problem.
    1st problem:
    (1) When we run workbook that time variable values are automatically filled up.
    (2) Variable values for version, year is filled up and then query output is displaying.
    (3) There is no personalization or variant used. Its looks to me Values are coming from Cache.
    (4) Cleared RSRCACHE and there is no cache used for this query.
    (5) If we enter version = u201CZ2010u201D and Year = u201C2010u201D and after running workbook (input query) and then closing and reopening same variable values are coming. If we change version from u201CZ2010u201D to u201CZ2011u201D and run/save query and again reopening version variable values are coming again to u201CZ2010u201D.
    2nd problem:
    (1) We have planning sequence which is using below variables.
    (2) Version, Year, Plant.
    (3) Version and Year is input ready variables
    (4) Plant is Userexit variable.
    (5) Plant Dropdown is used.
    (6)When we execute planning sequence first time without filtering plant then it is working fine. Receiving message u201C100 records read,100 records changedu201D u2013 This is working fine.
    (7) When we use plant dropdown and filtering u201CABCu201D plant then planning sequence working fine and receiving message u201C20 records read, 20 records changedu201D u2013 This is working fine.
    (8)When we clear drop down/filter using CMD - REMOVE FILTER which is used in button clear plant u201CABCu201D filter. u2013 This is working fine.
    (9) Then we again apply planning sequence for all the records and receiving message u201C20 records read, 20 records changedu201D.  This is not working. The message should come u201C100 records read,100 records changedu201D
    This time plant variable has still with value u201CABCu201D and not clearing in variable cache.
    We are on below BI 7 level and above application is Excel based.
    SAP_ABA u2013 701-SAPKA70104
    SAP_BASIS-701-SAPKB70104
    SAP_BW-701-SAPKW70104
    BI_CONT-701-SAPK-70403INBICONT
    SAP GUI  7.1 patch 17
    SAP BI BEx AddOn 7.1 patch 10 (1000)
    Any help will be greatly appreciated.
    Thanks in advance.

  • Chars in columns for Input Ready query

    Hi
    Hope every body is just doing fine. I am puzzled with following doubt when compare BPS layout builder to IP input ready report. Please help me to clear some smoke here.
    We have a simple input ready query to enter some values in the key figure for given combination of characteristics for 12 fiscal year periods in the year.
    BPS >>> In BPS manual planning layout we would have selected the Key figure and Fiscal Year Period in data column and profit center and Plan Year in Header and Other characteristics like GL account,cost center in lead column so that we can hide the Fiscal year period by restricting the values of key figure for particular fiscal year period value while creating columns in Data columns like Jan 07. etc
    IP>>> So in IP, I have fiscal year period in aggregation level with all other chars and key figure. In input ready report, I have used the structure to pull the key figure and fiscal year period value to come up with column and not included the key figure in rows or columns of report but when I was executing the query system is automatically including the fiscal year period as free char. I am puzzled on how this is going to work. Is fiscal year period not populated automatically based on column.
    Your inputs are highly appreciated with point.
    Thanks,
    Raj.

    Hi Raj,
    Experiencing similar problems. Which GUI are you on ?
    thanks
    Ian

  • Input ready query on Multiprovider displays two row for two Infoproviders

    Hello experts,
    We are using below design to develop an input ready query.
                       Input ready query
                           Multiprovider
    Aggregation level 1      Aggegation level 2
    Realtime cube 1            Real time cube 2
    As we are developing Input ready query on multiprovider, it is automatically creating characteristic named 0INFOPROV at multiprovider and query level. 0INFOPROV contains values of Infoproviders on which multiprovider is created.
    char1  cha2 Infoprovider                    key1     Key2
    R1       #       Aggregation level 1        10          #
            P1     Aggregation level 2         #              20
    During planning, we have to plan on separate row for each infoprovider.
    is there any way we can avoid this issue and perform planning on single row for both infoproviders?
    Thanks,
    Mitesh

    Hi,
    Please refer following document.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2?QuickLink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2?QuickLink=index&overridelayout=true]
    This Documents gives step by step procedure to combine thw rows with # iand with char value nto a single row.
    Regards,
    Geetanjali

  • How to use output of one query as an input for another

    Hi Gurus,
    can you give me any links on how to use an output of one query as an input for another (preferably if this can be done in a dynamic/on the fly way)?
    thanks

    You can use Replacement Path Variable for this purpose. See this detailed documentation.
    http://help.sap.com/saphelp_nw04s/helpdata/en/bd/589b3c494d8e15e10000000a114084/content.htm
    Abhijit
    Edited by: ABHIJIT TEMBHEKAR on Nov 19, 2008 9:48 AM

  • Every value of an InfoObject as input for a customer exit in Query

    Hi,
    I have a Query which shows a contract number in rows and an amount in columns. Now I want an additional key figure in columns which should be filled through a customer exit. This exit should read from another DSO an additional amount for every contract number (that means every contract number per row should be used as input for the where statement of the DSO select).
    Can anyone tell me if this is possible and which is the best way to realize this?
    Thanks and greetings,
    Sebastian

    you cannot have customer exit for such requirement
    then use virtual KF  concept
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c?quicklink=index&overridelayout=true.

  • How to implement the input help at web for the input ready query?

    Dear all,
    As you konw when we create the input ready query for Planning, we can insert the new record for plan with Analyzer tool. We also can use input help(double clike the space) for input the master data.
    I want to konw when I use Web Appliaction Designer to run the query at the web, How can I use the input help for planning data.
    My customer request me must implement the input help function at web.
    Thanks a lot
    best regards,
    Leon
    Message was edited by: Leon Wang
    Message was edited by: Leon Wang

    Hello,
    It seems Input Help is not possible with WEB.
    Check out the link below -
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm">Input Help - with Web application designer</a>
    <b>Bex Analyzer -</b> You access input help for a cell by double clicking on it or choosing the F4 button.
    <b>Web Appln Designer</b> - Input help is not available
    Hope it Helps
    Chetan
    @CP..

Maybe you are looking for

  • QOS - VOIP traffic: payload and signalling

    Two questions For VOIP traffic, Q.1. should the payload and signalling be assigned the same COS ?? to avoid losing Signalling traffic. Q.2. flash upgrades to the phone sets are tftp. Should this traffic be assigned COS=0 or the same cos as the signal

  • Form submits

    I have following jsp page in struts. if you see, this page has four editable textfields and one submit button. when i edit four textfiled values and then try to press submit, I want to submit these four textfiled values to a stored procedure which up

  • IP/TV "Could not create RTSP connection with Program manager"

    Hello, When we try to view IP/TV content with the IP/TV viewer we are able to but when we try to view it through a webpage I recieve the error: "Could not create RTSP connection with Program manager" I have no idea what the problem is. Anyone have an

  • Conversion functions in Oracle 11g Express;HEXTORAW &RAWTOHEX

    hi everybody ! hextoraw ('0041') must return A but it doesn't return this value ,,it returns 0041 I'm using Oracle 11g Express select hextoraw('0041') from dual; --> 0041 ? but must return A why is that ? please help me thank you

  • Desktopman​ager doesnot recognize my password

    7100v: i havepassword enabled my 7100v, on the handheld. however, when i run the desktop manager it asks for the password and it doesnot recognize the password assigned to the handheld. what to do? Solved! Go to Solution.