<?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: structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371037#M525366</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;program structure depends on program type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these steps for EXECUTABLE PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) declare tables which are used in program for data extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TABLES: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) declare any variable which are required in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) declaration of internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) provide selection-screen logic if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:  "for complex selection&lt;/P&gt;&lt;P&gt;parameters:      " for single value input fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) declaration of events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; INITIALIZATION. " used for providing intial values to the fields.&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN OUTPUT. " used for changing screen fields dynamically&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN. ' for perfom validations on screen input fields.&lt;/P&gt;&lt;P&gt; START-OF-SELECTION. "used for select queries and output statements.&lt;/P&gt;&lt;P&gt; END-OF-SELECTION. " this also used for output statements&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; TOP-OF-PAGE. " used for providing page heading&lt;/P&gt;&lt;P&gt; END-OF-SELECTION." used for providing page footer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; GET&lt;/P&gt;&lt;P&gt; GET LATE " these events are used only if our program reading data from &lt;/P&gt;&lt;P&gt;                    LOGICA DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If we are going to genatate secondary list, we use events like..&lt;/P&gt;&lt;P&gt; AT LINE-SELECTION. " triggered only if we press F2 function key or&lt;/P&gt;&lt;P&gt;                                     DOUBLE  CLIKING on list.&lt;/P&gt;&lt;P&gt; AT USER-COMMAND  " triggered only if selecteing menu option and user &lt;/P&gt;&lt;P&gt;                                      defined buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if program of type module-pool, follow these steps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) declare tables which are used in program for data extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TABLES: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) declare any variable which are required in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) declaration of internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) screen flow logic.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   here we use PBO &lt;/P&gt;&lt;P&gt;                      PAI&lt;/P&gt;&lt;P&gt;                      POV &lt;/P&gt;&lt;P&gt;                      POH  &lt;/P&gt;&lt;P&gt;                              these events based on your requirement.&lt;/P&gt;&lt;P&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;Ashokreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Jun 2007 10:00:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-17T10:00:28Z</dc:date>
    <item>
      <title>structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371033#M525362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the typical structure of ABAP program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 03:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371033#M525362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-17T03:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371034#M525363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can refer to the below link to find the structure of the ABAP program ( Page 44)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Mayank Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 03:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371034#M525363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-17T03:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371035#M525364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. For the events in Classical Reports :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Initialisation&lt;/P&gt;&lt;P&gt;2. At Selection Screen&lt;/P&gt;&lt;P&gt;3. Start Of Selection ( Get &amp;amp; Get Late in case of Logical Database )&lt;/P&gt;&lt;P&gt;4. End of Selection&lt;/P&gt;&lt;P&gt;5. Top of Page&lt;/P&gt;&lt;P&gt;6. End of Page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above events are as per the sequence in which they are called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 03:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371035#M525364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-17T03:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371036#M525365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Typical structure of ABAP program is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report &amp;lt;name&amp;gt; no std page heading Line-count line-size message-id 'zz'&lt;/P&gt;&lt;P&gt;1.DB tables declration&lt;/P&gt;&lt;P&gt;2. data declarartions( internal tables, variables, ranges, constants  etc)&lt;/P&gt;&lt;P&gt;3.Selection screen declaration.. (parameters, select-options etc)&lt;/P&gt;&lt;P&gt;4. EVENTs declaration in the order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;START-OF&amp;#150;SELECTION.&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE&lt;/P&gt;&lt;P&gt;END-OF-PAGE&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 08:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371036#M525365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-17T08:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371037#M525366</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;program structure depends on program type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these steps for EXECUTABLE PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) declare tables which are used in program for data extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TABLES: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) declare any variable which are required in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) declaration of internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) provide selection-screen logic if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:  "for complex selection&lt;/P&gt;&lt;P&gt;parameters:      " for single value input fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) declaration of events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; INITIALIZATION. " used for providing intial values to the fields.&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN OUTPUT. " used for changing screen fields dynamically&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN. ' for perfom validations on screen input fields.&lt;/P&gt;&lt;P&gt; START-OF-SELECTION. "used for select queries and output statements.&lt;/P&gt;&lt;P&gt; END-OF-SELECTION. " this also used for output statements&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; TOP-OF-PAGE. " used for providing page heading&lt;/P&gt;&lt;P&gt; END-OF-SELECTION." used for providing page footer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; GET&lt;/P&gt;&lt;P&gt; GET LATE " these events are used only if our program reading data from &lt;/P&gt;&lt;P&gt;                    LOGICA DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If we are going to genatate secondary list, we use events like..&lt;/P&gt;&lt;P&gt; AT LINE-SELECTION. " triggered only if we press F2 function key or&lt;/P&gt;&lt;P&gt;                                     DOUBLE  CLIKING on list.&lt;/P&gt;&lt;P&gt; AT USER-COMMAND  " triggered only if selecteing menu option and user &lt;/P&gt;&lt;P&gt;                                      defined buttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if program of type module-pool, follow these steps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) declare tables which are used in program for data extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TABLES: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) declare any variable which are required in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) declaration of internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) screen flow logic.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   here we use PBO &lt;/P&gt;&lt;P&gt;                      PAI&lt;/P&gt;&lt;P&gt;                      POV &lt;/P&gt;&lt;P&gt;                      POH  &lt;/P&gt;&lt;P&gt;                              these events based on your requirement.&lt;/P&gt;&lt;P&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;Ashokreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 10:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371037#M525366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-17T10:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371038#M525367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Plz check the below link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark all useful answers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jun 2007 11:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/2371038#M525367</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2007-06-17T11:13:14Z</dc:date>
    </item>
  </channel>
</rss>

