Bex variable screen

Hello gurus:))
I've the folloeing question:
I have user exit variable which is ready for input.
There after the input step I want to check the values and acording the check results proceed or pop up the error message and cause the variable screen  to appear.
So:
- How can I cause to pop up the error message from user exit code?
- How can I cause the variable screen to appear from the user exit code ?(Should I RAISE some kind of exception - which one ?)?
Thanks in advance, waiting for replay:))

Check out this Howto document (Funny, I found out about this document yesterday); it is very well explained.
https://websmp106.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
If you don't have access to service.sap.com, give me your email address, I'll send you the document.
Regards,
John

Similar Messages

  • Connection between 2 variables in bex variables screen

    Hi all,
    Can anyone help me please with the following scenario?
    I need to create a connection between 2 variables in BEx variables screen.
    Example:
    2 variables in the selection screen:
    Prod Hier. 1
    Prod Hier. 2
    When a user make a selection in the first var. (Prod Hier. 1) in the var screen, i need that the F4 help in the second variable will show only the Prod Hier. 2 that is under Prod Hier. 1.
    Any help will be gratitude,
    Y.B

    Hi,
    your question:
    When creating a replacementpath variable you don't have the option to make it depends on other variable entry (i didn't find the option) I'm using BEx 7
    Answer:
    In BI7.0 Query designer, replacement path with other variable entry is possbile.
    your requirement:
    When a user make a selection in the first var. (Prod Hier. 1) in the var screen, i need that the F4 help in the second variable will show only the Prod Hier. 2 that is under Prod Hier. 1.
    my answer:
    replacement path with variable  will not suit your requirement as far as i know.. any way let us wait for other experts reply...might be someonw knowing.
    if it is useful assign points.
    Regards,
    Senthil

  • Display message in BEx variable screen in 7.0

    In BEx 3.5 I was able to display a message to the user when they enter a value they are not authorized for in the variable screen.  This was done using the function module RRMS_MESSAGE_HANDLING in the variable user exit at step 3 and raising no_replacement.
    This is no longer working as of BEx frontend 7.0.  Is there a way (or different function module) I can display a message to the users on the variable screen?
    Edited by: Troy on Dec 19, 2008 8:56 AM

    I am too facing same scenario. What did you do to have variable screen screen displayed ?.

  • How to change the size of Bex Variable screen?.

    Hi Experts,
    Can we able to change the size/font of the Bex query variable screen?. I have a requirement where lot of variables used but query variable screen is not showing up all the variables including the 'execute,cancel, check' menu buttons.
    Is there any way, I can customize the screen?.
    Your fast response help is appreciated.
    Thanks in advance
    Viswa

    Dear friends,
    Problem solved. Actually, there is an inner scroll bar to fix this problem.

  • BEx variable screen to exclude values from selection

    Hi,
    I have a requirement in the BEx report variable screen here my user want to select values for the variable and
    from the values in selection on right hand user wants to exclude few values.I want the red color exclude button to appear in the screen.can anyone tell me whether there are any commands in WAD for variable personalization.
    Thanks,
    Harsha

    Hi,
    Try this.
    TABLES : ztable.
    SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETER : p_field1 TYPE field1_in_ztable,
                            p_field2 TYPE field2_in_ztable.
                            p_field3 TYPE field3_in_ztable.
                            p_field4 TYPE field4_in_ztable.
                            p_field5 TYPE field5_in_ztable.
    SELECTION-SCREEN:END OF BLOCK b1.
    DATA : itab TYPE TABLE ztable,
                 wa_itab TYPE ztable.
    AT SELECTION-SCREEN.
          MOVE p_field1 TO wa_itab-field1.
          MOVE p_field2 TO wa_itab-field2.
          MOVE p_field3 TO wa_itab-field3.
          MOVE p_field4 TO wa_itab-field4.
          MOVE p_field5 TO wa_itab-field5.
    INSERT ztable FROM wa_itab.
    IF sy-subrc = 0.
    MESSAGE 'Successfully saved' TYPE 'I'.
    ENDIF.
    Thanks,
    Sri.
    Edited by: Sri on Jul 28, 2009 4:15 PM

  • Sort F4 values in BEX variable screen

    Hi ,
    Does anyone know how to sort F4 value help in BEX variable selection screen. This query has come up time and again in SDn and there seems to be no proper reply to this. If anyone has worked on this do let me know.
    Thanks,
    Vaishnavi

    Hi Nara,
    Kindly have a look at below thread,
    Sort the values in Bex query variable screen
    Hope this helps.
    Regards,
    Mani

  • Error message in Bex Variable screen

    Hello All,
    In my BW I have a new variable of type interval for the selection criterion calendar year/month .
    I want to check high value of the interval if it is lesser than or equal to current calendar year/month (that is 201405)  then report can be executed.Else if it is greater than current calendar year/month (that is 201405) an error message has to be displayed for the user to change the value.
    Can anyone help me in knowing how this can be done.
    Many Thanks,
    PS

    Hi,
    This can be handled by writing code in Cmod i_step = 3.
    IF I_STEP = 3.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'Give the tech.name of user input variable'
                      IF LOC_VAR_RANGE-HIGH GT SY-DATUM+0(6).
                           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                              EXPORTING
                                I_CLASS = 'RSBBS'
                                I_TYPE = 'I'                     " It will throw Warning Message
                                I_NUMBER = '000'
                                I_MSGV1 = 'Give the message which you need to display'.
                            RAISE no_replacement.
                      ENDIF.
             ENDLOOP.
          ENDIF.
    Hope this gives an idea.
    PS:In case you need to throw an error message then replace   I_TYPE = 'I'    by   I_TYPE = 'E'  .
    Regards,
    AL
    Message was edited by: Anshu Lilhori

  • Radio button in BEx variable screen

    I want in a report to find the value of Key figure in absolute or not .
    There must be a radio button in the varible screen to populate KF either in absolute or as it is .
    Display absolute ( Yes or No) : .......
    If yes it will show the KF only in absolute else it will show only as it is .
    How should I approach ?

    create two kf.
    1st, your kf.
    2nd (calculated) as absolute value of your  1st kf.
    put a radio button, in design mode, under dimensions choose key figures.
    switch off  design mode.
    hope this helps.
    derya

  • Customer exits for varibles in BeX selection screen

    Dear All,
    I have two fields in BeX variable screen - 'Emp_id' and 'Dep_id'.
    The entry for 'Emp_id' is mandatory. But at the same time, if someone does not enter values for it, it should ask for 'Dep_id' atleast. If both are blank, then no execution.
    In short, if both fields are blank then don't run the report. If one of them has a value, then run the report.
    I know that for this case of mine, customer exit is the only way.
    Can anybody please write me the exact syntax of the exit as I am least aware of writing the exits. Thanking you all.
    Points will be assigned.
    Thanks,
    Srinivas

    Hi,
    Code should as below.
    IF I_STEP = 3 .
        LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'VAR1' OR
    VNAM = 'VAR2' .
    ENDLOOP.
          IF SY-SUBRC NE 0 .
            CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
             EXPORTING
               I_CLASS                    = 'RSBBS'
               I_TYPE                     = 'E'
               I_NUMBER                   = '000'
               I_MSGV1                    = 'Enter Either one of the variable'
             EXCEPTIONS
               DUMMY                      = 1
               OTHERS                     = 2.
               RAISE NO_PROCESSING.
          ENDIF.
    ENDIF.

  • BEx  Variable input Issue

    Hi everyone,
                       I have an issue with Input Parameters in BEx Variable Screen. For Example, I have included Customer Name in the Variable Screen. Then , the user says, he does not remember the complete customer name. There will be thousands of names. Instead he remembers only a few Initial Characters. For example, if the  customer Name is ZSAMSUNG. He only remembers ZS out of the whole name.
    In that case, he wants to enter ZS* in the Variable Selection Screen for Customer Name. But this is not working in BEx. It says invalid Parameters. I have created a Characteristic variable with Manual Entry.
    Currently, I am working on BI7.0, Support Package 11.
    Please provide your valuable inputs.
    1) Is it possible create a Customer Exit Variable for the same with some logic.
    Regards,
    Samiir

    Hi Samir
    Sry, but I think that this functionallity is allredy usable in Bex.
    When the variable-screen appears, the customer has to press F4 for help.
    Another screen pos up.
    -> in that screen, in the FIRST ROW, the customer can seach by therms:
       in the first column:  KEYS
       secound column:  Text
       other columns:  attributes if available
    he also has the possibility to search with *
      like  ZS*  for ZSAMSUNG
    try out, it works 
    reagrds
    Tom

  • Variable screen performance in BEx - post upgrade to BI7

    Hello,
    We have recently upgraded to BI7 - SP16.  We are using the 710 gui, patch level 3.  Bex version is 3.5, patch level 6.
    Since we have upgraded, we have been experiencing a major performance hit when opening the variable screen of a query, as well as navigating within the variable screen.  We are using the Excel version of BEx.
    When we were on 3.5, opening the variable screens only took about 5 seconds, now it takes 30.  To use F4 for the dropdown lists, in 3.5 it took about 3 seconds, now it takes 15.  To enter multiple selections, it took 1 second, in BI7 it takes 15. 
    Our users, needless to say are getting very frustrated with the performance.  The query execution time is comparable to when we were on 3.5.
    I have this open as a high priority issue with sap, but they have yet to come up with a fix. 
    Has anyone else experienced this?  Any suggestions? 
    Thanks
    Charla

    Hi
    check this notes:
    Analyzer variable screen: Performance and documentation
    SAP Note Number: [1044219|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31303434323139%7d] 
    Performance: Long runtime for variable to popup
    SAP Note Number: [1327958|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333237393538%7d]
    I think note 1044219 is important for you:
    1. The BEx Web Analyzer executes queries before the system displays the variable dialog. This cannot be avoided.
    2. You cannot prevent the BEx Web Analyzer from saving variables in the workbook and using them again when you reopen it.
    Additional it includes other notes and hints regarding performance in variable screen and F4 help.
    Regards
    Andreas

  • Variable screen issue in BEX !!

    Hi Gurus,
    Problem Description - When any query is opened through u2018Web BEx Analyzeru2019->u2019New Analysisu2019 button in portal , variable screen is shown and report is getting executed. Again, if we open same query from u2018Web BEx Analyzeru2019->u2019New Analysisu2019 (Donu2019t close the session use same session), Variable screen will NOT be shown at Second time. Directly, Query will be executed with previous Variable values & result will be shown.
    I have modified following parameters but it did not take any effect to the variable screen problem.
    VARIABLE_SCREEN, MELT_VARIABLES, VARIABLES_CLEAR, USE_PERSONALIZATION
    100% points are assigned
    kindly do the needy
    Sherwin
    Edited by: sherwin paul on Jun 24, 2008 1:13 PM

    Paul,
    I have experienced similar issues with the behaviour of variable selection screens e.g. variable screen appears in the Bex Excel version but not the web version. One of our consultants has suggested that the behaviour depends on whether the variables are optional or mandatory, something I've yet to confirm.
    Regards,
    PP

  • Variable screen not popping up in BEx Analyzer

    Experts,
    I'm facing a wierd situation while executing queries in 3.5 BEx Analyzer. When the query is executed using 3.5 BEx Analyzer varibale screen does not pop and report strats running wide open. The Varible input is optional. But if  the report in executed using Web (From the 3.5 Query Designer) variable screen pops up. This happens with the same user ID.
    Please let me know if you have any ideas, could this be something realted to authorizations. In the meantime, i'm trying to change the varibale to mandatory and see if the variable screen pops up.
    Thanks

    Hello
    The standard behavior is not show the variable screen if it has no mandatory variables. In the webtemplate you may have the parameter forcing to show the variable screen added in the code. It is something like  "force variable screen". Please check if you can see that parameter.
    regards
    Lucimar

  • Variable Screen Does Not Display in Bex Web Analyzer after first time

    We recently upgraded from BW 3.1 to BW 7.0 (without upgrading specifically to 3.5).  We are having a problem with our Web Bex Analyzer not showing the variable screen although the variable screen is displayed successfully when running the same query from the Bex Analyzer.  Based on feedback from other posts regarding similar topics, we modified the 0analysis_pattern template to ensure that Display Variable Screen was checked on.  We are finding that when we open the Web Bex Analyzer and do a New Analysis, the first query we try to run will always have the variable screen displayed successfully.  Any susbsequent queries we try to run by clicking on New Analysis in that same open window will not show the variable screen and will start executing open ended.  This is occurring regardless of whether the query has mandatory or optional variables and we have confirmed that there is no personalization set for the variables being used.  We have tried it with several different queries and the results are consistent.  The first query you run shows the variable screen successfully and any queries run after that do not.  Any help in resolving this would be greatly appreciated as we have exhausted our resources researching and troubleshooting this problem.

    We did open an OSS note and heard back from SAP.  We made the recommended setting, see their response below, but as they stated, it will only show variable screens for queries that have at least one mandatory variable entry after the first query is opened. 
    Response from SAP: 
    Please check if the following setting is made within your template --
    In the 'Standard Actions' of the Web Template, do you have the setting
    'Action Before First Display' set to OPEN_VARIABLE_DIALOG
    The behaviour of the variable screen is different if you use mandatory
    variables and optional variables. If you have only optional variables,
    the Display Variable does not force the variable screen.
    Also, using the parameter VARIABLE_SCREEN=X only influences the
    web application at STARTUP. This would not come into affect when you
    use the 'New Analysis' button. This button resets the dataprovider so
    this would not affect the variable screen and would not redisplay the
    variable screen as you require.

  • Change of variable text in BEx selection screen

    Hi all,
    in our BW system the key users are allowed to create queries and also create variables. In some cases, especially for often used info objects like 0DATE the number of variables is increasing very quickly. The reason for this is, that 0DATE is used for a big variety of meanings e.g. delivery date, order date, invoice date etc.
    So the users always create new variables only to have a meaningful description in the BEx selection screen, because they do not want only "date" to be displayed here. As result we have many different varianbles with exactly the same technical settings with only different names.
    So my question is: Is it possible to change the diplayed text in the selection screen for each query without having to create a new variable?
    Thanek you and best regards

    Hi Stephan,
    Changing the diplayed text in the selection screen for each query is not possible.You have to create a new variable for each query.
    Rgds,
    Murali

Maybe you are looking for

  • Sync no longer works Apple TV BUSY

    My apple Tv worked fin for quite a few months, not a glitch. Recently, however, when I try to sync I get an error message saying Apple TV is busy, even though it is not. Any ideas? I tried firewall, resetting, disconnecting and reconnecting my Apple

  • I keep getting an error message when trying to login

    I keep getting an error message when I am trying to add ICloud to my PC

  • Report data  does not reflect the SQL Query?

    Hi, I have a report which does not seem to be processing all records returned from the database. When I run the SQL Query produced by crystal manually against the SQL Server all data is returned correctly in crystal not. Does this mean my links are n

  • Device related bundles missing, User related OK.

    Device related bundles mising on devoices, user related ones OK. One devices with cache intact they work fine, but after zac cc and zac ref bypasscache they are gone. Have tried to restart zenserver (single primary) no change Rebuilt internal sybase

  • 11.5.9 + Oracle Fail Safe on Windows 2000

    Hello, I need to know if Oracle E-Business Suite 11.5.9 is it certified against Oracle Fail Safe on Windows 2000, I just checked the certification matrix on metalink, but, there's no information about 11.5.9. Thanks in advance, Marco Correa Technical