<?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 internal table update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-update/m-p/1657405#M291713</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; I have a internal table ITAB it has&lt;/P&gt;&lt;P&gt;MATERIAL	             abcd	&lt;/P&gt;&lt;P&gt;PLANT		          Get from PO line item in SAP&lt;/P&gt;&lt;P&gt;STGE		          Get from PO line item in SAP&lt;/P&gt;&lt;P&gt;MOVE_TYPE	          101	&lt;/P&gt;&lt;P&gt;ENTRY_QNT	          1	&lt;/P&gt;&lt;P&gt;PO_NUMBER	          4506007300	&lt;/P&gt;&lt;P&gt;PO_IT	                  00001	&lt;/P&gt;&lt;P&gt;MVT_IND	                  B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this internal table i dont have plant and storage location so i was using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ebeln ebelp werks lgort into JTAB from ebap for all entries in ITAB&lt;/P&gt;&lt;P&gt;where ebelp = ITAB-ebelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now i got the plant and storage location in JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can any one send the logic how i can modify ITAB with plant and storage location with respect to po line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2006 11:57:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-20T11:57:49Z</dc:date>
    <item>
      <title>internal table update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-update/m-p/1657405#M291713</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; I have a internal table ITAB it has&lt;/P&gt;&lt;P&gt;MATERIAL	             abcd	&lt;/P&gt;&lt;P&gt;PLANT		          Get from PO line item in SAP&lt;/P&gt;&lt;P&gt;STGE		          Get from PO line item in SAP&lt;/P&gt;&lt;P&gt;MOVE_TYPE	          101	&lt;/P&gt;&lt;P&gt;ENTRY_QNT	          1	&lt;/P&gt;&lt;P&gt;PO_NUMBER	          4506007300	&lt;/P&gt;&lt;P&gt;PO_IT	                  00001	&lt;/P&gt;&lt;P&gt;MVT_IND	                  B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this internal table i dont have plant and storage location so i was using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ebeln ebelp werks lgort into JTAB from ebap for all entries in ITAB&lt;/P&gt;&lt;P&gt;where ebelp = ITAB-ebelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now i got the plant and storage location in JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can any one send the logic how i can modify ITAB with plant and storage location with respect to po line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 11:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-update/m-p/1657405#M291713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T11:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: internal table update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-update/m-p/1657406#M291714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pavan ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at jtab.&lt;/P&gt;&lt;P&gt;read table itab with key ebeln = jtab-ebeln &lt;/P&gt;&lt;P&gt;                         ebelp = jtab-ebelp.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;itab-werks = jtab-werks.&lt;/P&gt;&lt;P&gt;itab-lgort = jtab-lgort.&lt;/P&gt;&lt;P&gt;modify itab transporting werks lgort&lt;/P&gt;&lt;P&gt; where ebeln  = jtab-ebeln&lt;/P&gt;&lt;P&gt;       ebelp  = jtab-ebelp &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;&lt;/P&gt;&lt;P&gt;hope this helps &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&amp;lt;a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm"&amp;gt;modify&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this for clear understanding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 12:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-update/m-p/1657406#M291714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T12:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: internal table update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-update/m-p/1657407#M291715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; select plant, storage location into itab-werks, itab-lgort.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   modify itab transporting werks lgort index sy-tabix.&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 12:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-update/m-p/1657407#M291715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T12:21:08Z</dc:date>
    </item>
  </channel>
</rss>

