<?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 Problem For Adding values in Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117514#M740326</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 have two internal tables like IT1 and IT2. Fields of this tables r,&lt;/P&gt;&lt;P&gt;            IT1 : matnr   posnr   maktx ....... ( upto 10fields )&lt;/P&gt;&lt;P&gt;            IT2 : matnr  posnr (2 fieds).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Issue is IT1 have set of values and it2 have some values. I want to add corresponding IT2 values in IT1 at linewise .Since no relationship between this two internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      I used move-corresponding and read table concepts, but item wise it's not working .Kindly suggest any ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Nov 2007 10:51:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-17T10:51:07Z</dc:date>
    <item>
      <title>Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117514#M740326</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 have two internal tables like IT1 and IT2. Fields of this tables r,&lt;/P&gt;&lt;P&gt;            IT1 : matnr   posnr   maktx ....... ( upto 10fields )&lt;/P&gt;&lt;P&gt;            IT2 : matnr  posnr (2 fieds).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Issue is IT1 have set of values and it2 have some values. I want to add corresponding IT2 values in IT1 at linewise .Since no relationship between this two internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      I used move-corresponding and read table concepts, but item wise it's not working .Kindly suggest any ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 10:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117514#M740326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-17T10:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117515#M740327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not clear with ur post. can u be more clear on ur requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 10:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117515#M740327</guid>
      <dc:creator>prabhu_s2</dc:creator>
      <dc:date>2007-11-17T10:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117516#M740328</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;Do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: Begin of ty_it3,&lt;/P&gt;&lt;P&gt;          matnr type matnr.&lt;/P&gt;&lt;P&gt;          posnr type posnr.&lt;/P&gt;&lt;P&gt;          maktx type maktx.&lt;/P&gt;&lt;P&gt;         End of ty_it3.&lt;/P&gt;&lt;P&gt;Data: it3 type table of ty_it3,&lt;/P&gt;&lt;P&gt;        wa3 type ty_it3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at IT1 into  wa1.&lt;/P&gt;&lt;P&gt; Move: wa1-matnr to wa3-matnr,&lt;/P&gt;&lt;P&gt;          wa1-posnr to wa3-posnr.&lt;/P&gt;&lt;P&gt; Read table it2 into wa2 with key matnr = wa1-matnr posnr = wa1-posnr.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  move wa2-maktx to wa3-maktx.&lt;/P&gt;&lt;P&gt;  append wa3 to it3.&lt;/P&gt;&lt;P&gt;  clear wa3.&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;are you expecting this....????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 11:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117516#M740328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-17T11:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117517#M740329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prabhu,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;         thankx for ur reply ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      Issue is Internal table-1 consist of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; S.No          maktx                   matnr                     posnr                          netwr &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 .                 xxx                      novalue                  novalue                       xxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.                  xxx                      novalue                  novalue                      xxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.                  xxx                      novalue                  novalue                      xxxx&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Internal table - 2 consist of ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.no           matnr                     posnr&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------" /&gt;&lt;P&gt;1.                xxxx                       xxxxx&lt;/P&gt;&lt;P&gt;2.                xxxx                       xxxxx&lt;/P&gt;&lt;P&gt;3.               xxxxx                      xxxxx&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          I want add this two fields values (like matnr and posnr) in  first internaltable as S.No wise. since maktx is not same for this two tables , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 Also no other relationship between this two tables.plz tell me right solutiion for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 12:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117517#M740329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-17T12:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117518#M740330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u just need to append the internal table2 to internal table1 then follow this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DESCRIBE TABLE itab1 LINES lin.
read table itab into witab index lin.

SINDEX = WITAB-SNO.

loop at itab2 into witab2.

SINDEX = SINDEX + 1.

WITAB1-SNO = SINDEX.
witab1-matnr = witab2-matnr.
witab1-posnr = witab2-posnr.
append witab1 to itab1.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this u r lookin for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Nov 2007 12:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117518#M740330</guid>
      <dc:creator>prabhu_s2</dc:creator>
      <dc:date>2007-11-17T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117519#M740331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hie...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do u require that the First record of IT2 should be the Matnr &amp;amp; Posnr of the First record in IT1 ??&lt;/P&gt;&lt;P&gt;similarly the 2nd record of  IT2 should be the Matnr &amp;amp; Posnr of the 2nd record in IT1 ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this what is expected ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117519#M740331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T06:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117520#M740332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pranali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              Yes,,,, exactly .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 13:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117520#M740332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T13:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem For Adding values in Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117521#M740333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if any  solution for solveing this probelm,,,, kindly help me,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 13:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-for-adding-values-in-internal-table/m-p/3117521#M740333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T13:02:24Z</dc:date>
    </item>
  </channel>
</rss>

