Query Variable Selection Creation

HI
we have a req to select 600 material numbers in a query through the variable screen, but the users cant select 600 variables every time, RIGHT.... so we are trying to brianstorm on a work around, if you have worked on an instance like this please help us out. the selection for the query has to be done from the variable screen.
thanks

Dear Darshak,
Call the Data (material Values ) through another Query by replacement Path.
Step No 1
Create a Query and store all you materials in that query.
Step No 2
And call this query in the MAIN Query by creating an input variable for material and in the properties
In general TAB
1)Processing by replacement path
2)Ref Char -Material
In replacement path Tab
1)give the Query Name which stores the material
By this yuo can get all the Values for the material in your Query as input.
Get back if u have any issues !!!!!!!
Rgds
SVU123
Edited by: svu123 on Feb 10, 2009 8:09 PM

Similar Messages

  • Query variable : selection option with no interval

    Hello,
    Is it possible to define a query variable as selection option, with no interval (like in abap).
    I am in 3.X version.
    Many Thanks in advance,
    Manuel

    Hi Manuel,
    This should be possible through multiple single value variables, but to ensure that the user has not in input the same charateristic value for exclusion and selection you may choose to write customer exit at the background.
    I think interval and select option would allow 'To values'.
    So I was wrong in what I said before. SORRY
    However multiple single value would not allow exclusion, I think.
    Your scenario would only be possible by excluding multiple single values in variable type select option and process the variable using customer exit, to trmove all to Values.
    But you are right, you cannot have your scenrio handled , I think.
    ( ie multiple exclusion in from values with no To Values )
    One more way is restrict your characteristic by two input ready variables, one select option for exclusion and have a customer exit to delte all inclusion that were input accidently and one multiple value ready for input variable.
    But, all in all, there would be no straight drive through this I think.
    Hope it helps,
    Regards,
    Sunmit.

  • Not getting BI query variable selection screen  for few test users

    Hi,
    i am having problem when i am executing the reports. i am not getting variable screen for the test users ID's. but i am getting the screen when when 0BI_ALL authorization selected.
    i want role based authorization, and not complete authorization.
    the parameters in su01 are scl(X) and wlc(X   X  XX   X)
    Thanks,

    Can you please check into Infoobject Maintenance screen in Bex Tab i.e. Query Execution Filter Value Selection. assign "Values from Masterdata Table".
    Try again and let me know.
    Nagesh Ganisetti.

  • Variable selection in report

    Hi,
      In my query variable selection , for calmonth/year the user should enter cal month /year value. If the user doesnot enter the value it should take current month and year for running the report .how to achieve this.
    Regards
    Arunkumar

    You need to create a customer exit variable .
    Write a piece of code in CMOD for this exit with the help of ABAP person.
    Case i_vnam
    When 'variable'
    Enter the code logic.
    save and activate it.
    use the variable in report.
    Explain the logic to ABAP person he can help u.

  • Performance issues with query input variable selection in ODS

    Hi everyone
    We've upgraded from BW 3.0B to NW04s BI using SP12.
    There is a problem encountered with input variable selection. This happens regardless of using BEx (new or old 3.x) or using RSRT. When using the F4 search help (or "Select from list" in BEx context) to list possible values, this takes forever for large ODS (containing millions of records).
    Using ST01 and SM50 to trace the code in the same query, we see a difference here:
    <u>NW04s BI SQL command</u>
    SELECT                                                                               
    "P0000"."COMP_CODE" AS "0000000032" ,"T0000"."TXTMD" AS "0000000032_TXTMD"                             
    FROM                                                                               
    ( "/BI0/PCOMP_CODE" "P0000" ) LEFT OUTER JOIN "/BI0/TCOMP_CODE" "T0000" ON  "P0000"."COMP_CODE" = "T0000
      "."COMP_CODE"                                                                               
    WHERE                                                                               
    "P0000"."OBJVERS" = 'A' AND "P0000"."COMP_CODE" IN ( SELECT "O"."COMP_CODE" AS "KEY" FROM              
      "/BI0/APY_PP_C100" "O" )                                                                               
    ORDER BY                                                                               
    "P0000"."COMP_CODE" ASC#                                                                               
    <u>BW 3.0B SQL command:</u>
    SELECT ROWNUM < 500 ....
    In 3.0B, rownum is limited to 500 and this results in a speedy, though limited query. In the new NW04s BI, this renders the selection screen unusable as ABAP dumps for timing out will occur first due to the large data volume searched using sequential read.
    It will not be feasible to create indexes for every single query selection parameter (issues with oerformance when loading, space required etc.). Is there a reason why SAP seems have fallen back on a less effective code for this?
    I have tried to change the number of selected rows to <500 in BEx settings but one must reach a responsive screen in order to get to that setting and it is not always possible or saved for the next run.
    Anyone with similar experience or can provide help on this?

    here is a reason why the F4 help on ODS was faster in BW 3.x.
    In BW 3.x the ODS did not support the read mode "Only values in
    InfoProvider". So If I compare the different SQL statements I propose
    to change the F4 mode in the InfoProvider specific properties to
    "About master data". This is the fastest F4 mode.
    As an alternative you can define indexes on your ODS to speed up F4.
    So would need a non-unique index on InfoObject 0COMP_CODE in your ODS
    Check below for insights
    https://forums.sdn.sap.com/click.jspa?searchID=6224682&messageID=2841493
    Hope it Helps
    Chetan
    @CP..

  • How to add customize message on the variable selection screen in the query

    Hi all,
    Can we add an customise message on the variable selection screen in the query? If yes please let me know how it can be achevied?
    Thanks,
    Rani

    Hi Rani,
    I faced a similar issue (for what I understand your request is).
    My requirement for the Variable Screen was to do:
       1) place a link to a ppt file
       2) remove buttons "Save", "Save As...), "Delete"... the standard buttons come when running the Query or WebTempl
    We were using a Web Templ for BI7.0
    I struggled trying to find out how to do it. My conclusions are:
    - WAD, not sure we can accomplish it using a Web Template but i did not "play" a lot with the Web_Template Properties in order to know
    - XHTML, I was told in my post HTML modification was the way, but I have close to nil background in HTML and couold not find the way of accessing the Variable Entry screen
    For instance, I had to remove similar buttons and change some font size from a link on the Web Template (WAD), which was pretty straight forward. In WAD the buttons come with its own icon and to increase the Font size for that link we used XHTML (<font size="2" >). But the heck of the variable screen...well, i just did not get trhough to it to modify it in any way.
    Good luck,
    Definetly in a Query I would say that no.
    alex
    PS: If anyone had a better insight, please feel free to share it.

  • Variable Selections in BEx Query Variants

    I am trying to save a variant for a BEx query that uses a floating date range.  I want the date range to move with the calendar.  I r/3 this is done with the variable selection.  In BW 3.5, I don't see how this is possible.  I only see options for TVARVC which are user exit selections.  Can someone point me in the right direction.
    Regards,
    Kevin B

    Hi Kevin
    Your requirment is that date range should move with calendar (ex. In first week , the date range should be from 1 to 7 of the current month & in  second week the date range should be from 1 to 15 of current month) ...if it is like this then you can go ahead with - create a variable and do the coding with sydatum (system date ) and embed the required logic. But if your requirement is completely random then you can not use this.
    Hope this helps
    Regards
    Pradip
    (Rewarding points is the way of saying thanks on SDN !!)

  • Error when executing query without passing variable selection

    Hi Gurus
    I am getting an error while executing a query with out passing values for variables
    When executing the query by passing the filter values report returns the data
    When executing the query with out passing variable selections the error message is
    Unknown error in SQL interface
    Error reading the data of Info Provider ZCRM_O08
    Error while reading data; navigation possible
    System error in program SSAPLRS_EXCEPTION and form
    RS_EXCEPTION_TO_MESSAGE
    No Data Available
    can any one please help me in resolving this
    Thank you

    Hi Srini
    Thanks for your quick response
    When i am executing the query with selection it is returning the data
    giving error when executing with out passing the selection
    is there any other cause for this problem
    like any particular info object causes this sort of problem
    Thank you

  • How to put variable selection and the query result the same screen

    Dear all,
       how can I put the variable selection and the query result in the same screen? Please advise. Thanks.
    Jin Ming

    Not sure if you are saying you want the prompts on the same page as the results... however in 7.0 with BEx Analyzer, you can insert a text object from the design toolbar and assign it to the variable.... this way, lets say you run query for period 6, then the text object will display "6" on the same area where the query results are.

  • Using presentation variables selected in dashboard prompt in query builder

    In dashboard prompt I have made four dropdowns(have four presentation variables) and based on these values selected,can the Query Builder generate dynamic reports based on the presentation variables selected?
    I will provide the link(i.e Link of BI publisher where I stored the report) displayed to the user based on Four presentation variables.
    If we click on that link can we use the presentation variables in where clause of Query Builder in BI Publisher?
    Please help me out
    Thanks in Advance

    - OK. In the second prompt, instead of setting Default to SQL Results, set it to Specific Value.
    - Then insert '{pres_var}' in the window. I got it to work this way.
    - It supplied the PV as the default in the second prompt after hitting "Go" on the first prompt.
    Hi, thanks for your suggestion but I don't need to have the value of the presentation variable itself as the prompt default. The variable is a filter for a specific SQL clause and the default is the result of this SQL.
    Cheers
    DrPlexi

  • Select List value as Query variable

    Hi, l have a Select List and l need to put its return value inside a query to define a column.
    Select List items are "name" and "id" and l would that when l select "name" the query is:
    SELECT ...
    FROM ...
    WHERE "TAB1"."NAME" = :VAR;
    and when l select "id" the query is:
    SELECT ...
    FROM ...
    WHERE "TAB1"."ID" = :VAR;
    Is it possible to do that ??? In which way ???
    (it's several hours I'm trying but without positive solution)
    THANKS

    Assuming there is no correlation between name and id you could have just one item say P1_SEARCH and use it like this
    select ...
    from tab1
    where upper(name) = upper('%'||:P1_SEARCH||'%')
    or id = :P1_SEARCH
    That also has wildcard and is case insensitive. so if you entered smit in the search box you would find Smith or SMIT etc. The id must be an exact match.
    Do try the original idea you could try creating a SQL region on a function returning a query.
    declare
    v_sql varchar2(1000) := '';
    begin
    v_sql := 'select * from tab1 ';
    if v('P1_SELECT_LIST') = 'ID' then
    v_sql := v_sql || where id = '|| v('VAR');
    else
    v_sql := v_sql || where name = '|| =v('VAR');
    end if;
    return v_sql;
    end;

  • How to include text lable in Variable selection screen (Web Reporting)

    Hi Experts,
    I have created one query and in Web Report-->variable selection screen I have one Date field for that field I have to display a label stating that user to input date in the format YYYY.MM(like a text label).Actually I have created 10 to 12 report . I need u r suggestion such that a single change will reflect my requirement in all the reports and I have created all the reports for same multiprovider.
    Thanks in Advance
    Yours,
    Bala

    Bala,
    Prompts can originate from one of two places:  either via Designer and using the @prompt functionality or while creating the report building a prompt in the Query Filters panel.  If the prompt was built using the @prompt method, and all 10-12 reports are using that particular @prompt, then one change via Designer will cause all reports to reflect the new verbiage.  If you built the 10-12 reports using the prompt in the second scenario, then each individual report needs to be opened, modified and then saved.  If you must use the latter method, then you can open the first report, modify the prompt verbiage, then highlight the new verbiage with your mouse and hit Control-C (which copies that text to the Clipboard of your Windows system).  Then go to the second report, locate the verbiage that needs to be changed, delete it, then Control-V (which pastes), and voila, some keyboarding strokes are saved....
    Thanks,
    John

  • Limit list of values in variable selection screen

    Hi
    Apologies if this has been asked / answered elsewhere, but I thought I would put it out there, at least while I continue trying to find a solution.
    We have a requirement to limit the data from which a user is allowed to select values in the variable selection screen. I know how to write the ABAP code that will return the list of data from which the user can choose, but not sure how to implement that in the query variable.
    Essentially, the BEx query needs an input on username, and the current user should be able to choose from a list of usernames. That list of usernames should only be usernames to which the current user has access.
    Don't worry about the linking of current user to user names, that is taken care of in our DSO.
    What I am after, is limiting the data that comes back when the "F4 Help" type button is pressed on the variable screen.
    I can default a value in the customer exit variable using ABAP code in the i_step = 1 loop, but that doesn't seem to effect the list of data available for selection.
    Any decent ideas?
    Cheers,
    Andrew

    Hi Andrew,
    As charlie suggested go for Analysis authorization that is the simplest approach to restrict values for any object, in another way you can use following BADI for value restriction using ABAP code, refer the below link.
    [http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-BW_BADI_F4]
    By using customer exit you can only populate default values but you will not be able to restrict F4 help values.
    Regards,
    Durgesh.

  • 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

  • SAPGUI 640 patch 19, BEX SAP BW 3.x, , Netweaver04 - No variable selection

    The above in subject line is installed. Checked the installation w/sapbexc.xla, no major issues, all components were selected during frontend install. When the BEX Browser is launched I connect to BW and I select a report a Visual Basic error "Run-time error '91' Object variable or With block variable not set" occurs. Excel is opened but the expected variable selection screen does not appear. In addition to the above the BW addon patches 8 and 9 are installed and a couple of entries made into the PC registry per note 542961. SAPGUI works well for everything else as far as I can tell. What have I missed to make this work? prkctybum

    Lou,
    Please help me with this issue. We have the same similar issue you had. We can do the Global Settings going to the individual users but we are not able to push the resolution to every machine in the company, please see the note below. If you could send the resolution showing how you were able to push the code to every machine. You can mail me to [email protected].
    I’ve attempted to use .NET 2’s storeadm /LIST command to pull the BEXAddin info from the IsolatedStorage Assembly where it keeps a record of the bexaddin.dll information. However the record it keeps is of no help. The file path:
    C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\IsolatedStorage\x1smiiqw.qws\p1vq0mkf.2u2\Url.fc1l2xts4acc5iv3nxl2uoy0btkfeen5\AssemFiles\BExAddin.xml
    …is not kept here, or anywhere else that I can find. I’m going to have to do this the hard way and build something to check if IsolatedStorage exists, if so, query the folder structure, and check to see if the BEXADDIN.XML has been built, if it has, rewrite the legacy option. If it doesn’t exist, that’s the BIG issue, we’ll have to initiate Excel to run the BExAnalyzer that way it generates the IsolatedStorage and then repeat the above. The problem is that running Excel without the customer realizing that I’m running it is kinda tricky, what’s worse is that this would have to run for every user on a machine, and that’s impossible to do without everyone’s password, so essentially, this would only work for the logged on user, or what USD perceives as the logged on user, and since USD runs under the NT AUTHORITY\SYSTEM account that’s what it will see as the current user. So, long story short, I don’t think I can automate a fix for this.
    So, while I could query every existing users folder structure within IsolateStorage, I cannot guarantee that they’ve run BEX once to generate the folder structure for themselves in order for me to patch it. We could force BEX open after pushing SAP, but again, it would open for the SYSTEM account, not a “real” user. The only way to automate is to get the customer involved and have them run BEX one time, but how would we know to then push the fix…
    Kiran

Maybe you are looking for

  • Missing privilege - DELETE statement in procedure

    Hello experts, I am facing a problem for my procedure. I am not able to active the procedure if I use DELETE statement in the produce. When I use only selects, it is working fine. The SYSTEM user has access to the schema with full rights, including D

  • Online number- WHERE IS IT? WHICH NUMBER I...

    I paid my online number! and now what????? WHERE IS MY ONLINE NUMBER?, WHICH  NUMBER IS IT? HOW DO I USE IT?,  SKYPE ONLY TOOK MY MONEY FROM MY ACCOUNT, but didn´t send me the number, I need it! I don´t know what to do, and the menu of assistance is

  • SAP Hosting for the EP implementation?

    I have been asked to investigate the hosting options available for EP 6.0. Can anyone offer any experience or advice that I may use? Thanks, Ron Jones [email protected]

  • Can anyone send me business blueprint for abap ?

    hi all, Can anyone send me business blue print for abap. my email id is [email protected] thanxs hari

  • ITunes 7.3.2.6 and Windows Vista Performance Issues

    I recently purchased an 80GB iPod, and downloaded iTunes promptly, disregarding all the negative attention about how "iTunes crashes your computer" or "iTunes kills Windows". So far, the only real problem I've had with iTunes is the amazingly poor pe