Can Selection Screen processing events be triggered manually?

Good day!
I have a Selection Screen where a user can select a value from a drop-down box.  If a particular value is used, I assign default text to another Selection Screen field.
However, because choosing the drop-down value doesn't trigger a Selection Screen processing event (AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT) the value doesn't get updated on the screen field, even though it gets updated in memory.  It only updates on the screen if the user selects a radio button value for another field because that triggers the Selection Screen processing events.
I've read about various methods in an attempt to get this to work, but nothing is working.  Is there ANY way to trigger SAP to go to these events?
Thanks, and points for all helpful advice!
Dave

Hi dave,
1. Selecting a listbox on selection screen,
    and immediately populating a field value on the screen.
2. just copy paste to get a taste of it.
3.
REPORT ABC.
TYPE-POOLS : VRM.
DATA : VALUES TYPE VRM_VALUES.
DATA : VW LIKE LINE OF VALUES.
DATA : FLAG TYPE C.
PARAMETERS : LIST TYPE C AS LISTBOX VISIBLE LENGTH 10
<b>USER-COMMAND ABC.</b>
PARAMETERS : A(10) TYPE C.
INITIALIZATION.
  VW-KEY = '1'.
  VW-TEXT = 'SUN'.
  APPEND VW TO VALUES.
  VW-KEY = '2'.
  VW-TEXT = 'MON'.
  APPEND VW TO VALUES.
  VW-KEY = '3'.
  VW-TEXT = 'TUE'.
  APPEND VW TO VALUES.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      ID              = 'LIST'
      VALUES          = VALUES
    EXCEPTIONS
      ID_ILLEGAL_NAME = 1
      OTHERS          = 2.
<b>AT SELECTION-SCREEN  OUTPUT.
A = LIST.</b>
regards,
amit m.

Similar Messages

  • Tabbed selection screen with AT SELECTION-SCREEN ON events does not work

    I have a selection screen with 3 tabs fields on each tab have AT SELECTION-SCREEN ON field events.  
    If you are on tab 1 and select a variant that populates fields on all tabs and then click the execute button ABAP does not seem to recognize that the field has changed when it executes AT SELECTION-SCREEN ON field event unless you physically go to each tab.
    I can work around this by:
    1) moving all of the AT SELECTION-SCREEN ON field events in a AT SELECTION-SCREEN OUTPUT event.  This is not efficient and it potentially opens me up to other problems.
    2) changing the selection screen to remove the tabs and have all of the fields on 1 screen.  This makes for a very long screen.
    Is there any way to have ABAP check all tabs?
    Thanks,
    Jerry

    I finally got it to start.   Let it sit and tried and it wouldn't but then I tried again and it did.  How do I blow the dust out?   I think it must be something with the heat since that comes up alot. 
    I will do it, I love my Mac.

  • At Selection-screen output event

    Hi
    can any one give me some examples for at selection-screen output event
    with regards
    nagaraj
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Nov 8, 2011 12:13 PM

    Thanks Benedict
    Creating Module %_S_KOSTL and write our own logic to bring the parameter id value of Cost center from User profiles is NOT possible in program RM06BF00,  screen 1000.
    We can do that in Copied program of RM06BF00 ..which is the very last option.
    I wanted to do that with User-exits or BADI or Enhancement spot etc...which i Couldn't do it so far...
    The alternate might be Zprog and Ztcode or an SNOTE..
    if you ALL think its NOT possible with User-exits or BADI or Enhancement spot or SNOTE etc..Then i will close this Thread...
    Please let me know ASAP...
    Thanks
    Govi

  • AT SELECTION-SCREEN OUTPUT event of standard tcode

    Hi
    I need User-exit or BADI or Enhancment spot in AT SELECTION-SCREEN OUTPUT event of ME55.
    I need to populate the default cost center into the cost center field from user parameters with pid 'KOS' when i execute the ME55.
    I maintained the PID in user parameters but the value is not getting populated in ME55.
    Please let me know
    Govi

    Thanks Benedict
    Creating Module %_S_KOSTL and write our own logic to bring the parameter id value of Cost center from User profiles is NOT possible in program RM06BF00,  screen 1000.
    We can do that in Copied program of RM06BF00 ..which is the very last option.
    I wanted to do that with User-exits or BADI or Enhancement spot etc...which i Couldn't do it so far...
    The alternate might be Zprog and Ztcode or an SNOTE..
    if you ALL think its NOT possible with User-exits or BADI or Enhancement spot or SNOTE etc..Then i will close this Thread...
    Please let me know ASAP...
    Thanks
    Govi

  • Accessing WS data set during selection screen processing in BG processing

    Hello ABAPers,
    I am attempting to access a working storage table variable that is set during selection screen processing after the user submits the program to background processing (using F9).
    I have tried using export to memory id in the at selection screen section and then import from memory id in the start-of-selection section, but it does not seem to work all of the time.  Is there a better way of doing this?
    Thanks

    bump

  • AT selection-screen : Processed 2 times!

    I do have a selection screen
    and event at-selection-screen.
    Some checkbox with usercommand
    When box is uncheck something has to be done but it is done 2 times!
    any idea +?

    My selection screens are generated by another program
    Here is the generated code!
    REPORT main_****.
    CALL SCREEN 0005.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN  .
    SELECTION-SCREEN BEGIN OF BLOCK b_plan WITH FRAME TITLE box_plan.
    SELECTION-SCREEN PUSHBUTTON /01(20) p_9360 USER-COMMAND pl_9360.
    SELECTION-SCREEN PUSHBUTTON 26(20) p_0031 USER-COMMAND pl_0031.
    SELECTION-SCREEN PUSHBUTTON 51(20) p_7320 USER-COMMAND pl_7320.
    SELECTION-SCREEN PUSHBUTTON 76(20) p_7460 USER-COMMAND pl_7460.
    SELECTION-SCREEN PUSHBUTTON /01(20) p_0030 USER-COMMAND pl_0030.
    SELECTION-SCREEN PUSHBUTTON 26(20) p_3250 USER-COMMAND pl_3250.
    SELECTION-SCREEN PUSHBUTTON 51(20) p_4350 USER-COMMAND pl_4350.
    SELECTION-SCREEN PUSHBUTTON /01(20) p_6150 USER-COMMAND pl_6150.
    SELECTION-SCREEN PUSHBUTTON 26(20) p_0035 USER-COMMAND pl_0035.
    SELECTION-SCREEN PUSHBUTTON 51(20) p_4370 USER-COMMAND pl_4370.
    SELECTION-SCREEN PUSHBUTTON /01(20) p_0007 USER-COMMAND pl_0007.
    SELECTION-SCREEN PUSHBUTTON 26(20) p_7440 USER-COMMAND pl_7440.
    SELECTION-SCREEN PUSHBUTTON 51(20) p_4360 USER-COMMAND pl_4360.
    SELECTION-SCREEN END OF BLOCK b_plan .
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b_stat WITH FRAME TITLE box_stat.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(20) pstt_01
    FOR FIELD pst_01.
    PARAMETERS pst_01 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_01.
    SELECTION-SCREEN COMMENT 26(20) pstt_05
    FOR FIELD pst_05.
    PARAMETERS pst_05 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_05.
    SELECTION-SCREEN COMMENT 51(20) pstt_08
    FOR FIELD pst_08.
    PARAMETERS pst_08 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_08.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(20) pstt_03
    FOR FIELD pst_03.
    PARAMETERS pst_03 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_03.
    SELECTION-SCREEN COMMENT 26(20) pstt_06
    FOR FIELD pst_06.
    PARAMETERS pst_06 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_06.
    SELECTION-SCREEN COMMENT 51(20) pstt_10
    FOR FIELD pst_10.
    PARAMETERS pst_10 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_10.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 01(20) pstt_04
    FOR FIELD pst_04.
    PARAMETERS pst_04 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_04.
    SELECTION-SCREEN COMMENT 26(20) pstt_07
    FOR FIELD pst_07.
    PARAMETERS pst_07 AS CHECKBOX DEFAULT 'X' USER-COMMAND pst_07.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b_stat .
    SELECTION-SCREEN END OF SCREEN 200.
    SELECTION-SCREEN BEGIN OF SCREEN 300 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b_licha WITH FRAME TITLE box_lich.
    DATA : g_licha TYPE mch1-licha.
    SELECT-OPTIONS : so_licha FOR g_licha.
    SELECTION-SCREEN END OF BLOCK b_licha .
    SELECTION-SCREEN END OF SCREEN 300.
    SELECTION-SCREEN BEGIN OF SCREEN 333 AS SUBSCREEN.
    SELECTION-SCREEN INCLUDE BLOCKS b_stat.
    SELECTION-SCREEN INCLUDE BLOCKS b_licha.
    SELECTION-SCREEN INCLUDE BLOCKS b_plan.
    SELECTION-SCREEN END OF SCREEN 333.
    SELECTION-SCREEN BEGIN OF SCREEN 666 AS SUBSCREEN.
    SELECTION-SCREEN END OF SCREEN 666.
    SELECTION-SCREEN BEGIN OF SCREEN 999 AS SUBSCREEN.
    SELECTION-SCREEN END OF SCREEN 999.
    SELECTION-SCREEN BEGIN OF SCREEN 0005.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR
    17
    LINES,
        TAB (20) button1 USER-COMMAND push1 DEFAULT SCREEN 333,
        TAB (20) button2 USER-COMMAND push2 DEFAULT SCREEN 666,
        TAB (20) button3 USER-COMMAND push3 DEFAULT SCREEN 999,
                      END OF BLOCK mytab.
    SELECTION-SCREEN END OF SCREEN 0005.
    INITIALIZATION.
      SET  PF-STATUS 'STAT'.
      sy-title = '-= [ MDi Cockpit ] =-'.
      TABLES zvmdi16. RANGES : r_status FOR zvmdi16-zzmdistat.
      r_status-sign = 'I'. r_status-option = 'EQ'.
      MOVE 'ACB' TO p_9360.
      MOVE 'Avilés' TO p_0030.
      MOVE 'Cockerill Sambre' TO p_6150.
      MOVE 'EKO Stahl GmbH' TO p_0007.
      MOVE 'Etxebarri' TO p_0031.
      MOVE 'Galvalange' TO p_3250.
      MOVE 'Gijón' TO p_0035.
      MOVE 'Sagunto' TO p_7440.
      MOVE 'Sidmar' TO p_7320.
      MOVE 'Sollac Atlantique' TO p_4350.
      MOVE 'Sollac Lorraine' TO p_4370.
      MOVE 'Sollac Méditerranée' TO p_4360.
      MOVE 'Stahlwerke Bremen' TO p_7460.
      MOVE '01-Initialized' TO pstt_01.
      MOVE '01' TO r_status-low. APPEND r_status.
      MOVE '03-Send to Plant' TO pstt_03.
      MOVE '03' TO r_status-low. APPEND r_status.
      MOVE '04-Analysis by Plant' TO pstt_04.
      MOVE '04' TO r_status-low. APPEND r_status.
      MOVE '05-Pending at Plant' TO pstt_05.
      MOVE '05' TO r_status-low. APPEND r_status.
      MOVE '06-Updated for Leverage' TO pstt_06.
      MOVE '06' TO r_status-low. APPEND r_status.
      MOVE '07-Wait for new MDI Message' TO pstt_07.
      MOVE '07' TO r_status-low. APPEND r_status.
      MOVE '08-Returned to Leverage' TO pstt_08.
      MOVE '08' TO r_status-low. APPEND r_status.
      MOVE '10-Ignore MDI Message' TO pstt_10.
      MOVE '10' TO r_status-low. APPEND r_status.
    AT SELECTION-SCREEN OUTPUT.
      MOVE 'Vendor Batch' TO %_so_licha_%_app_%-text.
      MOVE 'Plant' TO box_plan.
      MOVE 'MDi Status' TO box_stat.
      MOVE ' Main Selection ' TO button1 .
      MOVE ' Status Information ' TO button2 .
      MOVE ' Error Information ' TO button3 .
    AT SELECTION-SCREEN.
      IF sy-ucomm CS 'PL_'.
        IF r_status[] IS INITIAL.
          MESSAGE e398(00) WITH 'No Status have been selected!'.
        ELSE.
          SUBMIT zvl_mdi_errorwf_plant
                WITH s_licha IN so_licha
                WITH s_plant = sy-ucomm+3
                WITH s_status IN r_status
          AND RETURN.
        ENDIF.
      ELSEIF sy-ucomm CS 'PST_'.
        DELETE r_status WHERE low = sy-ucomm+4.
        IF sy-subrc NE 0.
          MOVE  sy-ucomm+4(2) TO r_status-low. APPEND r_status.
        ENDIF.
        CLEAR sy-ucomm.
      ENDIF.

  • Selection screen processing in Module pool

    Dear Friends,
    I am preparing a module pool, in which from one screen, i have to call a selection screen. I want to define this selection screen in the same program. Under which event block, i can define this selection screen?
    Once its called, how can i process the selection screen ( like START-OF-SELECTION etc ?). If i use a LEAVE TO LIST-PROCESSING to display some output, how can i process the user actions in this list?
    Thanking you in anticipation.
    Deepak

    HI Max,
    Thanks a lot for your reply. It was really helpfull. But my problem is not yet solved.
    When i call the selection screen from the PBO of a screen, the selection screen is not being displayed. Only the blank screen is displayed. So i tried another way. I put the CALL SELECTION-ECREEN  statement in the USER_COMMAN_100 module of PAI of the previous screen. (ie when user choose a button from the tool bar, in the initial screen the selection screen will be displayed.)
    module user_command_0100 input.
      OK_SAVE = OK100.
      CLEAR OK100.
      CASE OK_SAVE.
        WHEN 'LIST'.
          CALL SELECTION-SCREEN 200.
          IF SY-SUBRC = 0.
            PERFORM PROCESS_LIST.
          ELSE.
            leave screen.
          ENDIF.
    endmodule.                 " USER_COMMAND_0100  INPUT
    form process_list.
    ... reading database...
    IF SY-SUBRC = 0.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 100.
      SET PF-STATUS 'GUI_LIST'.
        LOOP AT ITAB.
          WRITE :/ ITAB-BUKRS, ITAB-BELNR, ITAB-GJAHR.
        ENDLOOP.
      LEAVE SCREEN.
      ENDIF.
    endform.                    " PROCESS_LIST
    Now i have two problems to solve.
    1. I want to come back to the same selection screen (screen no 200) instead of screen 100, when the user click 'back' button in the list. but if i specify screen no 200 in
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 100.
    it gives runtime error. ( Msg: Selection screen ZTEST3 0200 was not called using CALL SELECTION-SCREEN). How to return back to selection screen?
    and
    2. If the user selects a line from the list(PICK/F2), that value has to be passed to the input field of first screen( ie the initial screen from where i called the selection screen : screen no 100) For this, where can i write the code to process the user actions in the list?
    Thanking you in anticipation
    Deepak

  • Issue with AT SELECTION-SCREEN ON event

    Hi Experts!!
    In the below code, p_jan, p_feb are showing as blank though they are filled in. Is this how this event works?
    PARAMETERS: p_categ TYPE zpycateg,
                             p_jan TYPE sy-datum,
                             p_feb TYPE sy-datum.
    AT SELECTION-SCREEN ON p_categ.
    IF NOT p_jan IS INITIAL.
    ENDIF.
    Please help me out.

    Hi
    That event works for P_CATEG, here other parameters of the screen can't been seen.
    If you want to do a validation has to check several parameters of a selection-screen you should use the event AT SELECTION-SCREEN.
    Anyway if you think it's better the event AT SELECTION-SCREEN ON <screen field>, the values of other fields can be picked up bu fm DYNP_VALUES_READ
    AT SELECTION-SCREEN ON P_CATEG.
      DATA: T_FIELDS TYPE STANDARD TABLE OF DYNPREAD WITH HEADER LINE.
      T_FIELDS-FIELDNAME = 'P_JAN'. APPEND T_FIELDS.
      T_FIELDS-FIELDNAME = 'P_FEB'. APPEND T_FIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME     = SY-REPID
          DYNUMB     = SY-DYNNR
        TABLES
          DYNPFIELDS = T_FIELDS.
      READ TABLE T_FIELDS WITH KEY FIELDNAME = 'P_JAN'.
      IF NOT T_FIELDS-FIELDVALUE IS INITIAL.
      ENDIF.
    Max

  • Selections Screen Processing

    I have a selection screen with several select-options, most of which
    allow multiple selections and/or ranges.
    These selection crietera have to be used to retrieve data for
    a report.  I can generate a first SQL statement to retrieve all
    the records meeting the top-level selection criteria.  And then I would
    have to filter the data using several loops to apply the other
    selection criteria.  I could also create one or more views in the dictionary
    to reduce the need for this loop processing.
    What is the best way to proceed?

    Depend on ur database then you can decide ,You could write Normal select query with having join select query .
    Please take up in internal table only 3 tables for each join query and if you take more than 3 tables and it would be performance issue.
    and also try to use for all entries and it gives better option.

  • Selection screen processing

    Hello,
    I want to update a selection screen field according to the values of two others. The two other field values wait for pressing Enter before passing their values. But I want to get the values of these fields when the focus is changed to the third field which I want to update. Which processing block should I use?
    Thx,
    Ali

    write the code as follows..
    initialization.
          ur code......
    at selection-screen output.
         loop at screen.
               check ur condition.
               modify screen.
         endloop.
    reward points please..

  • Can xMII sense an event being triggered in SAP?

    Hi xMII Gurus,
    I have a requirement where, when some event is triggered in SAP, I have to fetch some data from SAP to xMII and do some procesing and post the data back to SAP. Is there any way by which xMII can sense the event being triggered in SAP?
    Thanks in advance,
    Prasanna

    Hi Prasanna,
    It can be done with a trick
    1. Create the  transaction in xMII
    2. Generate the webservice.
    3. Consume it in ERP
        a. from SE80 you have to consume
        b. From Lpconfig you have to create a port.
    4. Now after the event occured in ERP,Call the interface of the class you have created in SE80
    And it is done
    Thanks and regards,
    Pradip

  • At selection-screen on field

    friends can u tell me the difference between atselection-screen and at selection-screen on field?

    First of all the actual order of events
    INITIALIZATION
         AT SELECTION-SCREEN OUTPUT
         AT SELECTION-SCREEN ON <field>
         AT SELECTION-SCREEN     
    START-OF-SELECTION
    INITIALIZATION
    This event occurs before the standard selection screen is called. You can use it, for example, to initialize the input fields of the standard selection screen or you can assign your own default values.
    REPORT EVENT_DEMO.
    PARAMETERS DATUM TYPE SY-DATUM DEFAULT SY-DATUM.
    NODES SPFLI.
    INITIALIZATION.
      CITY_FR = 'NEW YORK'.
      CITY_TO = 'FRANKFURT'.
      CARRID-SIGN   = 'I'.
      CARRID-OPTION = 'EQ'.
      CARRID-LOW    = 'AA'.
      APPEND CARRID.
      DATUM+6(2) = '01'.
    In the PBO of the selection screen, the
    AT SELECTION-SCREEN OUTPUT
    event is triggered. This event block allows you to modify the selection screen directly before it is displayed.
    PARAMETERS: TEST1(10) MODIF ID SC1,
                TEST2(10) MODIF ID SC2,
                TEST3(10) MODIF ID SC1,
                TEST4(10) MODIF ID SC2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    The parameters TEST1 and TEST3 are assigned to the modification group SC1, while TEST2 and TEST4 are assigned to group SC2. During the AT SELECTION-SCREEN OUTPUT event, the INTENSIFIED field of internal table SCREEN is set to 1 or 0, depending on the contents of the GROUP1 field. On the selection screen, the lines for TEST1 and TEST3 are highlighted while those for TEST2 and TEST4 are not.
    In the PAI event of the selection screen, the event
    AT SELECTION-SCREEN ON <field>
    is triggered when the contents of each individual input field are passed from the selection screen to the ABAP program. The input field <field> can be checked in the corresponding event block. If an error message occurs within this event block, the corresponding field is made ready for input again on the selection screen.
    The program below is connected to the logical database F1S:
    REPORT EVENT_DEMO.
    NODES SPFLI.
    AT SELECTION-SCREEN ON CITY_FR.
      IF CARRID-LOW EQ 'AA' AND CITY_FR NE 'NEW YORK'.
        MESSAGE E010(HB).
      ENDIF.
    If the user enters "AA" in the first input field, but not NEW YORK for the departure city, an error message is displayed in the status line until the user enters the correct city.
    The AT SELECTION-SCREEN event is triggered in the PAI of the selection screen once the ABAP runtime environment has passed all of the input data from the selection screen to the ABAP program. If an error message occurs in this processing block, the selection screen is redisplayed with all of its fields ready for input. This allows you to check input values for consistency.
    The program below is connected to the logical database F1S:
    REPORT EVENT_DEMO.
    NODES SPFLI.
    AT SELECTION-SCREEN.
      IF CARRID-LOW IS INITIAL
        OR CITY_FR IS INITIAL
        OR CITY_TO IS INITIAL.
        MESSAGE E000(HB).
      ENDIF.
    If the user does not enter values in all of the fields on the selection screen, an error message appears in the status line. This makes all of the input fields mandatory, even though they are not defined as such in the logical database.
    Reward points, if the issue is resolved.
    Regards,
    Raman
    Message was edited by:
            Raman Vinocha

  • At selection-screen output in batch job

    Hi guys,
    is at selection-screen output event being triggered in batch job?
    Thanks!

    Yes it will, We set the value using a variant during scheduling the job but that values can also be false. You can check that yourself and look for job log then.
    Thanks,
    Jayant

  • At selection screen on input

    What is the use of the event at selection-screen on input?

    Hi,
    This event is used mainly for validating an input provided to the selection screen element. Once a value is entered in the Selection Screen this Event gets triggered.
    The syntax for this is
    AT SELECTION-SCREEN ON {para/selcrit}
    Effect
    This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
    No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
    Note
    If a user action takes place in the dialog box for the multiple selection of a selection criterion selcrit, the entries of the selection table are passed to the program, line by line. For each line, the event AT SELECTION-SCREEN ON selcrit is triggered.
    Reward if helpful.

  • Initialization & at selection-screen output difference

    i think what we are handling in INITIALIZATION also we can handle same in  AT SELECTION SCREEN OUTPUT also. can any one give example where we can handle things only in INITIALIZATION instead of AT SELECTION-SCREEN OUTPUT.

    hi
    good
    INITIALIZAION->
    This event occurs before the standard selection screen is called. During this event block, the input fields of the standard selection screen can only be initialized once after the program has been started.
    INITIALIZATION.
      airp_fr-sign = 'I'.
      airp_fr-option = 'EQ'.
      airp_fr-low = 'JFK'.
      APPEND airp_fr.
      airp_to-sign = 'I'.
      airp_to-option = 'EQ'.
      airp_to-low = 'FRA'.
      APPEND airp_to.
      carrid-sign   = 'I'.
      carrid-option = 'BT'.
      carrid-low    = 'AA'.
      carrid-high   = 'LH'.
      APPEND carrid.
      datum+6(2) = '01'.
    AT SELECTION-SCREEN OUTPUT->
    In the PBO of the selection screen, the
    AT SELECTION-SCREEN OUTPUT
    event is triggered. This event block allows you to modify the selection screen and its fields directly before it is displayed.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'SC1'.
          screen-intensified = '1'.
          MODIFY SCREEN.
          CONTINUE.
        ENDIF.
        IF screen-group1 = 'SC2'.
          screen-intensified = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    if you go through this you ll find both are completely difference and they do different job at different point.
    thanks
    mrutyun^

Maybe you are looking for

  • IOS 5.1 update and Music App Artist sort

    Since I have updated my iPhone to iOS 5.1, I have noticed something in my music app. When I select to sort my library by Artist, it now includes every artist that is included on any compilations I have. This wasn't doing this before. Whenever I had a

  • Dropping business key from existing dimension

    A business key needs to be removed from an existing dimension in a data warehouse. I couldnt locate any documentation regarding this topic, so please let me know of any links to documentation if you know of any. Im needing to know if this can be done

  • Problem opening file

    HI! Please i need help opening a file in my Indesign CS5! I began creating a file in a mac computer with indesign CS5, however now im trying to open it with my regular laptop (works with windows) and i cant do it although i also have the CS5 adobe pa

  • ERM error: Field ROLE not a member of INPUT

    Hi Experts, After upgrade to 11.2 I'm having this error. It appears at the Define Authorization stage after I chose transactions and clicking continue. The connectors and JCos are working. Please assist. Thx, Vit V edit: All XMLs reloaded and system

  • Scripting Enterprise Groups-Application Roles mapping

    Hi All, For my WebCenter Portal, I have local Application Roles that need to be mapped to Enterprise Groups. I know this can be done from the Portal Administration console using "Add Groups". This doesn't seem to persist across re-deployments. I trie