<?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: internaltable modification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655589#M1095415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cs01 1000 100000 1 1000&lt;/P&gt;&lt;P&gt;cs01 1000 100000 2 1400&lt;/P&gt;&lt;P&gt;cs01 1000 100000 3 1600&lt;/P&gt;&lt;P&gt;cs01 1001 100000 1 1200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first sort the table on first 3 fields. the above is the sorted data. now place the control break on second field.&lt;/P&gt;&lt;P&gt;use appropriate types and fieldnames. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of it_final occurs 0,
          first,
          second,
          third,
          id1,
          id2,
          id3,
          ...
          idn,
        end of it_final.
data: val(20).
field-symbols: &amp;lt;fs&amp;gt; type any.
loop at it_data.
 it_final-first = it_data-first.
 it_final-secnd = it_data-second.
 it_final-third  = it_Data-third.
  concatenate 'IT_FINAL-ID' it_data-four to val.
  assign (val) to &amp;lt;fs&amp;gt;.
  &amp;lt;fs&amp;gt; = it_data-five.  
at end of field2.
  append it_final.
endat.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 07:08:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-10T07:08:55Z</dc:date>
    <item>
      <title>internaltable modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655588#M1095414</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;my internaltable contains data like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company   cost     assignment    period         amount&lt;/P&gt;&lt;P&gt;code         center&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cs01       1000        100000            1              1000&lt;/P&gt;&lt;P&gt;cs01       1001        100000            1              1200&lt;/P&gt;&lt;P&gt;cs01       1000        100000            2              1400&lt;/P&gt;&lt;P&gt;cs01       1000        100000            3              1600&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to modify above internaltable lik below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company   cost     assignment   period1     period2       period3&lt;/P&gt;&lt;P&gt;code         center                      amount     amount      amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cs01        1000      100000            1000         1400        1600 &lt;/P&gt;&lt;P&gt;cs01        1001      100000            1200             -               -  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i modify?&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;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 06:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655588#M1095414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T06:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: internaltable modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655589#M1095415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cs01 1000 100000 1 1000&lt;/P&gt;&lt;P&gt;cs01 1000 100000 2 1400&lt;/P&gt;&lt;P&gt;cs01 1000 100000 3 1600&lt;/P&gt;&lt;P&gt;cs01 1001 100000 1 1200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first sort the table on first 3 fields. the above is the sorted data. now place the control break on second field.&lt;/P&gt;&lt;P&gt;use appropriate types and fieldnames. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of it_final occurs 0,
          first,
          second,
          third,
          id1,
          id2,
          id3,
          ...
          idn,
        end of it_final.
data: val(20).
field-symbols: &amp;lt;fs&amp;gt; type any.
loop at it_data.
 it_final-first = it_data-first.
 it_final-secnd = it_data-second.
 it_final-third  = it_Data-third.
  concatenate 'IT_FINAL-ID' it_data-four to val.
  assign (val) to &amp;lt;fs&amp;gt;.
  &amp;lt;fs&amp;gt; = it_data-five.  
at end of field2.
  append it_final.
endat.

endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655589#M1095415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: internaltable modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655590#M1095416</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;will the period1 period2........ column will be dynamic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:35:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655590#M1095416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: internaltable modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655591#M1095417</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;yes column1 column2 are dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655591#M1095417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: internaltable modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655592#M1095418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  for reply. one more question.&lt;/P&gt;&lt;P&gt;in my final internal table  like first,second and third columns are static and other columns are id1, id2 ,id3 ...idn are dynamic columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i bulid the internal table.please help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655592#M1095418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: internaltable modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655593#M1095419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can populate the fieldcatalog with the fieldnames and lengths . and  using the class cl_alv_table_create , method CREATE_DYNAMIC_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and create the dynamic table, using that you can proceed. for sample code search here with the class cl_alv_table_create&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 07:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655593#M1095419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T07:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: internaltable modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655594#M1095420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 12:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internaltable-modification/m-p/4655594#M1095420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T12:34:50Z</dc:date>
    </item>
  </channel>
</rss>

