<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem in Events in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068616#M972611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small code to take one parameter and print its value. the code is as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  z_sdn.

PARAMETERS:
  p_var TYPE i.

END-OF-SELECTION.
  WRITE:'Input value is',p_var.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here I neither have any START-OF-SELECTION nor any free statement so that START-OF-SELECTION be applied to it.&lt;/P&gt;&lt;P&gt;But when I check it in debugging mode, under overview tab, it shows a START-OF-SELECTION .&lt;/P&gt;&lt;P&gt;Please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 08:29:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T08:29:40Z</dc:date>
    <item>
      <title>Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068616#M972611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small code to take one parameter and print its value. the code is as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  z_sdn.

PARAMETERS:
  p_var TYPE i.

END-OF-SELECTION.
  WRITE:'Input value is',p_var.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here I neither have any START-OF-SELECTION nor any free statement so that START-OF-SELECTION be applied to it.&lt;/P&gt;&lt;P&gt;But when I check it in debugging mode, under overview tab, it shows a START-OF-SELECTION .&lt;/P&gt;&lt;P&gt;Please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 08:29:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068616#M972611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T08:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068617#M972612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is always a START-OF-SELECTION EVENT in a REPORT program, you don't have code by you in it but it is here nevertheless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 08:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068617#M972612</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-06-26T08:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068618#M972613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Anirban,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                &lt;STRONG&gt;Start-of-selection is an implicit standard event block in an ABAP program, if there are no blocks mplemented in the program then by default it will be assigned to the "Start-of-selection" event.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasuki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 08:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068618#M972613</guid>
      <dc:creator>former_member206377</dc:creator>
      <dc:date>2008-06-26T08:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068619#M972614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION  is  the default event which is triggered  even if we do not explicitly mention the events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Report statemnt itself acts as START-OF-SELECTION  event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 08:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068619#M972614</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-06-26T08:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068620#M972615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anirban&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per i knw Start-of-Selection is implicitly defined with Report statement.&lt;/P&gt;&lt;P&gt;and it is fired before the first executable statemnet. so in debugging u r seeing a start-of-selection block.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 09:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068620#M972615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T09:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068621#M972616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an executable program, all statements that are not declarations, and are listed before the first explicit processing block, are assigned to this event block. If the program does not contain an explicitly defined event block START-OF-SELECTION, these statements form the complete event block START-OF-SELECTION. If a program contains an explicitly defined event block START-OF-SELECTION, these statements are added to the beginning of the event block. If the program contains no explicitly defined event blocks, these statements form the entire event block START-OF-SELECTION. Even if we do not have any free statement, START-OF-SELECTION event is implicitly triggerred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 09:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068621#M972616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T09:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068622#M972617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The REPORT statement automatically starts the START-OF-SELECTION processing. Any processing between the REPORT statement and the subsequent event key word is executed at START-OF-SELECTION . &lt;/P&gt;&lt;P&gt;Immediately after, the processing block introduced by an explicit START-OF-SELECTION is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an executable program, any non-declarative statements that occur between the REPORT or PROGRAM statement and the first processing block are also processed in the START-OF-SELECTION block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068622#M972617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068623#M972618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you might be knowing that start-of-selection is the default event in any report program.Also the report statement in a program falls under the start-of-selection event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your program you only  have end-of-selection .So all the remaining statements including the parameter declaration are a part of start-of-selection.That is the reason why you are getting start-of-selection in the debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;&lt;P&gt;bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 11:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-events/m-p/4068623#M972618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T11:25:30Z</dc:date>
    </item>
  </channel>
</rss>

