<?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: requirement to replace select statements in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375112#M1040934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Sep 2008 14:17:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-20T14:17:50Z</dc:date>
    <item>
      <title>requirement to replace select statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375109#M1040931</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;We have to replace this query with macro RP_READ_INFOTYPE or funtiopn module  HR_READ_INFOTYPE, also we dont need LDBs. so i have included DBPNPMAC too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single nachn &lt;/P&gt;&lt;P&gt;  from pa0002&lt;/P&gt;&lt;P&gt;  into name&lt;/P&gt;&lt;P&gt;  where pernr EQ l_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried with the following but still not working..&lt;/P&gt;&lt;P&gt;(i took additional values for Date variables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rp_read_infotype l_pernr 0002 p0002 so_beg so_end.&lt;/P&gt;&lt;P&gt;move p0002-nachn to name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide inputs on this, if anyone knows it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 11:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375109#M1040931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-21T11:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: requirement to replace select statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375110#M1040932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;infotypes: 0002.&lt;/P&gt;&lt;P&gt;data: gv_subrc like sy-subrc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      pernr           = pernr&lt;/P&gt;&lt;P&gt;      infty           = '0002'&lt;/P&gt;&lt;P&gt;      begda           = '19000101'&lt;/P&gt;&lt;P&gt;      endda           = '99991231'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      subrc           = gv_subrc&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      infty_tab       = p0002&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;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  should not happen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;loop at p0002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2008 12:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375110#M1040932</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2008-08-21T12:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: requirement to replace select statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375111#M1040933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i cant use LDB, so in place i am trying to use 'rp_read_infotype' as below, but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE dbpnpmac.&lt;/P&gt;&lt;P&gt;INFOTYPES 0002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: so_pernr FOR p0002-pernr,&lt;/P&gt;&lt;P&gt;                so_beg   FOR p0002-begda,&lt;/P&gt;&lt;P&gt;                so_end   FOR p0002-endda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rp_read_infotype so_pernr 0002 p0002 so_beg so_end.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'Name: ', p0002-nachn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error dump is as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Type conflict when calling a FORM.&lt;/P&gt;&lt;P&gt;The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt; not caught and&lt;/P&gt;&lt;P&gt;therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;Call to FORM "READ-INFOTYPE" is incorrect:&lt;/P&gt;&lt;P&gt;The actual parameter no. 4 has a different data type in the&lt;/P&gt;&lt;P&gt;PERFORM than requested for the FORM "READ-INFOTYPE" in program "SAPDBPNP".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help if anybody has done this earlier&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 12:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375111#M1040933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T12:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: requirement to replace select statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375112#M1040934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 14:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/requirement-to-replace-select-statements/m-p/4375112#M1040934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T14:17:50Z</dc:date>
    </item>
  </channel>
</rss>

