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

start-of-selection

hello!

do anybody know, if there exists a comment in ABAP,

that goes back to the start-of-selection event?

best regards

biclibic

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 02:05 PM

    Hi,

    Please try the below code.If you put stop stmt in start-of-selection event the stmts after stop wont get executed and directly goes to end-of-selection event.

    Please put a break-point and execute ,you will understand.

    REPORT ztemp_sdn2 .

    DATA: v_p TYPE p decimals 2.

    data: v_c(20) TYPE c.

    start-of-selection.

    v_p = 123333.

    write: v_p to v_c.

    stop.

    WRITE:/ v_p, v_c.

    end-of-selection.

    WRITE:/ v_p, v_c.

    i think this only you are expecting.feel free to ask any questions on this if your problem not solved..

    reward if useful to you

    Thanks

    Sivaparvathi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 02:18 PM

    Hi,

    Start-of-selection gets triggered when the control is passed from DIA processor to ABAP processor with in it. So to retrigger the event you need to shift the control back by reassigning the task to new dialog procesor which can be done by either restarting the program using submit keyword or start a new task by using STARTING IN NEW TASK in subroutine or function module call.

    Sirish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 02:20 PM

    Hi,

    Just give the above coding and debugg it slowly it will be clear to you.

    Kindly post question more clearly.

    Thanks

    Sakthi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 03:15 PM

    Hi Bianca,

    Just FYI, START-OF-SELECTION event is triggerred by the Runtime Environment and we as programmers don't have any control over that! This event is triggerred only once per execution of a report program.

    What is your objective? What do you want to do? Little more info may help us.

    Thanks

    Sanjeev

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you for your answers...

      now i have found another solution.

      ps: i know that start-of-selection is a event but it would be nice if there are functions in ABAP to trigger events form source coding.

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.