<?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 Replace a query with a function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272460#M493720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Genius;&lt;/P&gt;&lt;P&gt;Please let me know how to replace a statement in HR abap as shown below&lt;/P&gt;&lt;P&gt;select single plans into lv_plans from pa0001 where&lt;/P&gt;&lt;P&gt;                pernr = obj_tab-objid and&lt;/P&gt;&lt;P&gt;                begda &amp;lt;= sy-datum and&lt;/P&gt;&lt;P&gt;                endda &amp;gt;= sy-datum.&lt;/P&gt;&lt;P&gt;with a function module.&lt;/P&gt;&lt;P&gt;I will rewrds good points, please respond.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 04:32:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-14T04:32:00Z</dc:date>
    <item>
      <title>Replace a query with a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272460#M493720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Genius;&lt;/P&gt;&lt;P&gt;Please let me know how to replace a statement in HR abap as shown below&lt;/P&gt;&lt;P&gt;select single plans into lv_plans from pa0001 where&lt;/P&gt;&lt;P&gt;                pernr = obj_tab-objid and&lt;/P&gt;&lt;P&gt;                begda &amp;lt;= sy-datum and&lt;/P&gt;&lt;P&gt;                endda &amp;gt;= sy-datum.&lt;/P&gt;&lt;P&gt;with a function module.&lt;/P&gt;&lt;P&gt;I will rewrds good points, please respond.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 04:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272460#M493720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T04:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a query with a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272461#M493721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;HR_READ_INFOTYPE suits your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Younus.&lt;/P&gt;&lt;P&gt;Reward Helpful Answers!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 04:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272461#M493721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T04:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a query with a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272462#M493722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data :  itab  like table  lines  of     pa0001  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call    function module   HR_READ_INFOTYPE, &lt;/P&gt;&lt;P&gt;give   &lt;/P&gt;&lt;P&gt;import  parameters &lt;/P&gt;&lt;P&gt; pernr ,&lt;/P&gt;&lt;P&gt; begda ,&lt;/P&gt;&lt;P&gt; endda   , infotype as  0001, etc .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output will  in  table  format , so &lt;/P&gt;&lt;P&gt;give  here  in   infty_tab   =  itab  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that  the itab will consist  of   all fields  data from the infotype  0001   you can  use  your data from the  itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 06:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272462#M493722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T06:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a query with a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272463#M493723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul&lt;/P&gt;&lt;P&gt;      Goto function builder and call function module HR_READ_INFOTYPE,&lt;/P&gt;&lt;P&gt;which has,&lt;/P&gt;&lt;P&gt; report name =' '&lt;/P&gt;&lt;P&gt; import parameters&lt;/P&gt;&lt;P&gt; fieldname = ' '&lt;/P&gt;&lt;P&gt; begin date = ' '&lt;/P&gt;&lt;P&gt; end date = ' '.&lt;/P&gt;&lt;P&gt; execute the query,it wil surely help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IT PLEASE...!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 07:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-a-query-with-a-function-module/m-p/2272463#M493723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T07:07:20Z</dc:date>
    </item>
  </channel>
</rss>

