<?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: Modify table RT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-table-rt/m-p/3589270#M864186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still have a source code for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We performed exactly as per your self discovered solution by the RT result still could not get updated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Sep 2010 18:29:55 GMT</pubDate>
    <dc:creator>gctl</dc:creator>
    <dc:date>2010-09-29T18:29:55Z</dc:date>
    <item>
      <title>Modify table RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-table-rt/m-p/3589268#M864184</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;I'm trying to modify the payroll results (table RT) using the macro rp-exp-c2-r* but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code I've written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cd-key-pernr = p_pernr.

rp-imp-c2-cd.

  LOOP AT rgdir 
  WHERE fpper EQ period
  AND srtza EQ 'A'.

    MOVE   p_pernr TO rx-key-pernr.
    UNPACK rgdir-seqnr TO rx-key-seqno.

    rp-imp-c2-rf.

    IF rp-imp-rf-subrc NE 0.
      REJECT.
    ENDIF.

    LOOP AT RT WHERE lgart EQ p_lgart.
      rt-betrg = p_betrg.
      MODIFY rt.
    ENDLOOP.

    versc-void = rgdir-void.
    versc-voidr = rgdir-voidr.
    versc-voidd = rgdir-voidd.
    versc-voidt = rgdir-voidt.

    rp-exp-c2-rf.

    WRITE: / 'Complete', rp-imp-rf-subrc.

    PERFORM prepare_update USING 'V'.

  ENDLOOP.

END-OF-SELECTION.
  INCLUDE rpcmgr00.
  INCLUDE rpppxm00.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, nothing changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. Cepa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 09:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-table-rt/m-p/3589268#M864184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T09:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Modify table RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-table-rt/m-p/3589269#M864185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally, &lt;/P&gt;&lt;P&gt;I've found the mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was missing and now it works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF COMMON PART buffer.
INCLUDE rpppxd10.
DATA: END OF COMMON PART buffer.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of only the include:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INCLUDE rpppxd10.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. Cepa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 11:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-table-rt/m-p/3589269#M864185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T11:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modify table RT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-table-rt/m-p/3589270#M864186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still have a source code for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We performed exactly as per your self discovered solution by the RT result still could not get updated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 18:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-table-rt/m-p/3589270#M864186</guid>
      <dc:creator>gctl</dc:creator>
      <dc:date>2010-09-29T18:29:55Z</dc:date>
    </item>
  </channel>
</rss>

