<?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: Additional column for output table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/additional-column-for-output-table/m-p/7705019#M1578393</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 would need to create a structure that includes your extra column. Use this structure as the reference in your tables tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you have selected the data in the table. &lt;/P&gt;&lt;P&gt;loop at the table. &lt;/P&gt;&lt;P&gt;populate the new column according to your logic. &lt;/P&gt;&lt;P&gt;Modify the new column.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 08:40:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-02T08:40:26Z</dc:date>
    <item>
      <title>Additional column for output table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/additional-column-for-output-table/m-p/7705017#M1578391</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 created an ABAP function wherein I am reading table to output in a table. Code as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM &amp;lt;source_table&amp;gt;&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE &amp;lt;t_output_table&amp;gt;&lt;/P&gt;&lt;P&gt;WHERE &amp;lt;conditions&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import tab has two import parameters.&lt;/P&gt;&lt;P&gt;Export tab has none.&lt;/P&gt;&lt;P&gt;Changing has none.&lt;/P&gt;&lt;P&gt;Table tab has &lt;/P&gt;&lt;P&gt;PARAMETER NAME as t_output_table,&lt;/P&gt;&lt;P&gt;TYPING as LIKE,&lt;/P&gt;&lt;P&gt;ASSOCIATED TYPE as source table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do next is to add another field to the output which will be substring of one of the field of source table. For example if FieldA of source table has value "abcdefgh", I want to return "defgh" as additional column of the output table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 06:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/additional-column-for-output-table/m-p/7705017#M1578391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T06:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Additional column for output table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/additional-column-for-output-table/m-p/7705018#M1578392</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;Add one more required field to your input table.Once the value has been retrieved to ur Output table,modify the table with your requiremnt and pass this value to the field required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 07:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/additional-column-for-output-table/m-p/7705018#M1578392</guid>
      <dc:creator>former_member377111</dc:creator>
      <dc:date>2011-03-02T07:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Additional column for output table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/additional-column-for-output-table/m-p/7705019#M1578393</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 would need to create a structure that includes your extra column. Use this structure as the reference in your tables tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you have selected the data in the table. &lt;/P&gt;&lt;P&gt;loop at the table. &lt;/P&gt;&lt;P&gt;populate the new column according to your logic. &lt;/P&gt;&lt;P&gt;Modify the new column.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 08:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/additional-column-for-output-table/m-p/7705019#M1578393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-02T08:40:26Z</dc:date>
    </item>
  </channel>
</rss>

