Skip to Content
author's profile photo Former Member
Former Member

at selection screen

hi,

What is difference between

At Selection-screen on field and At Selection-screen on output.

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2008 at 05:46 AM

    AT SELECTION-SCREEN ON <FIELD>

    This event is processed before leaving the Selection Screen i.e. when the selection screen has been processed (at the end of PAI once the ABAP runtime environment has passed all the input data from selection screen to the ABAP program).

    This event is used to validate the input provided through selection screen. 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.

    AT SELECTION-SCREEN OUTPUT

    This event gets triggered for the first time when the screen is building up and the screen is about to appear. It gets triggered again and again for every dialog step/the selection screen is refreshed/ enter key is pressed.

    This event is to control the display of the screen at runtime. lilke hiding the fields, making the fields Active/Inactive, to modify the field attributes. It is a PBO Event.

    Reward if useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 04, 2008 at 05:47 AM

    Hi,

    Its the same difference as it is between PAI module on FIELD and PBO module.

    Regards,

    Sesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 11:58 AM

    Hi,

    At selection-screen output is triggered when the selection screen is loaded in memory before being displayed.

    The event AT SELECTION-SCREEN is the basic form of a whole series of events that occur while the selection screen is being processed.

    The standard selection screen in an executable program or in the logical database linked to it is automatically called between the INITIALIZATION and START-OF-SELECTION events. When you call the selection screen, and when users interact with it, the ABAP runtime environment generates selection screen events, which occur between INITIALIZATION and START-OF-SELECTION.

    wih regards,

    sowjanya.gosala.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 12:43 PM

    Hi,

    At selection-screen on <field>.

    We can validate a particular field input on selection screen under this event.

    At selection-screen on s_carrid.

    If s_carrid-low < > ‘LH’.

    <… code for validation…>

    Endif.

    At selection-screen output.

    Effect

    This event is triggered at the screen event PBO of a selection screen. In the event block, the selection screen can be prepared through assignments to the data objects of parameters and selection criteria and through dynamic screen modifications.

    Note

    The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. Assignments in the event blocks LOAD-OF-PROGRAM oder INITIALIZATION, on the other hand, only have an effect at first program start.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 12:59 PM

    the basic difrence between these two is

    AT SELECTION-SCREN ON FILED IS USED FOR FEILD VALIDATION ON THE SCREEN

    AT SELECTION-SCREN OUTPUT IS USED TO MODIFY THE SCREN ELEMNTS AFTER DISLAYING THE SCREN

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.