<?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: reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209429#M765137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2007 16:12:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-18T16:12:17Z</dc:date>
    <item>
      <title>reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209428#M765136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii friends....&lt;/P&gt;&lt;P&gt;is it mandatory to gv a end-of-selection in reports?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2007 16:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209428#M765136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-18T16:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209429#M765137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2007 16:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209429#M765137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-18T16:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209430#M765138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2007 16:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209430#M765138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-18T16:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209431#M765139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;END-OF-SELECTION is not mandatory,this is for Output formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In start-of-selection,you get all data into internal table then you need to display the data .if selection does not match for select query,then use stop command ,it goes straight way to end-of-selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2007 16:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209431#M765139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-18T16:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209432#M765140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2007 17:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209432#M765140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-18T17:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209433#M765141</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;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION makes more sense when you are using logical database in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See these links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/34/8e74266df74873e10000009b38f9b8/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/34/8e74266df74873e10000009b38f9b8/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db9aca35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db9aca35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all the data has been selected END-OF-SELECTION event writes the data to the screen &lt;/P&gt;&lt;P&gt;The END-OF-SELECTION event is triggered in executable programs once the logical database has finished reading all data and before the list processor is started.&lt;/P&gt;&lt;P&gt;Try to go thro this link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a1435c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a1435c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Mostly end-of-selection is used in logical data base. It is not mandatory.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;If you use a logical database in your report then this event is mandatory because when all the data selection from the database is finished this events get triggers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you are populating a internal table using a logical data base event 'GET' then you need this event because if you don't use this you get display again and again for each selection.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;GET PERNR.&lt;/P&gt;&lt;P&gt;itab-pernr = pernr-pernr.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;*this get triggers after all selection from database.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/ itab-pernr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute a program, database is locked when it encounter a start-of-selection. Again that lock released when a end-of-selection is encountered to maintain the consistency. So we just do the data selection between start-of-selection nad end-of-selection. Now if you dont write the end-of-selection, the database will be locked till the programs terminated. Hence, the performance will decrease. So it is always good to write end-of-selection after you finish the selection from database. Then after collecting all the data in internal table in between start-of-selection nad end-of-selection, we do the required procesing and preparing the list etc after the end-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2008 12:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209433#M765141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-15T12:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209434#M765142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;None of the events is mandatory in report. But it is good programming practice to use the events in a structured way. We can eliminate the coding of the events which are unneccessary. Please check below events which we will use in general. We can eliminate one or more of the below events if we don't have the requirement(EG: We can eliminate INITIALIZATION event if we no need to populate default values in the selection screen which are calculated dynamically&lt;/P&gt;&lt;P&gt; eg: date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INITIALIZATION.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To initialize the selection screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN OUTPUT/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;ON VALUE REQUEST/ON&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To chage the selection screen dynamically as per the user input.(Eg: If user selects one radio button then disable some input fields)&lt;/P&gt;&lt;P&gt;To give the search helps(Down load/upload file names)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AUTHORITY DATA CHECK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To check the user authority&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;START-OF-SELECTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;All select statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;END-OF-SELECTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;All calculations and output formatting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TOP-OF-PAGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Display the headers(EG: column headings)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;END-OF-PAGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Display the footer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT LINE-SELECTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To display secondary lists, transaction when user selects some thing in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT USER-COMMAND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To handle user actions&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;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2008 12:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209434#M765142</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-03-15T12:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209435#M765143</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; Most of us dont use this event. There is no need to use this event.  But it gives good program practice.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 06:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3209435#M765143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T06:54:03Z</dc:date>
    </item>
  </channel>
</rss>

