BEX-reoprt-variable.

HI,
I am using a variable to prompt the user to enter a value.If user enters a value which is wrong, how to prompt the user that he has enter the wrong data.
Pls help me out.
regards,
sandeep.

Hi Santhosh,
    You can validate user entered value via User exit under I_STEP = 3.
The enhancement RSR00001 (BI: Enhancements for Global Variables in Reporting; transaction SMOD; component or function module EXIT_SAPLRRS0_001) is called several times when the report is executed. The I_STEP parameter specifies when the enhancement is called.
The following values are valid for I_STEP:
●      I_STEP = 1
Call is made directly before variable entry.
●      I_STEP = 2
Call is made directly after variable entry. This step is only executed if the same variable is not input ready and could not be filled for I_STEP=1.
●      I_STEP = 3
In this call, you can check the values of the variables. When an exception (RAISE) is triggered, the variable screen appears again. I_STEP=2 is also called again subsequently.
●      I_STEP = 0
The enhancement is not called from the variable screen. The call can originate from the authorization check or from the monitor.
More info @ <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm">Dependencies for Variables of Type Customer Exit</a>
Hope it Helps
Srini

Similar Messages

  • WebI Prompts using BEx Query Variables

    Hello,
    I have the following issues with WebI report selection input paramaters (prompts) that use BW BEx Query variables. Could anyone please assist?
    Issue 1:
    The WebI report has one mandatory and two optional input paramaters (all paramaters from BW BEx Query). When I execute the report via WebI rich client directly, enter the value for mandatory input parameter and leave blanks for both optional input parameters, the report ran OK and has no issue. However, when I ran it through CMC a strange thing happen: I could not select the value for mandatory input paramater as it requires to have values for both optional input paramaters first (which I wish to have them blank and optional). When I refersh values for the mandatory paramater, it says "List of Values for current prompt requires values for following prompts:...(ie. the two optional parameters).
    Anyone has any idea - it seems like it is a CMC issue for the WebI...
    Issue 2:
    Take the same WebI report above, the issue here is the order sequence of the prompts (ie. the selection input parameters). How can we change/control the sequence of the prompts? Whatever sequence of the varaiables (input paramters) in BW BEx Query, the WebI ignores it. Please advise.
    Thanks & Regards,
    Andy

    I did not see separate thread for issue #1, therefore I'll us this thread.
    I am running into similar issue when I get an error message ''List of Values for current prompt requires values for following prompts: <Name of the prompt>".
    We are using BO V4, SP2, Patch 10 with SAP BW as DB via BEx queries.
    I opened support ticket for this issue since obviousely it's still an issue after applying patch 10.
    It's not an issue when 'Rich Internet Application' option is selected to view report in 'Reading' mode (via Launchpad Preferences then Web Inteligence; defautl value for viewing is 'Web').
    I have not tried to use Client tools but even if it works with Client tools - it is not a solution for us. Our company does not plan to install client tools on end user computers.
    Bigger issue us is that report scheduling invokes Web version (not Rich Internet Application). Therefore we cannot schedule report that is giving us problem described. I tried scheduling report from Launchpad and from CMC and both game me error highlighted.

  • Bex analyzer variable screen input ready?

    Hi Experts,
    If we open a query in the Bex analyzer (BI 7.0 – netweaver 2004s), it seems only possible for us to enter variables in the dialog screen after the pushbuttons Ctrl + K for each variable.  Is it possible to change the default setting in the BEx analyser variable screen, so that the variables are ready for input (without the ctrl + k)?
    In the SAPhelp information, only the following information is provided.
    Prerequisites
    In the BEx Analyzer, you have executed a query that contains variables and you want to change or personalize one or all of the variables in the query.
    Procedure
    1.      In the analysis toolbar, choose Change Variable Values or in the menu, choose BEx Analyzer ® Change Variable Values.
    The Select Values for Variables dialog box appears. Follow the instructions to select a value to assign to the variable.
    2.      Specify a variant name and values for the variables for which you want to change the current values.
    Switch to display mode or use the pushbuttons Ctrl + K to enter values.
    Kind regards
    Dennis
    Message was edited by:
            D.C.M. van den Oord

    Hello All,
    We have a similar issue only in 2004s query designer when we execute a query via the web. We have the variable set up to accept multiple single values and we can pick multiple single values and add them, however, we cannot paste a list of, for example, personnel numbers from an excel spreadsheet into the web selection box to add multiple single values at one time.  Does this functionality exist?
    Regards,
    Ann Bohn

  • Crystal Report for Enterprise  Bex Text Variables

    Hi
    We are on Crystal Reports for Enterprise XI 4.0, Version 14.02.2.
    We have a text variable for cost center in our column heading that displays "Cost Center XXXX Budget" where XXXX is populated by the text variable.
    When this column element displays in the Crystal report it displays as "Not assigned".
    When I use the exact same query in Webby the cost center displays exactly as expected.
    Has anyone exeprienced a similar problem?
    Thanks
    Ian

    Hi,
    BEx Text Variables are fully supported by the BI 4.0 client tools, so this 'should' work
    I'd recommend that you contact Support and log an OSS incident.  We recently corrected a few issues with text variables in webi, so -at a guess- a fix needs to be ported to CR4E
    Regards,
    H

  • Bpf with report bex with variable BPC Embedded 10.1

    Hi BPC Friends
    I am creating a BPF with BPC 10.1 Unified.
    I have attached at this BPF a BPC report based on a Bex Query with a variable for the company code.
    The driving dimension of the BPF  is  the company code so I have selected some company codes.
    I have created the BPF Istance and I have assigned at the different company codes the proper users as performers.
    The problem is this:
    The user run the bpf istance for its company but  the report having the variable for the company code allow to the user to select also a different company code.
    I was expecting that the variable for the company code was locked for the company code assigned to the user
    Thanks
    Michele

    Hi Michele
    In the above scenario, from what I was able to understand, you have defined a BPF, the activity within the BPF opens a workbook, the workbook is using a BEx query that has already been defined. The BEx query has a variable which prompts the user for values for company code.
    The authorization variable will populate the BEx company code variable with the values that the user has been allowed to see.
    For example: If the user has a BW analysis authorization that only allows them to see company code 1000, 1003. When the user executes the report in Analysis For Office, the prompt in the workbook should only display the values 1000 and 1003. (Meaning that the user only has access to 1000,1003 to choose from)
    I don't understand where the performer is a prompt?.
    The data access profile is typically used to restrict access to the data (restrict what you can see in your report). The BEx authorization variable will not be driven by the Data Access Profile, this will be driven by the BW Analysis Authorization. (I say this under possible correction)
    Do you want the prompt in the workbook to display the performer of the BPF activity ? If so, I don't understand the requirement or why you would want to achieve this.
    Please could you provide more context,
    Hope this helps,
    Kind Regards
    Daniel

  • Dynamic filtering with BEx query variables in WebI 3.1

    Hi experts.
    Can anybody help me ?
    1) I use BEx query variables in WebI 3.1 .  But i can't understand how to order fields of selection screen in WebI reports
    2) How can i use Dynamic filtering with BEx query variables in WebI 3.1 ?
        It's need that  list of second field on selection screen will be accoding to result of selection first field on selection screen and so on .
        Need i use BEx user-exit variables ?
    Thank you

    Hi,
    1)  Variable sequence isn't respected in XI3.1 - and can't be modified in OLAP.unv  (this enhancement exists in 4.0 )
    2)  Dynamic filtering?  Yes, Exit routines are the best way to go for this.
    Regards,
    H

  • Webi  Bypassing BEx Authorization Variable with SAP Exit

    BEx query has Hierarchy Node Variable with Authorization as processing type. Its set as User Input ready
    When the Webi report is refreshed, the LoVs appear as per the Authorization. However, if user doesn't select any value (pushes from right to left in variable screen) he gets NOT_AUTHORIZED error. Which is not intended, it should check the authorization in the background via SAP exit and populate the result. This is how it runs inBEx query.
    However, in Webi it's giving NOT_AUTHORIZED error? This is how the product is designed to work or is it a bug.
    I see several forum threads and SAP KBAs/notes but they are not answering my question. Could anyone please help.
    I am ready to provide more details on this error.
    Thanks,
    Tilak

    Hi,
    this is how authorization variable would work in any of the clients and not just Web Intelligence.
    You created an authorization variable which is configured as "read for input", so the user is getting prompted.
    So In Web Intelligence the LoV shows up.
    if the user does not select a value, then you are not sending a value, so you basically asking for all data and you are not allowed to see all data and therefore you are getting the message "no authorization".
    if you are making authorization variables as ready for input then the user needs to select the proper values - regardless of the BI tool.
    if you want the authorization to be check in the background then the authorization variable should be configured to not have ready for input.
    regards
    Ingo Hilgefort

  • Optional BEx query variables not working in WebI

    Hi,
    I have an Webi report based on Bex Query using BICS connection.
    One characteristic is restricted with two variables. First an authorization variable and additional with an input ready variable.
    This input ready variable is optional. When it comes up in webi and you choose a value it doesn't filter on it.
    We are on BO 4.1. SP3 and BW 7.31.
    With SAP_ALL the optional prompt is working, but for a user with limited access, the optional variable doesn't work.
    I have already made a RSRT trace with a test user. But I'm not sure what's the problem.
    Trace returned:
    S_RS_AUTH  RC=4 -->  BIAUTH=0BI_ALL; type=RF;name=BICS_PROV_OPEN;
    But I don't want to give the user 0BI_ALL, otherwise my analysis authorizations for this info object would be obsolete.
    Any ideas?
    Thx and Regards,
    Katharina

    Hi Neetika,
    thank you for your advice!
    I tried the filter without authorziation variable and it was working.
    I in addition I tried another option: I defined auth variable as input ready and deleted filter variable and that would work working.
    With this setting I recognized that for the authorization variable all allowed values are set as default values! If you execute query with SAP_ALL no default is set, but with limited access the allowed values are set as default.
    This may be the problem here. I don't know if this behaviour is by design or if there is a problem with rights?
    But now I know where the problem comes from.
    Regards,
    Katharina

  • BEx analyzer variable screen Copy  and paste the input values functionality

    Hi all,
    in bw 3.5 we have functionality on the variable screen we can do directly copy the values and paste in the input screen. But in BI 7.0 BEx analyzer I am not able to find it. Is it required to apply any patches?
    Please guide me on this.
    Thanks

    Hello All,
    We have a similar issue only in 2004s query designer when we execute a query via the web. We have the variable set up to accept multiple single values and we can pick multiple single values and add them, however, we cannot paste a list of, for example, personnel numbers from an excel spreadsheet into the web selection box to add multiple single values at one time.  Does this functionality exist?
    Regards,
    Ann Bohn

  • Sort the values in Bex query variable screen

    Dear Experts,
    Is it possible to sort the values of a dropdown list for variables on BEX variable selection screen ? 
    For example, For calender month selection, the values are by default sorted by ascending order.
    Is it possible to sort by descending order ? 
    Regards,
    ravindra

    Hi Ravindra,
    yeah it is possible by writing an abap code for the field calmonth/week...etc this is depends on the F4 help of the selection field. so you need to write a code for F4 help for making it in descending order. hope it helps.
    Thanks,
    Vachan

  • Bex Query Variable error in Webi and Crystal for Enterprise

    Hi,
    We just upgrade to BOBJ 4.1 SP2 and BW7.4 SP5
    I am creating a webi report based on a BEx query. There is Variable on Period/Fiscal Year from BEX side(Mandatory prompt) when I try to create a Webi or Cyrstal for Enterprise report the below error pops up. Other Bex queries work correctly. Can it be the values in the variable the following values exist when execute from Bex i.e. 001.2012; Period 2013
    Is the SAP Note : 1611185 relevant for 4.1 SP2
    Error:
    com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: Termination message sent
    ABEND DBMAN (257): SQL Error: INTERNAL_ERROR
      MSGV1: INTERNAL_ERROR
    Is this True for BOBj4.1 SP2?
    http://scn.sap.com/thread/3362312
    Selection range variables are not fully supported in Crystal Reports for Enterprise.
    Message was edited by: Tienie Nothnagel

    Henry Banks wrote:
    > I know what you mean.  In BEx, it's automatic: the default values are pre-selected at runtime, based on user authorizations
    >
    > In WebI, user needs to do a 3-click workflow to select the authorized values from the prompt dialog. This can be broken down into 3 phases:
    >
    > (a) initialize prompt u2013 empty pane.
    >  (b) refresh list of values,
    >  (c) select response values.
    Thanks Henry! I was looking for this confirmation that it is a limitation of Webi and I'm not missing something.
    Henry Banks wrote:
    > ---> make this BEx variable u2018mandatoryu2019 u2013 this will trigger an automatic refresh mechanism on the list of values, and show it to the user.  This will eliminate steps (a) & (b).
    >
    It is not possible to set Authorization variables as mandatory. They are set to "optional" and cannot be changed (BEx limitation).
    Henry Banks wrote:
    > Unfortunately, BEx and WebI are not like-for-like replacement tools. Not all u2018normalu2019 BW features integrate natively into BObj.
    > So this will also have to be an excercise in positioning a new product to your onboarding users.  (i.e.  just click the button)
    > Regards,
    > H
    I understand that. Thanks for your suggestion.

  • BeX: New Variable Creation

    Hi *,
    I have created a variable "Calendar Year" for a BeX query. For another query too, I need to have the variable for Calendar Year. Can I use the previously created variable of that query in the current query ?
    Because, I can see that it allows me to do so but the same is not visible in the transport connection for that particular query.
    Regards,
    Srinivas

    Hi Srinivas,
    You can define variables at quey level and also at data target level.
    If you create a variable at the query level you can use that variable in all the queries which are based on that.
    Tranportation of that variable is required only once, once you tranported that varibale you can use that variable any times. No need to tranport it again

  • Bex exit Variable from another one.

    Hi Expert,
    Do you Know how to define a value for a variable from another that is navigable in the bex query. In other words, when i change a value during the OLAP navigation in the query, another variable must change on the basis of the first one. The first variable isn't a "variable selected from user" on the start of the query but is a "mandatory" with a default value. When the default is changed on the OLAP,  another variable must change.
    How can I do?
    Thanks.

    OK. I see - just to be sure: You dont want to call the variable screen, when making the change, right? That is how I understand it, if I am wrong, you can use an exit variable for ZC_FASCIA and fill it depending on what was set in 0calmonth variable.
    So, assuming you dont want to call the variable screen, have you tried setting the dependent variable to changeable during query navigation? I dont think it works, but anyway, try it out...
    One way of "solving" your requirement of "set value for Y when X is changed by user" could be to use a compounded characteristic where you compound ZC_FASCIA with 0calmonth. I think you should be able to compound ZC_FASCIA = 1 with 0calmonth = <blank>...
    Next, create a variable for this new char. Using a default should be possible and it would have to be changeable during query navigation and let users change the default month without calling the variable screen.
    I dont know if this works/helps...
    Regards
    Jacob
    P.S: Your requirement only seems to come from the "need" to have 0calmonth = #. If you did not need the #, you would always have 2 for ZC_FISCIA... so I was wondering why you need the blank month? Something with an annual value stored in # month??
    Edited by: Jacob Jansen on Jan 29, 2010 9:38 PM

  • BEx Hierarchy variable - display 2nd noode

    Hello,
    I created a BEx 7.0 hierarchy variable. Is it possible when executing the query that the user see hierarchy starting from 2nd noode?
    Any idea?

    Hi Pascal,
    You can hide your first node also from query designer by selecting "Nodes with only one lower level node" in hierarchy properties and select HIDE from the drop-down menu.
    I hope this will help you to solve your problem.
    Regards,
    Niraj Sharma

  • Bex Trigger variable

    Hi All
    could you let me know about the trigger variable in Bex. How it is created and does it is similar to characteristic variable.?
    Thanks in advance.
    Regards,
    Megha

    Hi Megha,
    As far as I know, there is no such term called "Trigger variable" in BEx in BI 7.0, 7.3 and 7.4.
    I think you are talking about an User exit variable which can trigger codes in CMOD as per i_steps or any processes internally.
    Is it so?
    I think Trigger Variables are used in PL/SQL but not in Bex.
    Regards,
    Suman

Maybe you are looking for

  • User accounts not working in Tiger

    User accounts in previous versions worked ok but since upgrading to Tiger new user accounts fail on login attempt with that REALLY ANNOYING wiggle. The password is certainly correct on many different attempts but the wiggle keeps happening without an

  • Regarding Change in Cost Center after Advance payment

    Hi, PO is created, against that PO Advance payment is given and payment is given to Vendor of advance. Now query is that the while generating PO wrong cost center is entered, and user want to change that. How we can solve this problem ? Regards, Aksh

  • Inventory Management: Month beginning and ending inventory levels

    Hello, I need to have beginning and end of month inventory levels. I havent been given any functional specs . The only favor I would like from you is to know what standard chars and key figs you are using in your rows and column. And how are you usin

  • HT203167 Missing in-app purchase

    Hi I've purchased an in app "gem" bundle and received an email receipt form iTunes. However, I've not received the gems in the game. I've looked at the developer site and they say to contact iTunes as they have no access to the transaction data. I ca

  • Where can I find MSS when I want to configure it

    Hi all:      Basis has installed BP for MSS, but  I couldn't find MSS on Portal . what should it be like when it has been installed ? thank you very much