<?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 Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/4121551#M985340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data for 3 fields in one internal table. Now I have a Z table with 4 fields, of which last 3 fields are same the 3 fields of internal table. Now I need to move the data from the Internal table to Z Table, by calling the FM 'ABC', whose output shoud be transferred to the first field in the Z Table and the rest 3 fields from internal table. Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2008 01:52:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-30T01:52:31Z</dc:date>
    <item>
      <title>Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/4121551#M985340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data for 3 fields in one internal table. Now I have a Z table with 4 fields, of which last 3 fields are same the 3 fields of internal table. Now I need to move the data from the Internal table to Z Table, by calling the FM 'ABC', whose output shoud be transferred to the first field in the Z Table and the rest 3 fields from internal table. Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 01:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/4121551#M985340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-30T01:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/4121552#M985341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data wa_tab type ztab.&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ABC'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&amp;lt;ur_parameters&amp;gt;      &lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;          ztab-field1      = wa_tab-field1&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;move wa-field1 to wa_tab-field2.&lt;/P&gt;&lt;P&gt;move wa-field1 to wa_tab-field3.&lt;/P&gt;&lt;P&gt;move wa-field1 to wa_tab-field4.&lt;/P&gt;&lt;P&gt;insert ztab from wa_tab.&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;plz reward points if this helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 03:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/4121552#M985341</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2008-06-30T03:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/4121553#M985342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data for 3 fields in one internal table. Now I have a Z table with 4 fields, of which last 3 fields are same the 3 fields of internal table. Now I need to move the data from the Internal table to Z Table, by calling the FM 'ABC', whose output shoud be transferred to the first field in the Z Table and the rest 3 fields from internal table. Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table it_tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with fields :  field1 field2 field3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ztable with zfield1 zfield2 zfield3 zfield4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zfield2 is same as field1&lt;/P&gt;&lt;P&gt;zfield3 is same as field2&lt;/P&gt;&lt;P&gt;zfield4 is same as field3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my suggestion.&lt;/P&gt;&lt;P&gt;table: ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function ABC&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;value = zfield1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at it_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zfield2 = field1.&lt;/P&gt;&lt;P&gt;zfield3 = field2.&lt;/P&gt;&lt;P&gt;zfield4 = field3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2008 03:34:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/4121553#M985342</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2008-06-30T03:34:32Z</dc:date>
    </item>
  </channel>
</rss>

