How to prevent AT SELECTION-SCREEN event on second Selection Screen

Hi All
I have a program in which I am entering some parameters in a selection screen and also validating them in AT SELECTION-SCREEN events. After validating them the program shows another selection screen in which I have some push-buttons. I have some events on those push-buttons also.
However I am facing a different problem now. When I execute the second selection screen I get the report, and when I click on back button then it again triggers the AT SELECTION SCREEN event of the first selection screen and displays the related messages.
How to prevent this ? Is there any way where I can restrict the execution of selection screen events for a particular selection screen?
Amol

Hi,
    try this logic when Ist selection screen validation
     is done set a flag = 'X' .
      at selection-screen.
      if glag is initial
       *screen validation
           flag = 'X..     
      endif.
regards
amole

Similar Messages

  • FMMC , how to prevent FM area screen from keep popping up

    hi guys,
    how to prevent FMMC from having FM area from keep popping up..i need to create a program using submit report via FMMC.
    IF FM area screen keeps popping up, it will disrupt the process , i tried to use OKKS  but  it doesnt stop the screen from keep popping up , pls advice

    Notifications>Messages>Show Preview & View in Lock Screen

  • How to see the number of events per second received by MARS

    Hi,
    I have a MARS installed in a client for demonstration porpuse. Is there a way for me to see how many events per second has the MARS received?
    Like in the access-list's logs when even if it can not log due the rate limit it says "missed 20 packets due rate limit".
    So maybe the MARS can not process all the events, but it can say how many events it received per second in avarege.

    go to admin->system maintenance->view log files and look for message rate

  • How to prevent BIP login screen pop-up when opening  BIP report from Dashbo

    Hi
    My customer linked BI Publisher report on the Dashboard page by setting
    "Embedded Content" as "http://172.18.1.91:7001/xmlpserver/servlet/report".
    Customer could open Dashboard directly(just login Dashboard. no need to login BIP) until applied patch 13399232.
    After applied this patch,BIP login scrren pop-up everytime when opening dashboard.
    Customer's BIP is 10.1.3.4.
    Is there any way to prevent BIP login pop-up?
    I tested in my BIP 10.1.3.4 enviroment which patch 13399232 doesn't be applied in.
    I got the different behaviour with customer's.
    I have to login BIP everytime when I openning dashboard.
    The only difference between my setting with Customer's is that I added
    "Embedded Content" as http://jpdel1203.jp.oracle.com:7777/xmlpserver/~administrator/Test/Test.xdo (It's hostname not IP address)
    Is there sth i should set between BIP and dashboard ?
    Does anyone kindly advise it?
    Thank you in advance.
    Best Regards
    Liying

    Check your BIP integration with Analytics: BIP Admin integration with SAW. Ensure the user and password to proxy into BIP from BIEE is correct.
    regards
    Jorge

  • How to stop the selection of an empty table?

    Hello , everyone.
    I created a JTable : tableView :
    tableView.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
    tableView.getSelectionModel().addListSelectionListener(this);
    tableView is a empty table , that is to say , tableView.getRowCount() returns 0 .
    When the table has focus, I press ENTER key , it will invoke the table's ListSelectionEvent event.
    So , in the ListSelectionEvent interface:
    public void valueChanged(ListSelectionEvent _e)
    I call :
    int selectedRow = tableView.getSelectionModel().getMinSelectionIndex();
    selectedRow value will increase with ENTER key pressed each time .
    My question is how to prevent from ENTER key event when a table is empty ?
    Thanks in advance .

    There is no table, unless you have a mapping table or an overflow segment, so the size is the bytes for the index segment. So yes, your query is probably correct. NB you will only have multiple segments with the same name, if you have partitioning, so you might not need the SUM .. GROUP BY

  • JTable: how to prevent events?

    Hello friends...
    Does somebody know how to prevent a JTable to fire events at certain times when selections are made?
    In this case, the selection can be made externally to the table, by a lot of objects at the same time. The goal is to fire an event ONLY when I really need it...
    ThanX in advance for any help...

    Hello again...
    ThanX for your answers, I used a mix of both.
    I used the method .setValueIsAdjusting() in ListSelectionModel that considers all coming events as one and I used a flag to enable changes.
    The problem now is, I get a big array of values the table has to handle. Since it handles it as one unique event, it should be OK. But I fear that if the array is really monstruous, the method .setValueIsAdjusting() enters in "wait" mode (multi threads and all the stuff) and the flag is set to true (changes possible) without changes being made to table... Perhaps, there would be no problem at all...
    Is it possible to force .setValueIsAdjusting() to do his job immediately?
    ThanX a lot for your time...

  • How to use 'at selection screen on exit command'

    Hi,
    How do I use the above event in the following scenario.
    Scenario: I have a report program which has two radio buttons on the selection screen to which user command is assigned. On selection one, some fields should get disappeared on the selection screen. But one of the fields is a mandatory field, which doesn't allow to proceed unless we enter some value in that(which is redundant since anyway it will be disappearing).
    I thought 'on exit command' event works, but the user command assigned to the radio button is not of type E.
    Issuing a message at selection screen instead of making the field mandatory will work, but I don't want to do that.
    Can anyone please tell me how to handle this?
    Incorrect answers will be suitably punished.
    Thanks,
    Sumanth
    Edited by: Julius Bussche on Sep 26, 2009 12:40 PM
    Silly comment suitably modified.

    do not make that field mandatory using obligatory. so now your radio button work is done.
    now, how to make the field look like and work like mandatory field on execution:
    at selection-screen output.
    loop at screen.
       if screen-name = 'P_MAN'. " lets say this is the field which you want to make mandatory.
          screen-required = 2. "this will just  put a tick mark on the input , looks like mandatory.
       endif.
    endloop.
    now, how to check the mandatory option.
    at selection-screen.
    if p_man is initial.
      display your message to fill this.
    endif.
    hope this helps...
    and as per forum rules, kindly do not encourage people by talking about forum rules.

  • How can I handle touch screen events with Swing?

    Hi,
    I was wondering how i can handle touch screen events. Are there APIs for that or is it just a mouse event?
    Thank you in advance.
    Tim

    I have recently created an application that ran on a touch screen system. I used the normal mouse events attached to the swing components (onClick) and these were translated by the touch screen. Typically I created a calculator type keypad, touched the screen on the text box where I wanted the data to appear and then pressed the keypad buttons to populate the field. No special drivers, just using swing components
    Hope that helps
    yeah, this is really useful info.. me too trying to build an application for the touch screen... just wondering how other events like focus gained, tree selection events are recognized by touch screen? can we have focus and tree, table selection events etc, as it is in the touch screen as well?? or everything is just mouse event only??

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • How do I move selected photos from one event to another in iPhoto

    Using iPhoto 9.5.1, how to I move selected items from one event into another event. I do not wish to merge both events. Thanks.

    select the photos and flag them - then select the target event and use the add flagged photos to selected event command
    LN

  • How to Modify the Selection Screen in Report Painter

    Hi All,
    I am working on Report painter and writer,
    can any body helpme how to change the selection screen i.e i want add some more  select options to the exisiting roport .
    how can i  add more select options to the exisiting one
    please let me know the Procedure and provide some relevent documents .
    Thanks and Best regards.
    uma

    Hello...
    In the program ...we can find the following chunk of code..
    selection-screen:begin of block B1 with frame title text-001.
    Parameters : ....
    select-options:.....
    selection-screen:end of block b1.
    if we need to add any more user inputs we can write the code inside the existing
    selection screen....end of block .
    or create a new block ..just the block name should be different...
    if we are using select options...we need to declare the table name using the key word for the field on which we are giving select options ....
    Tables : BSIK.
    Please see the following code:
    Imagine :- we have the current selection screen..
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
    SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR.
    SELECTION-SCREEN END OF BLOCK B1.
    we need to add 2 more fields on the selection screen ..this we can do as the following
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
    SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR,
                    S_HKONT FOR BSIK-HKONT.
    PARAMETER: P_DATE LIKE BSIK-BUDAT OBLIGATORY DEFAULT
               SY-DATUM.
    SELECTION-SCREEN END OF BLOCK B1.
    OR...create a new block...
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS:   S_HKONT FOR BSIK-HKONT.
    PARAMETER: P_DATE LIKE RFPDO-ALLGSTID OBLIGATORY DEFAULT
               SY-DATUM.
    SELECTION-SCREEN END OF BLOCK B2.
    there are many options available in selection screens..like creating check box,radio button etc..
    for more info press F1 help on the Selection screen in the ABAP editor
    Revert back if not clear and reward if helpful
    Regards
    Byju

  • How to prevent user from selecting a specific printer?

    Hi there
    I have a MailFolder which has an ArrayList of Email objects inside it. Each MailFolder has an attribute called folderFile which is a reference to a folder in the operating system. Each Email has an attribute called parentFile which is a reference to a file in the operating system.
    Now, I am trying to put printing into my application.
    When I print using a normal printer like my HP Deskjet or the likes - an actual physical printer - everything works fine. But when I print using the Microsoft Office Document Image Writer, things go wierd. The following things happen;
    I call myMailFolder.getFolderFile().exists() and this = false. But if I (in the debugger) make a new file pointing to the same path, .exists() = true. Also if I look in the OS, the file exists. So somehow in the job.print() this Document Image writer seems to be messing up this file reference. The same thing happens to the myEmail.getParentFile().
    So to fix this, can anyone tell me how to prevent the user from selecting this printer, or can anyone tell me why this is happening only with the Document Image Writer?
    Many thanks!
    Rachel

    I have similar problem with our printing program. I am printing Java Tables, zoom in every column in a landscape page accross multiple pages.
    There are two fatal problems:
    1. On Dell Latitude laptop, the HP5100 printer didn't work; I have to change the code to draw the table header with 2D graphics.
    2. Crash when printing on MS document image writer, but on some computers
    it works perfectly.
    Any one have a good solution/same result for topic 2?
    Thanks,

  • How to go back selection screen from its next screen

    I having one problem with output display
    actually i am displaying data in Initial Screen, which have 6 fields
    whenever i click on field 1 it should display one new screen (selection screen)which contain 6 radio buttons
    whenever i click on Radio Button r1 it should go to new screen (screen 3) to display its correponding data
             when i use f3 or back it should go to previous screen (selection screen), when we click radio button r2
             it should go to new screen (screen n)to display its correponding data.
    this what i have to display.
    but i am facing some probelms during my output
           i am going to initail screen from Screen 3.
           how to go back radiobutton screens (selection screen) from screen 3

    Hi Anil,
               U can get the fcode for standard <b>back</b>  button by debugging. To the fcode of  the "back' button.
    write this code :
    at user-command.
    case sy-ucomm.
    when 'back'.
    set screen <scr no>       " here scr no  is the screen no of  radio button screen
    leave screen.
    endcase.
    Reward points if helpful.
    Regards,
    Hemant

  • How to have a selection screen in the smartform

    Hi,
    <i><b>How to have a selection screen in the smartform. <u>Could anybody share with the example of driver program and the smart forms</u> . Please send me ASAP</b></i>
    Thanks
    Shiva shekar

    Hi,
    Refer to this
    http://www.****************/Tutorials/Smartforms/SFMain.htm
    Thanks,
    Anitha

Maybe you are looking for

  • Column values as Page Header

    Hi All, I want to display some column values like Company_Name, Company_Address etc in the Page Header of the report. I am fetching these values from table in the query of my report. Can somebody tell me how I can do that? I tried placing a repeating

  • Emulating TIMESTAMPDIFF

    I'm new or Oracle and am trying to emulate the JDBC function TIMESTAMPDIFF(interval, timestamp1,timestamp2). This function returns an integer which represents the number of intervals by which timestamp2 is greater than timestamp1. The interval may be

  • Porque Premiere Pro CC 2014 antes si reconocia archivos m2ts y ahora no los reconoce

    Tengo Premiere Pro CC 2014 desde hace unos meses. El ultimo trabajo lo hice con el con archivos M2T. Llevo trabajando desde la version CS5 sin problemas con este tipo de archivos. Por un cambio de disco duro de arranque tuve que formatear. Descargue

  • Menu function

    Hi, I just got my first iPod. On setting tab I found these menu, and I wonder if I can get some info about their function. - Audiobooks - Compilation - Sound Check Thanks

  • HT5717 Application crashes after installing Java 1.6.0_51

    Our Electronic Medical Records application now crashes upon start up after installing Java 1.6.0_51.   How do I back it out so I can re-install the previous Java version that works with out software? And I am referring to the runtime to run .jar file