<?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: update/modify an internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264740#M1385592</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;Few clarifications....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Have you already populated the final postab internal table?&lt;/P&gt;&lt;P&gt;-&amp;gt; If you have not, you can use APPEND statement to add data to the final internal table.&lt;/P&gt;&lt;P&gt;-&amp;gt; And, please rephrase your problem so that we can understand it better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2009 08:49:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-16T08:49:20Z</dc:date>
    <item>
      <title>update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264730#M1385582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;i m writing a program in which i m adding a new field to a table type, after adding i want to select those SO no which has the date='06/08/2009', but in the o/p screen i m seeing that the beside the SO no those two date values in the date field is coming , but i can t modify my screen to only these two SO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT i_vbkds INTO w_vbkds.
      READ TABLE postab INTO wa_postab  WITH KEY vbeln = w_vbkds-zvbeln.
     IF sy-subrc = 0.
        i_index = sy-tabix.
        postab-fkdate = w_vbkds-zdate.
        postab-vbeln = w_vbkds-zvbeln.

        MODIFY postab INDEX i_index TRANSPORTING fkdate.

       if sy-subrc = 0.

       endif.
      ENDIF.
      CLEAR : w_vbkds.

    ENDLOOP.

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this internal table vbkds only 2 datsa is shown but i can modify the same in postab(table which is uysed in display)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Nov 13, 2009 9:19 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 13:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264730#M1385582</guid>
      <dc:creator>SwarnaliBasu</dc:creator>
      <dc:date>2009-11-13T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264731#M1385583</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;Could you please explain your problem clearly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are u facing problme with modify?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 14:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264731#M1385583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T14:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264732#M1385584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find vbeln missing in the modify statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY postab INDEX i_index TRANSPORTING fkdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Debug and find the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 14:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264732#M1385584</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-13T14:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264733#M1385585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT i_vbkds INTO w_vbkds.&lt;/P&gt;&lt;P&gt;       READ TABLE postab INTO wa_postab  WITH KEY vbeln = w_vbkds-zvbeln.&lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;         i_index = sy-tabix.&lt;/P&gt;&lt;P&gt;         postab-fkdate = w_vbkds-zdate.&lt;/P&gt;&lt;P&gt;         postab-vbeln = w_vbkds-zvbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where is VBELN? You are not moving the ZVBELN to POSTAB.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY postab INDEX i_index TRANSPORTING fkdate.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remove transporting option or add VBELN after FKDATE.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 14:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264733#M1385585</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2009-11-13T14:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264734#M1385586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY postab INDEX i_index TRANSPORTING fkdate vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhii...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 14:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264734#M1385586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-13T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264735#M1385587</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;there is a better solution: &lt;STRONG&gt;Always&lt;/STRONG&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP ASSIGNING &amp;lt;field-symbol&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then  just change the values of the components of the field-symbol that you want to change.&lt;/P&gt;&lt;P&gt;No more modify and a considerable gain of performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 15:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264735#M1385587</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-11-13T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264736#M1385588</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;thnx 4 ur reply...&lt;/P&gt;&lt;P&gt;i have also written transporting with vbeln but i removed it coz i was facing the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vbeln fkdate&lt;/P&gt;&lt;P&gt;234    09082009&lt;/P&gt;&lt;P&gt;252    06082009&lt;/P&gt;&lt;P&gt;211    06082009&lt;/P&gt;&lt;P&gt;421    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when i give the search critera for fkdate = '06/08/2009' then  i wat to show &lt;/P&gt;&lt;P&gt;vbeln fkdate&lt;/P&gt;&lt;P&gt;252    06082009&lt;/P&gt;&lt;P&gt;211    06082009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for me rest of the things are also following with the fkdate value as ' '(when i check those SO fkdate is nt blank)&lt;/P&gt;&lt;P&gt;still in the selection criteria all comes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;postab is the final table to ALV, there are other fields also in POSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 16:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264736#M1385588</guid>
      <dc:creator>SwarnaliBasu</dc:creator>
      <dc:date>2009-11-15T16:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264737#M1385589</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 have elaboratd my prblm.please check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 16:24:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264737#M1385589</guid>
      <dc:creator>SwarnaliBasu</dc:creator>
      <dc:date>2009-11-15T16:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264738#M1385590</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODIFY postab FROM wa_posttab INDEX i_index TRANSPORTING fkdate vbeln.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 18:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264738#M1385590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-15T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264739#M1385591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;even if i do this i get the same problem , that all the values are coming in postab , there is no modification at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. if before the modification there are 7 values then aftyer the selection there should be 2 values according to the internal table i_VBKDS, but this is not reflecting in postab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me how to do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 07:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264739#M1385591</guid>
      <dc:creator>SwarnaliBasu</dc:creator>
      <dc:date>2009-11-16T07:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264740#M1385592</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;Few clarifications....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Have you already populated the final postab internal table?&lt;/P&gt;&lt;P&gt;-&amp;gt; If you have not, you can use APPEND statement to add data to the final internal table.&lt;/P&gt;&lt;P&gt;-&amp;gt; And, please rephrase your problem so that we can understand it better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 08:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264740#M1385592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T08:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: update/modify an internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264741#M1385593</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 m copying a standard program and enhancing it, anwz i have solved the problem myself..so thanks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 09:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-an-internal-table/m-p/6264741#M1385593</guid>
      <dc:creator>SwarnaliBasu</dc:creator>
      <dc:date>2009-11-16T09:50:48Z</dc:date>
    </item>
  </channel>
</rss>

