<?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 Functional Module Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160299#M994622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HR_READ_INFOTYPE&lt;/STRONG&gt;  - Read Employee/Applicant Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
* TCLAS = 'A'
pernr = pernr
infty = 0910
BEGDA = '20070717'
ENDDA = '99991231'
* BYPASS_BUFFER = ' '
* LEGACY_MODE = ' '
* IMPORTING
* SUBRC =
tables
infty_tab = P0910
* EXCEPTIONS
* INFTY_NOT_FOUND = 1
* OTHERS = 2
.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Jul 2008 05:12:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-27T05:12:19Z</dc:date>
    <item>
      <title>HR Functional Module Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160296#M994619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i get the HR data  for current year ,uptoday and fromtoday. can anyone please supply for me  functional module  names .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rags&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2008 19:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160296#M994619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-26T19:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: HR Functional Module Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160297#M994620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In HR all the data will not be in one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Address data,&lt;/P&gt;&lt;P&gt;Pay data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc all these will be stored in one one infotypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to read them Individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of HR_READ_INFOTYPE , for this you have to pass the Infotype number and dates and PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the records with in the date range for that Infotype.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2008 02:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160297#M994620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-27T02:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: HR Functional Module Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160298#M994621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR data  is stored in INFOTYPES. Infotype is nothing but a table which contaims logically group of fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Infotypes &lt;STRONG&gt;BEGDA and ENDDA&lt;/STRONG&gt; are Key fields. BEGAD is nothing but Begin date and ENDDA is Enddate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of this function module to read HR data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HR_READ_INFOTYPE       Read Employee/Applicant Data From Infotypes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass the ENDDA and BEGDA data according to your requirment. &lt;/P&gt;&lt;P&gt;For current year ,uptoday and fromtoday You need to pass SY-DATUM. As this is the system field which stores the current date .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2008 04:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160298#M994621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-27T04:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: HR Functional Module Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160299#M994622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HR_READ_INFOTYPE&lt;/STRONG&gt;  - Read Employee/Applicant Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
* TCLAS = 'A'
pernr = pernr
infty = 0910
BEGDA = '20070717'
ENDDA = '99991231'
* BYPASS_BUFFER = ' '
* LEGACY_MODE = ' '
* IMPORTING
* SUBRC =
tables
infty_tab = P0910
* EXCEPTIONS
* INFTY_NOT_FOUND = 1
* OTHERS = 2
.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2008 05:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160299#M994622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-27T05:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: HR Functional Module Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160300#M994623</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;i could not use that one coz i am working on OM  (Orgnisationa management). i am using infotype 1001 for the output and table hrp1001 . please see the code below and change it . please help me . check the case when 3 , 4 ,5 and 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  data_selection&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM data_selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case date_selection .&lt;/P&gt;&lt;P&gt;  when '1'.&lt;/P&gt;&lt;P&gt;     pchbegda = sy-datum.&lt;/P&gt;&lt;P&gt;     pchendda = sy-datum.&lt;/P&gt;&lt;P&gt;  when '2'.&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         IV_DATE                   = sy-datum&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        EV_MONTH_BEGIN_DATE       = pchbegda&lt;/P&gt;&lt;P&gt;        EV_MONTH_END_DATE         = pchendda .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  when '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    delete ITAB where begda np w_year.&lt;/P&gt;&lt;P&gt;  when '4'.&lt;/P&gt;&lt;P&gt;    DELETE ITAB where begda gt sy-datum.&lt;/P&gt;&lt;P&gt;  when '5'.&lt;/P&gt;&lt;P&gt;    delete itab where begda lt sy-datum.&lt;/P&gt;&lt;P&gt;    when '6'.&lt;/P&gt;&lt;P&gt;      delete itab where begda not in so_datum.&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " data_selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2008 07:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160300#M994623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-27T07:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: HR Functional Module Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160301#M994624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi reddy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i could not use that one coz i am working on OM  (Orgnisationa management). i am using infotype 1001 for the output and table hrp1001 . please see the code below and change it . please help me . check the case when 3 , 4 ,5 and 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  data_selection&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM data_selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case date_selection .&lt;/P&gt;&lt;P&gt;  when '1'.&lt;/P&gt;&lt;P&gt;     pchbegda = sy-datum.&lt;/P&gt;&lt;P&gt;     pchendda = sy-datum.&lt;/P&gt;&lt;P&gt;  when '2'.&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         IV_DATE                   = sy-datum&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        EV_MONTH_BEGIN_DATE       = pchbegda&lt;/P&gt;&lt;P&gt;        EV_MONTH_END_DATE         = pchendda .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  when '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    delete ITAB where begda np w_year.&lt;/P&gt;&lt;P&gt;  when '4'.&lt;/P&gt;&lt;P&gt;    DELETE ITAB where begda gt sy-datum.&lt;/P&gt;&lt;P&gt;  when '5'.&lt;/P&gt;&lt;P&gt;    delete itab where begda lt sy-datum.&lt;/P&gt;&lt;P&gt;    when '6'.&lt;/P&gt;&lt;P&gt;      delete itab where begda not in so_datum.&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " data_selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: raghava reddy on Jul 27, 2008 6:57 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: raghava reddy on Jul 27, 2008 6:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2008 07:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160301#M994624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-27T07:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: HR Functional Module Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160302#M994625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stoped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 08:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-functional-module-help/m-p/4160302#M994625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T08:18:28Z</dc:date>
    </item>
  </channel>
</rss>

