<?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: Retrieve record from RT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058368#M425129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to pass the seqnr to the read_payroll_result function call..Pl check this &lt;/P&gt;&lt;P&gt;~Suresh&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2937954"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 01:30:09 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2007-03-21T01:30:09Z</dc:date>
    <item>
      <title>Retrieve record from RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058367#M425128</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 used FM CU_READ_RGDIR and get the last record. Now I would like to retrieve another record from RT according to the date, is it possible?&lt;/P&gt;&lt;P&gt;How can I get records from RT?&lt;/P&gt;&lt;P&gt;Please kindly advice &amp;amp; thanks for all help! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058367#M425128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T01:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record from RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058368#M425129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to pass the seqnr to the read_payroll_result function call..Pl check this &lt;/P&gt;&lt;P&gt;~Suresh&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2937954"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058368#M425129</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-21T01:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record from RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058369#M425130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CU_READ_RGDIR'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      persnr                   = p0001-pernr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BUFFER                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTHORITY_CHECK       = ' '&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;  MOLGA                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      in_rgdir                 = rgdir&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   no_record_found          = 1&lt;/P&gt;&lt;P&gt;   OTHERS                   = 2&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CD_READ_LAST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      begin_date      = pn-begda          "give ur period end date&lt;/P&gt;&lt;P&gt;      end_date        = pn-endda           "give ur period end date&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      out_seqnr       = seqnr&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      rgdir           = rgdir&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_record_found = 1&lt;/P&gt;&lt;P&gt;      OTHERS          = 2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CHECK seqnr NE ' '.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLUSTERID                          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        employeenumber                     = p0001-pernr&lt;/P&gt;&lt;P&gt;        sequencenumber                     = seqnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ_ONLY_BUFFER                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ_ONLY_INTERNATIONAL            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARC_GROUP                          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; check_read_authority               = 'X'&lt;/P&gt;&lt;P&gt; filter_cumulations                 = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CLIENT                             =&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;  VERSION_NUMBER_PAYVN               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VERSION_NUMBER_PCL2                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        payroll_result                     = result&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt; illegal_isocode_or_clusterid       = 1&lt;/P&gt;&lt;P&gt; error_generating_import            = 2&lt;/P&gt;&lt;P&gt; import_mismatch_error              = 3&lt;/P&gt;&lt;P&gt; subpool_dir_full                   = 4&lt;/P&gt;&lt;P&gt; no_read_authority                  = 5&lt;/P&gt;&lt;P&gt; no_record_found                    = 6&lt;/P&gt;&lt;P&gt; versions_do_not_match              = 7&lt;/P&gt;&lt;P&gt; error_reading_archive              = 8&lt;/P&gt;&lt;P&gt; error_reading_relid                = 9&lt;/P&gt;&lt;P&gt; OTHERS                             = 10&lt;/P&gt;&lt;P&gt;              .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT result-rt  INTO result1 WHERE lgart = '/557' .&lt;/P&gt;&lt;P&gt;    IF result1-betrg NE ' ' .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      int_tab1-betrg =  result1-betrg .&lt;/P&gt;&lt;P&gt;      int_tab1-pernr =  p0001-pernr .&lt;/P&gt;&lt;P&gt;      int_tab1-werks =  p0001-werks .&lt;/P&gt;&lt;P&gt;      int_tab1-ename =  p0001-ename .&lt;/P&gt;&lt;P&gt;      int_tab1-orgeh =  p0001-orgeh .&lt;/P&gt;&lt;P&gt;      int_tab1-btrtl =  p0001-btrtl .&lt;/P&gt;&lt;P&gt;      int_tab1-vdsk1 =  p0001-vdsk1 .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      INSERT table int_tab1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    ENDIF .&lt;/P&gt;&lt;P&gt;  ENDLOOP .&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;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058369#M425130</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-03-21T01:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record from RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058370#M425131</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;Please look at program EXAMPLE_PNP_GET_PAYROLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058370#M425131</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-21T01:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record from RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058371#M425132</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;Thanks for helping me resolve my program.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br,&lt;/P&gt;&lt;P&gt;ying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 02:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058371#M425132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T02:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record from RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058372#M425133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your code is very useful but i have few queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like what is the structure of result and results1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coz i am using your code and giving the results same as pc261 but its not showing any output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if you can tell me about the structures of both ie. result and results 1 i an can proceed further&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 05:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058372#M425133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T05:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve record from RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058373#M425134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'result' should be typed according to the country for which you are interested in getting the results. It should be in format payXX_result where XX stands for the country code. For example PAYUS_RESULT or PAY99_RESULT. Let the forum know if that helped!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 22:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-record-from-rt/m-p/2058373#M425134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T22:41:29Z</dc:date>
    </item>
  </channel>
</rss>

