<?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 Re: objected oriented in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680101#M619362</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;&amp;lt;b&amp;gt;Syntax&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Effect&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;This event keyword defines an event block whose event is triggered by the ABAP runtime environment when calling the executable program selection screen processing of a selection screen. &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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;If the program is linked to a logical database, preparations can be made here before the logical database reads data. If the program is not linked to a logical database, this event block even displays a "main program" from which procedures or screen layouts are called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the following three programs, each with the same function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first program contains an explicit event block START-OF-SELECTION and shows the recommended spelling. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT test_start_of_selection. &lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  text = `Hello World!`. &lt;/P&gt;&lt;P&gt;  WRITE text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second program, there is an assignment before the first processing block, which is inserted in the event block START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT test_start_of_selection. &lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Hello World!`. &lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  WRITE text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the third program, there is no explicit processing block. All statements form the event block START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT test_start_of_selection. &lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Hello World!`. &lt;/P&gt;&lt;P&gt;WRITE text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 08:07:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-14T08:07:48Z</dc:date>
    <item>
      <title>objected oriented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680100#M619361</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;cud any1 please tell me why we are using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION .&lt;/P&gt;&lt;P&gt;means what event this trigers&lt;/P&gt;&lt;P&gt;please explain  it in detrail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680100#M619361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T08:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: objected oriented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680101#M619362</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;&amp;lt;b&amp;gt;Syntax&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Effect&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;This event keyword defines an event block whose event is triggered by the ABAP runtime environment when calling the executable program selection screen processing of a selection screen. &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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;If the program is linked to a logical database, preparations can be made here before the logical database reads data. If the program is not linked to a logical database, this event block even displays a "main program" from which procedures or screen layouts are called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the following three programs, each with the same function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first program contains an explicit event block START-OF-SELECTION and shows the recommended spelling. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT test_start_of_selection. &lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  text = `Hello World!`. &lt;/P&gt;&lt;P&gt;  WRITE text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second program, there is an assignment before the first processing block, which is inserted in the event block START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT test_start_of_selection. &lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Hello World!`. &lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  WRITE text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the third program, there is no explicit processing block. All statements form the event block START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT test_start_of_selection. &lt;/P&gt;&lt;P&gt;DATA text TYPE string. &lt;/P&gt;&lt;P&gt;text = `Hello World!`. &lt;/P&gt;&lt;P&gt;WRITE text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680101#M619362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T08:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: objected oriented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680102#M619363</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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The REPORT statement always executes a START-OF-SELECTION implicitly. &lt;/P&gt;&lt;P&gt;Consequently all processing logic between the REPORT statement and the next event keyword is automatically processed in the START-OF-SELECTION event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing block is executed after processing the selection screen&lt;/P&gt;&lt;P&gt;All the data is selected in this block.&lt;/P&gt;&lt;P&gt;All the main processing on the data except for interactive reporting is handled in this block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680102#M619363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T08:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: objected oriented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680103#M619364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION :&lt;/P&gt;&lt;P&gt;This event occurs after the selection screen has been processed and before data is read using the logical database. You can use it to prepare for reading data and creating the list by, for example, setting values for internal fields and writing introductory notes on the output list. &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 PROGRAMstatement and the first processing block are also processed in the START-OF-SELECTION block. See also Defining Event Blocks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following executable program is connected to the logical database F1S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_program_start_of_selectio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / 'List of Flights' COLOR COL_HEADING,&lt;/P&gt;&lt;P&gt;         / 'Created by', SY-USERID, 'on', sy-datum.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if useful, reward some points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680103#M619364</guid>
      <dc:creator>former_member189596</dc:creator>
      <dc:date>2007-08-14T08:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: objected oriented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680104#M619365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u define any event before the start-of-selection event ,&lt;/P&gt;&lt;P&gt;to break that event we normally use start-of-selection.&lt;/P&gt;&lt;P&gt;suppose if u write: initialization event then if u dont write SOS event then all the statements are under init event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 08:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/objected-oriented/m-p/2680104#M619365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T08:13:37Z</dc:date>
    </item>
  </channel>
</rss>

