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

END-OF-SELECTION event in ABAP

Hello Experts,

Can we write the logic part of the report in the END-OF-SELECTION event??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    Posted on Nov 11, 2013 at 05:56 AM

    Hi Sandeep

    Just to give you a background why do we have start and end of selection. Earlier when STOP statment etc were allowed what we used to do was in start of selection at any point of time we think our data has been fetched and its a time to display it we will use STOP statement which will trigger the End of Selection. The end of selection use to contain the code where you write data on to the screen.

    Now since these statement have been obsolete you can do at both places.

    Please read documentation for more detail.

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2013 at 05:47 AM

    Hi Sandeep,

    We can always write program logic in the END-OF-SELECTION event. Like the name says, it is used for processing the data that was selected/retrieved during START-OF-SELECTION event.

    Regards,

    ~Athreya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2013 at 06:11 AM

    code in the end-of-selection are processed when all the logical database records are read.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 11, 2013 at 06:14 AM

    Yes you can write program logic in END-OF-SELECTION, but depending upon the situation that logic is not has to be incorporated in some other Event block

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 11, 2013 at 06:29 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 11, 2013 at 07:50 AM

    Hi Sandeep Majumder

    Can we write the logic part of the report in the END-OF-SELECTION event??

    Yes... we write the logic part of the report in the END-OF-SELECTION event

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2013 at 10:40 AM

    Hi Sandeep,

    END-OF-SELECTION is bascially we used in LDB to end GET statement.

    In Normal Report it has not much significance.

    Hope this helps.

    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.