<?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: Re : Internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725695#M1298974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi You can use MOVE-CORRESPONDING..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING alv_tab TO it_bom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2009 04:25:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-29T04:25:56Z</dc:date>
    <item>
      <title>Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725694#M1298973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 internal tables ALV_LTB AND IT_BOM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN ALV_LTB i have the data like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stlal I  stlnr I stlst I datuv I............&lt;/P&gt;&lt;P&gt;03 I 40 I - I 02.04.2008&lt;/P&gt;&lt;P&gt;02 I 60 I - I 03.04.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN IT_BOM i have the data like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stlal I stlnr I stlst I datuv &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;03 I 40 I 02 I 02.04.2008&lt;/P&gt;&lt;P&gt;02 I 60 I 01 I 03.04.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i  want to modify the internal table ALV_LTB like beloow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stlal I stlnr I stlst I datuv &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;03 I 40 I 02 I 02.04.2008&lt;/P&gt;&lt;P&gt;02 I 60 I 01 I 03.04.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me how to do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Praveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 04:18:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725694#M1298973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T04:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725695#M1298974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi You can use MOVE-CORRESPONDING..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING alv_tab TO it_bom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 04:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725695#M1298974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T04:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725696#M1298975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_BOM.&lt;/P&gt;&lt;P&gt;LOOP AT ALV_LTB WHERE stlal = IT_BOM-stlal AND stlnr = IT_BOM-stlnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV_LTB-stlst = IT_BOM-stlst.&lt;/P&gt;&lt;P&gt;MODIFY ALV_LTB.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 04:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725696#M1298975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T04:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725697#M1298976</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;you may try the following approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at it_ltb into wa_ltb.
g_tabix = sy-tabix.
read table it_bom into wa_bom with key stlal = wa_ltb-stlal.
wa_ltb-stlst = wa_bom-stlst.
modify it_ltb from wa_ltb transporting stlst index g_tabix.
clear wa_ltb.
clear wa_bom.
clear g_tabix.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Prinan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 04:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725697#M1298976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T04:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725698#M1298977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;loop at alv_tb into wa_alv.
read table it_bom into wa_bom with key stlal = wa_alv-stlal. "Read the corresponding entry
wa_alv-stlst = wa_bom-stlst. 
modify alv_tb from wa_alv transporting stlst. "modify the alv table
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 04:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725698#M1298977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T04:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725699#M1298978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as far as i understand u want to modify the stlst value in the ALV_LTB table... right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at alv_ltb into ls_alv_ltb. "ls_alv_ltv is work area for alv_ltb.
    clear ls_IT_BOM.
*reading the same row of IT_BOM.
    read table IT_BOM into ls_IT_BOM with key stlal = ls_alv_ltb-stlal stlnr = ls_alv_ltb-stlnr.
    if sy-subrc = 0.
         ls_alv_ltb-stlst = ls_IT_BOM-stlst.
*modifying alv_ltb from the value we got from IT_BOM
         modify alv_tlb from ls_alv_ltb.
    endif.
    clear : ls_alv_ltb.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 04:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725699#M1298978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T04:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725700#M1298979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT ALV_LTB.
  READ TABLE IT_BOM WITH KEY STLAL = ALV_LTB-STLAL
                             STLNR = ALV_LTB-STLNR.
  IF SY-SUBRC = 0.
    ALV_LTB-STLST = IT_BOM-STLST.
    MODIFY ALV_LTB INDEX SY-TABIX.
  ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 04:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725700#M1298979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T04:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725701#M1298980</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;If you use FIELD SYMBOLS, it will also improve the performance.&lt;/P&gt;&lt;P&gt;Declare a field symbol of type similar to that of ALV_LTB so that we can avoid MODIFY statement which will improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ALV_LTB ASSIGNING &amp;lt;FS_LTB&amp;gt;.&lt;/P&gt;&lt;P&gt;  READ TABLE IT_BOM WITH KEY STLAL = &amp;lt;FS_LTB&amp;gt;-STLAL&lt;/P&gt;&lt;P&gt;                             STLNR = &amp;lt;FS_LTB&amp;gt;-STLNR.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    &amp;lt;FS_LTB&amp;gt;-STLST = IT_BOM-STLST.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;UNASSIGN &amp;lt;FS_LTB&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harimanjesh AN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 05:19:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-tables/m-p/5725701#M1298980</guid>
      <dc:creator>harimanjesh_an</dc:creator>
      <dc:date>2009-05-29T05:19:36Z</dc:date>
    </item>
  </channel>
</rss>

