User Entry for BEx query

Hi Gurus,
When I run a standard Business Content query, I could see a dialog box popping up for the user to enter the values. This looks like a mandatory field. How do I modify this? Is there a code which I could do the modification, as to me it seems to be an SAP exit variable?
Any help would be hugely appreciated.

Hi,
When we use variables in a query a pop-up appears at runtime. If we want to modify it, ie., if you want to delete this
see for which field it's asking to enter the value, in Query -> Global definition -> go to that field, expand it, you can find a variable on that field, you can delete that variable or go to the left side panel and double click on the variable under the same field and modify it, under DETAILS change 'Variable Entery is' to optional from Mandatory.
To create a variable right click on the field and create a 'New Variable'

Similar Messages

  • Super User Profile for Bex Query Designer

    Hi There,
    What is the profile that will allow a user to create local queries, copy an existing (locked transported query), and change local queries - when the system is locked for change.  We are using SAP NetWeaver BI 7.0x
    Regards
    Fiona

    I'm not sure about a security profile, but you will definitely need to make a setting in RSA1 to allow a user to create/change queries when the system is closed for changes.  In RSA1 go to Transport Connection then click on Object Changeability.  Look for the entry for Query Element, and if it says Not Changeable double-click it so it says Changeable Original.  Now you will be able to create queries or change queries that were originally created in that system.  If you want to also be able to change queries that were created in another system (i.e. change queries in production that were created in dev) right-click and choose Everything Changeable.
    You can make similar settings for InfoPackages, process chains, web templates, etc.
    See [here|http://help.sap.com/saphelp_nw70/helpdata/en/0e/a7343e8c7f6329e10000000a114084/frameset.htm].

  • User exit for bex query

    Hi ,
    My requirement is like this :
    When i put 20 ath week in calender week field the report has to calculate last  13 weeks data and do SUMUP .
    I have created Customer exit variable .
    I wrote user exit but it is not calculating for last 13 weeks and my code is like below :
    WHEN 'ZUEXIT' .
       IF  I_STEP EQ '2'.
        LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZWK11'.
       LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZWEEKVR'.
        CLEAR L_S_RANGE.
        L_S_RANGE-LOW = LOC_VAR_RANGE-LOW - 13 .
         CONDENSE L_S_RANGE-LOW .
        L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
        L_S_RANGE-SIGN = 'I'.
        L_S_RANGE-OPT = 'BT'.
        APPEND L_S_RANGE TO E_T_RANGE.
        EXIT.
        ENDLOOP.
       ENDIF .
    Please can anybody suggest me .

    Hi Venkat
    what if u enter a value between 1 to 12  for the week? then the low range becomes -ve right?
    Instead of customer exit, you can try the following
    1. Create a new selection, in which drag the corresponding characterstic
    2. Select restrict from the context menu and
    3. select value ranges from the "show" popup box, choose Between and
    4. for the lower and upper values use the "select from list icon", and select "variables" from the popdown and select your ZWEEK variable
    5. tranfer to the right panel and then select the offset icon...two popup boxes appear once for the lower and once for the upper...select -13 for lower and 0 for upper..
    Assign points if helpful.
    Regards, Uday

  • User entry in a query

    Hi All,
    I have a  query wherein I want to have a user entry but do not want the query result to be affected by it.
    The details of the query are such that in this query I am calculating Sales actuals by posting period (selecting constant months to make a quarter) and sales commitment  by a normal characteristic Fiscal quarter.
    Is it possible that I have a user entry for quarter and have that quarter (selected by the user) displayed in the query but at the same time display the entire data of the query?
    Please advise.
    Thanks and warm regards,
    Sharmishtha

    Hi Anil,
    In rows I have CGL Branch (user netry/multiple values), organizational division(zdivision/user entry) and sales district. In th columns I have Previous to previous year's sales(SALDR NOTECASH restricted with fiscal year/ user entry variable with offset -2) similarly I have previous year's sales. Then I have current year's Q4 sales. For this I have restricted the same key figure with fiscal year/user entry and posting period=jan,feb,mar). This is because ZBDMIS1 does not have ZFIQUART1(fiscal quarter). Then similarly I have to calculate for all the quarters of the current year. Alongside I also have to calculate the commitments for all the quarters. For this I created a cube in which I included ZFIQUART1 (and loaded thru flat file), as customer will give data in quarter. Finally I made query on the multiprovider. Now, in the query I created a new selection for commitment of Q1 and restricted Sales Commitment Value with fiscal quarter = quarter1 and similarly for all quarters.
    But the values of the Sales Commitment val is not coming at all.
    Also I wanted to put quarter as user entry. (just as a display of the selected quarter in columns, we don't want it to filter the data)
    Thanks and warm regards,
    Sharmishtha

  • How to clear Local-Cache Entries for a Query in BW?

    Hi There,
    i`m student und i need please your help for my Thesis!!
    I execute the same Query many times in BEx Web Analyzer und note a Query Response Time under ST03N using each time a different READ Mode and Cache Mode is inactiv (Query Monitor RSRT).
    First time i exectue the Query, it reads also from database, second time it uses the local Cache and  that `s okay!
    My problem is:
    When i change the Read mode and execute the Query again, it uses for the first run also the old entries from the Cache so i get wrong response time for the first run!!
    I know that while the mode cache inactiv , the local cache will still be used, so how can i delete the local cache entries each
    time i change the read mode and execute the Query? In Cache monitor (rsrcache) i find only entries for Global cache etc..
    I've already tried to close the session and login in to the System again but it doesn`t solve the Problem!!
    i don't have a permission (access rights) to switch off the complete Cache (local and global ).
    Any idea please??
    Thanks und Best Regards,
    Rachidoo
    P.S: sorry for my bad english!! i have to refresh it soon:)

    Hi Praba,
    the entries stored in RSRCACHE are for global cache, there is no entry for my query in Cache monitor!
    i execute the query in RSRT using java web button and cache mode inactiv so, the results will be stored in local cache.
    this is as below what i want to do for my performance tests in my Thesis:
    1. run a query for the first time with cache inactiv and note runtime of it
    2. run the query again with cache inactiv and note runtime of it
    3. clear the local cache (i don't know how to do it??)
    4. change the read mode of query in RSRT then run the same query for the first time and note runtime of it
    5. run the query again and note runtime of it.
    i'm doing the same procedure for each Read mode.
    the problem is in step 4 , The olap Processor gets the old results form the cache so i get wrong runtime for my tests.
    Generate the report doesn't help, any idea please?

  • No of users accessing a bex query

    HI Bw guys,
    we want know no of users accessing our Bex query.Is there any procedure to find out that.Please give the solution for us because we are hurry about this.
    Thanks and regards
    Sreenivas.

    Hi Srinivas,
    If your BI Admin Cockpit is Working Fine and getting loaded to 0TCT_MC01 this cube, then goto  RSRT and Run this Query
    0TCT_MC01/ZQUERY_FRONT_END_OLAP
    The Count shows the number of hit for those queries for that month.
    Similarly there are queries for day wise also.
    Rgds
    SVU

  • Need User Manual for Bex Analyser BI 7

    Hi All
    We have to prepare the user manual for Bex Analyser to show all the functions. If anyone has any link kindly let me know.
    Thanks for your help
    Regards
    Sathya

    HI ,
    See this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/ba/45583ca544eb51e10000000a114084/content.htm

  • To create variants for Bex query

    Hi Guys,
    where and how do we create variants for Bex query.
    Thanks,
    Your help is appreciated.

    Hi Sheo,
    There are several threads about this, check here:
    /thread/297437 [original link is broken]
    Hope this helps...

  • How to Enable the LOV to query for partial user entries in af:query in an ADF search form

    Hi guys,
    I have faced one issue in creating a search form in ADF, in that I have used af:query and table region. and I have attached an lov vo to the base vo for the list of values and given UI hint as Input values with List of values. Now the issue is that I have given auto submit property as true so when I give some value suppose "Jan-14" and tab out it gives me all the correct results. but if I give like "Jan%" and then tab out then it does not give me any value. Could you kindly help me with some solution. I am using Jdev 11.1.1.6.0.
    Thanks,
    Tanmoy

    To enable the LOV to query for partial user entries, we can trap the 'LaunchPopupListener' event and add custom code there. Within the af:query component, just wondering how can we set property the 'LaunchPopupListener' for the search criteria ?

  • Single user entry for two chracteristics

    Hi,
           I am using two characteristics for unit in my query ( 0UNIT and 0SKUNIT ), and I need to get user input for these units. The problem is, I am supposed to have only one user entry variable which should populate both the units.
    I am not able to use the same variable for both the units. Can someone please suggest a solution to do this?

    BEx : Characteristic Variable with Replacement Path
    check this:
    Re: Replacement Path Variable with Another Variable
    Edited by: Raj Coppar on Aug 11, 2008 10:02 AM

  • Best Practice for BEX Query "PUBLISH to ROLE"?

    Hello.
    We are trying to determine the best practice for publishing BEX queries/views/workbooks to ROLEs. 
    To be clear of the process I am referring: from the BEX Query Designer, there is an option QUERY>PUBLISH>TO ROLE.  This function updates the user menu of the selected security role with essentially a shortcut to the BEX query.  It is also possible to save VIEWS/WORKBOOKS to a role from the BEX Analyzer menu.  We have found ROLE menus to be a good way to organize BEX queries/views/workbooks for our users. 
    Our dilemma is whether to publish to the role in our DEV system and transport to PROD,... or if it is ok to publish to the role directly in the PROD system.
    Publishing in DEV is not always possible, as we have objects in PROD that do not exist in DEV. For example, we allow power users to create queries directly in PROD.  We also allow VIEWS and WORKBOOKS to be created directly in PROD.  It would not be possible to publish types of objects in DEV. 
    Publishing in PROD eliminates the issues above, but causes concerns for our SECURITY team.  We would be able to maintain these special roles directly in PROD.
    Would appreciate any ideas, suggestions, examples of how others are handling this BEX publish-to-role process.
    Thank you.
    -Joel

    Hi Joel,
    Again as per the Best Practices.Nothing to be created in PRD,even if we create them in PRD for Power users its assumed as temprory and can be deleted at any time.
    So if there are already deviations then you can go for deviations in this case as well but it wont be the Best Practice.Also in few cases we have workbooks created in PRD as they cud nt be created in DEV due to various reasons...in such cases we did not think of Best Practice ,we had a raised an OSS on this aswell.
    In our Project,we have done everything in DEV and transported to PRD,in case there were any very Minor changes at query level we have done in PRD and immedialtely replicated the same in DEV so that they are in SYNC.
    rgds
    SVU

  • User entry for Scaling factor

    Hi All,
    We have queries in which a scaling factor of 1 Crore is applied. Query is developed in 7.0 and front end used for analysis is 3.x.
    Is there any way to make the scaling factor a user entry field..like a variable entry ?
    Please let me know if you have any pointers.
    Thanks in Advance,
    Amrita

    Hi,
    I am not sure if you can make it a User Entry Variable or not.
    Yes, the user can set the scaling factor. He needs to select the Key figure where he wants the Scaling Factor.
    For 3.x front-end
    Rt click on Key Figure --> Enhanced Menu --> Properties.
    here, he will find the scaling factor.
    For 7.0 front-end
    Rt click on Key Figure --> Properties --> Data Cell --> Number Format.
    here, he will find the scaling factor.
    Hope this solves your problem.

  • Transport Error For Bex Query  to BW Production

    Dear Experts,
    We are facing an issue during transport of a Bex report.
    The RC 16 error has taken place.  After I did google;  I found this as below, but not the exact steps to solve this:
    Return code (16) indicates import is cancelled.
    Ex: RC 16 error
    1. Import cancelled due to system down while importing.
    2. Import cancelled due to user expires whileimporting
    3. Import cancelled due to insufficient roles.
    Would you please suggest me how to encounter this error, solve the error and successfully transport the Bex Query?
    Please help.
    Regards, Aparajit

    Hi all,
    The issue is resolved with Re transport.
    The Query is in production now.
    Thank you very miuch for your guidance  Rama,
    Ganesh  and   Nikhil 
    Regards- Aparajit

  • User exit for reducing Query lines!

    Hello,
    IS it possible to use a User Exit for queries to reduce my resultpackage before the lines arrive the reporting area?
    For example:
    I have a due date and in case of an entry of a field in the query result package the <exit> must read a reference from a info provider to decide if this line of this resultpackage can be load or not!
    Query resultpackage
    Contract :
    a             look up in, ODS for example, decision! delete line from package or not
    and so on..
    b            Yes
    v            No
    f
    g
    Short form:
    Is it possible to manipulate the result package of a query in a user exit dynamically like described above??
    AND how is it to implent?
    Thank you for you answers!
    By Rene
    Edited by: NW-DEV on Oct 7, 2010 3:52 PM
    Edited by: NW-DEV on Oct 7, 2010 3:55 PM

    Hi,
    Is it necessary that you do this on the fly (during query execution)?
    A simpler way to achieve this is by adding a column to your cubes ... say Flag . Update this flag, during transformations. This Flag field will indicate 'Marked for Deletion' and you can filter out records in the Query, by adding this Flag Field in Query Restrictions.
    If you want to achieve this during Query execution, you may need to use Virtual Characteristics(You can search for the code/implementation steps on SDN). Again Flag field will be the Virtual Characteristic and Query Filters will contain Flag value exclusions.
    Regards,
    Advait

  • Short dump in report generation for bex query

    Hi,
    I have e newly installed SAP NetWeaver 7.3 and I'm not able to run BEx-Queries. When I start transaction RSRT and try to generate the report for the selected bex query, I get the following short dump:
    Category               ABAP Programming Error
    Runtime Errors         RAISE_EXCEPTION
    ABAP Program           SAPLRRSI
    Application Component  BW-BEX-OT
    If I start the test in RSRV for that query I get:
    Generation limits for the generated report
    Unable to load report GPEM3XZBL2Y9VX9H6SN
    Am I missing a profile parameter for that generartion limits or something else?
    Thanks in advance!

    Hi,
    Check whether your SAP GUI is activated and installed correctly.
    check following threads
    Runtime error RAISE_EXCEPTION has occurred
    Dump when activating Business Content 7.35
    Thanks and regards
    Kiran

Maybe you are looking for