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 ?.

Similar Messages

  • 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

  • Throwing error message in BEx variable

    HI,
    I am using one of the variables in the user exit in cmod. in step1 & step2 I determine some values to be poplated in the variables. What is the ABAP command if say I want to show an error message on the variable screen? For Example, if I want to print that the value is invalid or something

    I want to re-phrase my quesitons a little bit.
    IN user exit there are 3 i-steps. What I want to do is the following.
    In i-step 2 I determine the values for 4 variables based on the 2 values that have default values. This works fine.
    However, if the user changes selection, I want to be able to check in i-step3 what user input and return an error i f values are not valid, so that the query does not run. It seems like step3 does not let me do it.
    Thank you,
    Andrei

  • 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

  • Message on a Variable Screen

    Hi Experts,
    I need to display an Information Message on a (WAD)Variable Screen. Is it possible? If yes, How?
    Thanks

    Hi,
    Have a look on this thread Edit variable selection screen
    You can make use of the class CL_RSR_WWW_Variable_screen for your requirement,

  • 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

  • Pop up message on the variable screen in portal when report is run

    Hello
    I have a requirement to pop up a message stating " Date should not be entered before 2010 "on the variable screen of the report if date is entered before 2010 by the user when the report is run.
    Please can someone tell me how to implement this?
    thanks

    Hi Tom,
    The logic could be to include code in CMOD forat variable with ISTEP=2.
    IF I_STEP = 2.
    LOOP AT i_t_var_range into wa_t_var_range where vnam = 'Date Varaible'
    <write condition to check the year entered. First, using function module DATE_TO_PERIOD_CONVERT, extract year from Date>
    <   CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
            EXPORTING
              I_DATE               = ZT_SDT
            I_MONMIT             = 00
              I_PERIV              = 'Variant'
           IMPORTING
             E_BUPER              = zbuper
             E_GJAHR              = zbdatj this is the year entered
           EXCEPTIONS
             INPUT_FALSE          = 1
             T009_NOTFOUND        = 2
             T009B_NOTFOUND       = 3
             OTHERS               = 4>
    >
    Then check the year for the condition.
    If correct.
    exit.
    else.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_CLASS = 'RSBBS'
    I_TYPE = 'E'
    I_NUMBER = '000'
    I_MSGV1 = 'Date should not be entered before 2010'.
    raise again.
    endif.
    endif.
    endloop.
    Hope this helps you.!
    -Pradnya

  • Message at the variable screen

    Hello,
    I would like that message pops up at the variable screen during the execution of the report.
    How can I implement this functionality?
    Thanks

    Hi,
    Use the following Code, don't write in between Case and EndCase, after ENDCASE you write code for I_STEP  = 3.
    See PDF
    https://websmp203.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
    Re: send message from EXIT_SAPLRRS0_001
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
         IF I_STEP = 3.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
                      IF LOC_VAR_RANGE-LOW(4) LE 2010.
                           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                              EXPORTING
                                I_CLASS = 'RSBBS'
                                I_TYPE = 'I'                     " It will through Warning Message
                                I_NUMBER = '000'
                                I_MSGV1 = 'Pls Enter Year Greater then 2010'.
                            RAISE no_replacement.
                      ENDIF.
             ENDLOOP.
          ENDIF.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
         IF I_STEP = 3.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
                      IF LOC_VAR_RANGE-LOW(4) LE 2010.
                           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                              EXPORTING
                                I_CLASS = 'RSBBS'
                                I_TYPE = 'E'
                                I_NUMBER = '000'
                                I_MSGV1 = 'Pls Enter Year Greater then 2010'.
                            RAISE Again  " It won't allow user untile he/she give correct values
                      ENDIF.
             ENDLOOP.
          ENDIF.
    Thanks
    Reddy

  • 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.

  • 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

  • Display Key & Text In Variable Screen

    Hi All,
    I am having one master data Location having Attribute and Text data loaded.
    I am using the same Location as a characteristics in my DSO and then in Query .
    Now, i have create one variable on Location. When i am executing the query , and click on Location Help. It will show only Text values. I want to have Location Key as along with Text in the variable selection screen.
    Please suggest.
    Regards,
    Macwan James.

    Hi James,
    for infoobject Location you can swith to both key and Text at variable screen.
    please do this setting.
    RSA1 -> select DSO  change mode -> go to the infoobject Location right click select  "Provider-specific properties"
    Display " 0 Key and text" select this and activate DSO.
    please check at the selection screen.
    Best Regards.

  • 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

  • Web-based BEx: How to display a customized message on the variable screen??

    Hi All,
    I'm now using the web-based BEx. Recently I want to display a customized message (e.g. the usage of the report) on the first page (i.e. the variable entry screen) of the query. Is it possible?
    Thanks.
    BR,
    M. Ng

    Hi marco,
          Check here. itmay help you.
    Custom Messages WAD
    Thanks,
    Vijay.

  • Displaying Medium Text in Variable screen (WAD)

    Hello Experts,
    When I run one of my reports in BEx, the input help for an infoobject shows key, Short Description and Medium Description. But the same report when I run in WEB it does not show the Medium Description but only the key and Short Description is getting displayed. I have selected short and medium description for that infoobject at all the levels.
    Could you please tell me how to show also the Medium Description along with in WEB input help.
    Thanks a lot.
    Rajat

    Arun,
    I am using BW 3.0B. The default display is specified in BW BEx Tabstrip in IO Definition (in RSA1) is Medium Text.
    My problem is: When I run the report on Web and select the value for characteristic variable of this infoobject (by clicking on the browse link next to text box) , I see Key and Short Text in the list. Whereas my Client requirement is that he wants to see Key and Medium Length Text in the Variable option list.
    On BEx Analyzer, i can see Key, Short Text and Medium Text in the Variable slection screen. But it is not giving the same result on Web.
    I have checked all the properties in web template.. like data provider, web template, result table properies.. I also tried to change BEx description property to Medium text as well. But it is not working.

  • 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

Maybe you are looking for

  • Ipod mini coming on automatically

    This is going to sound really weird, but my iPod mini comes on by itself. After I turn it off, even if I put the hold button on, it will come on later and drain the battery all the way down. The next time I go to use it it will be completely dead. I

  • Material master Upload with LSMW

    Hi When I make Material master Upload with LSMW, I could not find any entry in planning file. Please explain.

  • Premiere Pro CC crashes when importing .scc file

    Hi all! Trying to use closed captioning features in Premiere Pro CC, and every time I try to import a .scc file (Created with Movie Captioner), Premiere crashes with a general error. I've tried creating captions with Unix line breaks, and Windows lin

  • Create Interface

    I created a view object AcctRefCur and a class AcctRefCurImpl. Now I want to create an interface named AcctRefCur to work with the AcctRefCurImpl class. How can I do it? I tried something like public class AcctRefCurImpl extends ViewObjectImpl implem

  • Screen Modification Problem ...

    While i am Working on Screen Modification i set Field  ABKRS as Out Put Field in IT001 .But Now Client asking just we need that field Out Put Field as one Emp Group  remaing as required Field, How Should i do.Is it possiable through IVWID Feature?