<?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: hr abap programming help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037476#M85491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can retrieve your data from PA0001 like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

start-of-selection.


  select * into table ipa0001
                from pa0001
                    where begda in s_begda
                      and endda in s_endda.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2005 18:06:30 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-10-10T18:06:30Z</dc:date>
    <item>
      <title>hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037471#M85486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone help on this ?&lt;/P&gt;&lt;P&gt;Selection screen having p2001-BEGDA, P2001-ENDDA and PA0001-BTRTL.&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Flow of the Report:-&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;1.	Get Date(P2001- BEGDA and P2001- ENDDA) using selection criteria from selection screen&lt;/P&gt;&lt;P&gt;2.	Get Personnel sub area from the table PA0001&lt;/P&gt;&lt;P&gt;3.	Number of Occurrence is the Total number of Absences which were recorded in the specific period.&lt;/P&gt;&lt;P&gt;4.	Get all the Absences from the table ZWSOABS which were recorded in the specific period (P2001- BEGDA and P2001- ENDDA).&lt;/P&gt;&lt;P&gt;5.	Number of Workers is the Average number of workers who worked in the recording period excluding those persons who were absent from work on paid/unpaid leave for the entire period.&lt;/P&gt;&lt;P&gt;6.	Get the Number of Workers from PA0000 using the following:&lt;/P&gt;&lt;P&gt;-	Select Count(*) from PA0000 where PA0000-ENDDA = &amp;#145;31/12/9999&amp;#146; and PA0000-STAT2 = &amp;#145;3&amp;#146;&lt;/P&gt;&lt;P&gt;7.	Perform the report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Further Information&amp;lt;/b&amp;gt;:- The Incidence rate is the number of occurrences of injury/disease for each one hundred workers employed. The following formula should be applied:&lt;/P&gt;&lt;P&gt;Number of Occurrences in the period /Number of Workers  * 100&lt;/P&gt;&lt;P&gt;  The &amp;#147;number of occurrences in the period&amp;#148; refers to all cases of lost time injury/disease, which were recorded in the specific period. The &amp;#147;number of workers&amp;#148; is defined as the   average number of workers who worked in the recording period. Persons who were absent from work on paid or unpaid leave for the entire period should be excluded from this calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAN ANYONE PLEASE SEND ME THE CODE?&lt;/P&gt;&lt;P&gt;YOUR HELP IS DEFINITELY REWARDED BY POINTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037471#M85486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T16:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037472#M85487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,  welcome to SDN.  This really isn't a "code factory" site.  It is really better for you to at least give it a try before posting a spec.  We all have things that need to be done for our jobs, so writing programs for others usually is not an option.   We can and will help you along the way with syntax or some small logic,  but most will not code the entire thing.  Please think about starting this development yourself, and feel free to come back and ask more specific questions.   Thanks and again, Welcome!.&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 16:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037472#M85487</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-10T16:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037473#M85488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u ...can u please help me in fetching the logic. I try my best. The reason why I asked the code is i am a fresh abaper...&lt;/P&gt;&lt;P&gt;Sorry for asking code,&lt;/P&gt;&lt;P&gt;can u plz give some logic. I will try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 17:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037473#M85488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T17:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037474#M85489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI..I AM FRESH HR ABAP'R. CAN ANYONE PLZ HELP ON THIS TOPIC. COZ IT'S VERY URGENT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 17:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037474#M85489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T17:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037475#M85490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is how you would code your selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0002.

tables: p2001.

* Selection Screen
selection-screen begin of block b1 with frame title text-001 .
select-options: s_begda  for p2001-begda.
select-options: s_endda  for p2001-endda.
selection-screen end of block b1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 18:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037475#M85490</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-10T18:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037476#M85491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can retrieve your data from PA0001 like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

start-of-selection.


  select * into table ipa0001
                from pa0001
                    where begda in s_begda
                      and endda in s_endda.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 18:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037476#M85491</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-10T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037477#M85492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try function HR_READ_INFOTYPE to retrieve data from any IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2005 20:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037477#M85492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-08T20:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037478#M85493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello hari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can assign logical database PNP for this case, use the event get pernr, use the macro rp-provide-from-last to populate the internal table declared under infotypes statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feel free to ask any questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2005 22:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037478#M85493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-08T22:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037479#M85494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a small correction to Vijay's statetment..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- the internal table (P2001) declared under infotypes (2001)statement is filled for each pernr after the GET PERNR event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- the macro RP-PROVIDE-LAST retrieves the most recnt record between pn-begda &amp;amp; pn-endda into the header (P2001).&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;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2005 22:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037479#M85494</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2005-12-08T22:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: hr abap programming help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037480#M85495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello suresh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes suresh u are right. Using Get pernr event it populates the internal tables declared under infotypes statement(i.e P2001 internal table under infotypes : 2001 statement correspondingly) and the macro gets the last record from this internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for correcting me. Its was my mistake in curiousity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2005 22:45:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-abap-programming-help/m-p/1037480#M85495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-08T22:45:17Z</dc:date>
    </item>
  </channel>
</rss>

