<?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: Program with Top includes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-top-includes/m-p/3655843#M880632</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;   you should write the coding in the  &lt;STRONG&gt;at selection scree&lt;/STRONG&gt; event  and here you can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&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>Thu, 17 Apr 2008 16:02:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-17T16:02:02Z</dc:date>
    <item>
      <title>Program with Top includes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-top-includes/m-p/3655842#M880631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;I hope someone can help me.&lt;/P&gt;&lt;P&gt;I would like to know if is it allowed this program under ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program with Top Includes.&lt;/P&gt;&lt;P&gt;Type 1 Exucutable Program.&lt;/P&gt;&lt;P&gt;Developement class $TMP - Temporary Objects.&lt;/P&gt;&lt;P&gt;Logical Database ABS. ABAP Book: Customer and bookings.&lt;/P&gt;&lt;P&gt;(DB Selection Screen 1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is allowed where can I use Events GET in flow logic ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank in advance.&lt;/P&gt;&lt;P&gt;Kindest regardes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 15:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-top-includes/m-p/3655842#M880631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T15:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Program with Top includes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-top-includes/m-p/3655843#M880632</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;   you should write the coding in the  &lt;STRONG&gt;at selection scree&lt;/STRONG&gt; event  and here you can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&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>Thu, 17 Apr 2008 16:02:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-top-includes/m-p/3655843#M880632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T16:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Program with Top includes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-top-includes/m-p/3655844#M880633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claudia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Welcome to SDN Forum. Don't forget to read the&lt;/EM&gt; [rules of engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rules&lt;EM&gt;of&lt;/EM&gt;Engagement].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at Report "EXAMPLE_PNP_GET_PAYROLL" it demonstrate how to use Logical database and GET events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical database      PNP                   HR Master Data&lt;/P&gt;&lt;P&gt;Selection screen      900                   Selection screen on payroll results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* These three tables need to be declared for the selection screen-.
* Currently, the declarations of  pyorgscreen, pytimescreen HAS to
* be done in addition to setting selection screen = 900 .
TABLES: pernr.

* Declare the country specific structure:
* payXX_result with  XX = country code, e.g. payDE_result for Germany
* Country = 99 is an exception: If this structure is used, the
* international part of every payroll result is returned regardless
* of country code. In the other case, pernr's whose country code do
* not fit the structure are skipped.
NODES: payroll TYPE pay99_result.

DATA: wa_wpbp LIKE LINE OF payroll-inter-wpbp.

*----------------------------------------

GET pernr.

WRITE: / 'Currently working on:'(021), pernr-pernr.

*----------------------------------------
GET payroll.

  LOOP AT payroll-inter-wpbp INTO wa_wpbp.
    WRITE:   / 'Personal Area ='(018),  wa_wpbp-werks,
               'Sub Area ='(019),  wa_wpbp-btrtl.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Don't forget to close this thread and all yours previous when your question be answered !&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Ramos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 19:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-top-includes/m-p/3655844#M880633</guid>
      <dc:creator>marcelo_ramos1</dc:creator>
      <dc:date>2008-04-17T19:07:52Z</dc:date>
    </item>
  </channel>
</rss>

