<?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: events in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402594#M535323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Event keyword: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The END-OF-SELECTION event is triggered in type 1 programs once the logical database has finished reading all data and before the list processor is started. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2007 14:56:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-19T14:56:21Z</dc:date>
    <item>
      <title>events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402593#M535322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Wha is the use of END OF SELECTION  explain in detail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 14:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402593#M535322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T14:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402594#M535323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Event keyword: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The END-OF-SELECTION event is triggered in type 1 programs once the logical database has finished reading all data and before the list processor is started. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 14:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402594#M535323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402595#M535324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is already explained in detail in the official documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9aca35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9aca35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;  ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 14:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402595#M535324</guid>
      <dc:creator>oliver</dc:creator>
      <dc:date>2007-06-19T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402596#M535325</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;This is the last of the events called by the runtime environment to occur. It is triggered after all of the data has been read from the logical database, and before the list processor is started. You can use the corresponding event block to process and format the data that the program has stored in internal tables or extracts during the various GET events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;The following program is connected to the logical database F1S.

REPORT EVENT_DEMO.

NODES SPFLI.

DATA: SPFLI_TAB TYPE SORTED TABLE OF SPFLI
WITH UNIQUE KEY CITYFROM CITYTO CARRID CONNID,
SPFLI_LINE TYPE SPFLI.

START-OF-SELECTION.

WRITE 'Demo program for END-OF-SELECTION'.
SKIP.

GET SPFLI FIELDS CARRID CONNID CITYFROM CITYTO.

MOVE-CORRESPONDING SPFLI TO SPFLI_LINE.
INSERT SPFLI_LINE INTO TABLE SPFLI_TAB.

END-OF-SELECTION.

LOOP AT SPFLI_TAB INTO SPFLI_LINE.
WRITE: / SPFLI_LINE-CITYFROM,
SPFLI_LINE-CITYTO,
SPFLI_LINE-CARRID,
SPFLI_LINE-CONNID.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program fills a sorted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashokreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 15:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402596#M535325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402597#M535326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer it is good but if i dont know Logical Db then how should i talk about it .Thay ask what do u write in end of selection ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 15:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402597#M535326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T15:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402598#M535327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We simply write the output fields that are to be displayed in the list output&lt;/P&gt;&lt;P&gt;in end-of-selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 15:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402598#M535327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402599#M535328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In report programs using LDB for every value selected the program issues the output, to control this you would use END-OF-SELECTION. Now if you call your output in this event, the output is made only after all the values are selected as per the selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i will give u a nice example where u need end-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose while coding, u need a logic like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a condition is satisfied continue with the report&lt;/P&gt;&lt;P&gt;and if not satisfied, then display a message and end the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then u can code like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-slection.&lt;/P&gt;&lt;P&gt;if a = &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;do the following.......&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;write: 'THIS IS END'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: stop command triggers end-of-slection from anywhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 15:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402599#M535328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T15:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402600#M535329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i appreciate your explanation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 05:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/2402600#M535329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T05:48:35Z</dc:date>
    </item>
  </channel>
</rss>

