<?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 MODIFY ...TRANSPORTING STATEMENT. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540050#M577072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHAT IS THE USE OF MOVE ...TRANSPORTING STATEMENT.WHAT IS THE EFFECT IN THE HEADER AND BODY OF AN INTERNAL TABLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Jul 2007 16:55:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-15T16:55:20Z</dc:date>
    <item>
      <title>MODIFY ...TRANSPORTING STATEMENT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540050#M577072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHAT IS THE USE OF MOVE ...TRANSPORTING STATEMENT.WHAT IS THE EFFECT IN THE HEADER AND BODY OF AN INTERNAL TABLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 16:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540050#M577072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T16:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY ...TRANSPORTING STATEMENT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540051#M577073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u use TRANSPORTING comp1 comp2   in addition to MODIFY itab .. then only the specified comp1 comp2 ... components of the work area or header line are assigned to the corresponding components of the line(s) to be changed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 18:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540051#M577073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T18:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY ...TRANSPORTING STATEMENT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540052#M577074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi veera,&lt;/P&gt;&lt;P&gt;see the report below this might give u a better idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here  T508A is a data base table&lt;/P&gt;&lt;P&gt;so  my advice would be 1st go and check this table&lt;/P&gt;&lt;P&gt;putting the following value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zeity = 1&lt;/P&gt;&lt;P&gt;mofid =11&lt;/P&gt;&lt;P&gt;and see the date (endda) in the same u .&lt;/P&gt;&lt;P&gt;now copy the code and exicute it&lt;/P&gt;&lt;P&gt;the date(endda)of table T508A&lt;/P&gt;&lt;P&gt;will change to  '88881231&lt;/P&gt;&lt;P&gt;8888 yyyy&lt;/P&gt;&lt;P&gt;12     mm&lt;/P&gt;&lt;P&gt;31    dd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: idx type sy-tabix.&lt;/P&gt;&lt;P&gt;data: itab type standard table of t508a.&lt;/P&gt;&lt;P&gt;data: wa_tab type t508a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from t508a into table itab&lt;/P&gt;&lt;P&gt;where zeity = '1'&lt;/P&gt;&lt;P&gt;and mofid = '11'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab INTO WA_TAB.&lt;/P&gt;&lt;P&gt;idx = sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_TAB-ENDDA = '88881231'.&lt;/P&gt;&lt;P&gt;MODIFY ITAB FROM WA_TAB  INDEX IDX TRANSPORTING ENDDA.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify t508a from TABLE itab.&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 lll help u&lt;/P&gt;&lt;P&gt;award points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 12:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540052#M577074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY ...TRANSPORTING STATEMENT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540053#M577075</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;MODIFY TABLE itab FROM wa [TRANSPORTING f1 f2 ...].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work area wa, which must be compatible with the line type of the internal table, plays a double role in this statement. Not only it is used to find the line that you want to change, but it also contains the new contents. The system searches the internal table for the line whose table key corresponds to the key fields in wa. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify the non-key fields that you want to assign to the table line in the TRANSPORTING addition. You can also specify the fields f1 f2 &amp;#133; dynamically using (n1) (n2) &amp;#133; as the contents of a field n1 n2 &amp;#133;. If &amp;lt;ni&amp;gt; is empty when the statement is executed, it is ignored. You can also restrict all fields f1 f2 &amp;#133; to subfields by specifying offset and length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For tables with a complex line structure, the use of the TRANSPORTINGaddition results in better performance, provided the system does not have to transport unnecessary table-like components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 12:19:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540053#M577075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T12:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: MODIFY ...TRANSPORTING STATEMENT.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540054#M577076</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;MODIFY ...TRANSPORTING STATEMENT statement is used to modify the fields in the internal table that are given after TRANSPORTING. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex: there might be some scenarios where u need to modify few fields of a record [not entire record] in such situations we go for this MODIFY ...TRANSPORTING ........... statement. then it will modify only those fields of the internal table which are specified by &lt;/P&gt;&lt;P&gt;TRANSPORTING keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab is a internal table with fields &lt;/P&gt;&lt;P&gt; sno     sname  age    sex&lt;/P&gt;&lt;P&gt; 1         suresh  24       m&lt;/P&gt;&lt;P&gt; 2         babu      24       m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my requirement is to change name and age fields of second record in itab then i try  like this as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter: p_no type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab where sno = 2 or p_no.&lt;/P&gt;&lt;P&gt;  itab-sname = 'aluri'.&lt;/P&gt;&lt;P&gt;  itab-age = '23'.&lt;/P&gt;&lt;P&gt;  MODIFY ITAB INDEX P_NO TRANSPORTING SNAME AGE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  WRITE:/10 ITAB-SNO,&lt;/P&gt;&lt;P&gt;                20   ITAB-SNAME,&lt;/P&gt;&lt;P&gt;                30    ITAB-AGE,&lt;/P&gt;&lt;P&gt;                40 ITAB-SEX.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF HELPFUL REWARD SOME POINTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH REGARDS,&lt;/P&gt;&lt;P&gt;SURESH ALURI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 12:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting-statement/m-p/2540054#M577076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T12:25:31Z</dc:date>
    </item>
  </channel>
</rss>

