<?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 fetching data from infotype in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-infotype/m-p/5725789#M1298993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am fetching the data from pa0001,pa0002 and pa0105 using the function module 'HR_READ_Infotype' like below:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;TCLAS = 'A'&lt;/P&gt;&lt;P&gt;pernr = wa_pa0002-pernr&lt;/P&gt;&lt;P&gt;infty = '0002'&lt;/P&gt;&lt;P&gt;begda = sy-datum&lt;/P&gt;&lt;P&gt;endda = sy-datum&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BYPASS_BUFFER = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LEGACY_MODE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SUBRC =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;infty_tab = it_pa0002&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;infty_not_found = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;But it_pa0002 does not contain anything after the processing though the data is there in the infotypes.&lt;/P&gt;&lt;P&gt;I have declared the internal table as&lt;/P&gt;&lt;P&gt;data it_pa0002 type standard table of pa0002.&lt;/P&gt;&lt;P&gt;The wa is defined like:&lt;/P&gt;&lt;P&gt;data: wa_pa0002 like line of it_pa0002.&lt;/P&gt;&lt;P&gt;Please suggest the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2009 12:25:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-04T12:25:07Z</dc:date>
    <item>
      <title>fetching data from infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-infotype/m-p/5725789#M1298993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am fetching the data from pa0001,pa0002 and pa0105 using the function module 'HR_READ_Infotype' like below:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;TCLAS = 'A'&lt;/P&gt;&lt;P&gt;pernr = wa_pa0002-pernr&lt;/P&gt;&lt;P&gt;infty = '0002'&lt;/P&gt;&lt;P&gt;begda = sy-datum&lt;/P&gt;&lt;P&gt;endda = sy-datum&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BYPASS_BUFFER = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LEGACY_MODE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SUBRC =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;infty_tab = it_pa0002&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;infty_not_found = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;But it_pa0002 does not contain anything after the processing though the data is there in the infotypes.&lt;/P&gt;&lt;P&gt;I have declared the internal table as&lt;/P&gt;&lt;P&gt;data it_pa0002 type standard table of pa0002.&lt;/P&gt;&lt;P&gt;The wa is defined like:&lt;/P&gt;&lt;P&gt;data: wa_pa0002 like line of it_pa0002.&lt;/P&gt;&lt;P&gt;Please suggest the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 12:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-infotype/m-p/5725789#M1298993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T12:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: fetching data from infotype</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-infotype/m-p/5725790#M1298994</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;declare the internal table and workarea with the structure "PRELP" &lt;/P&gt;&lt;P&gt;then see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 12:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-infotype/m-p/5725790#M1298994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T12:44:14Z</dc:date>
    </item>
  </channel>
</rss>

