<?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: How to Format Dynamic internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963941#M68107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt; In-side LOOP SUM ia not accepting.&lt;/P&gt;&lt;P&gt;Is there any other possibility.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2005 04:26:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-12T04:26:29Z</dc:date>
    <item>
      <title>How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963933#M68099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Dynamic internal table having 20 fields how can we format this.&lt;/P&gt;&lt;P&gt;can any body have idea how to process through control break statements like(AT LAST SUM, AT NEW etc).&lt;/P&gt;&lt;P&gt;And how to give coloumn heading etc......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 10:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963933#M68099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T10:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963934#M68100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use field symbols. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB INTO &amp;lt;FLD_SYM&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 10:58:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963934#M68100</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-11T10:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963935#M68101</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;&lt;/P&gt;&lt;P&gt;try that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  field_name = 'BUKRS'.
  ASSIGN COMPONENT  field_name  OF STRUCTURE &amp;lt;dyn_wa&amp;gt; TO &amp;lt;f&amp;gt;.
..
  field_name = 'DMBTR'.
  ASSIGN COMPONENT  field_name  OF STRUCTURE &amp;lt;dyn_wa&amp;gt; TO &amp;lt;sum&amp;gt;.

...

  AT END OF &amp;lt;f&amp;gt;.
    SUM.
    uline.skip.
    WRITE: / &amp;lt;sum&amp;gt;.
  ENDAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 11:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963935#M68101</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-11T11:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963936#M68102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am already using field symbols.&lt;/P&gt;&lt;P&gt;here is my code.....&lt;/P&gt;&lt;P&gt;LOOP AT  &amp;lt;FS_1&amp;gt; INTO &amp;lt;FS_2&amp;gt; .&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;FS_2&amp;gt; TO &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      WRITE &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  new-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;Now i want to do some additions while showing output.&lt;/P&gt;&lt;P&gt;Like i want to use AT LAST.&lt;/P&gt;&lt;P&gt;SUM.&lt;/P&gt;&lt;P&gt;END AT.&lt;/P&gt;&lt;P&gt;I have more than 20 fields in my Dynamic table.&lt;/P&gt;&lt;P&gt;And i want to use ...&lt;/P&gt;&lt;P&gt;AT NEW BUKRS...&lt;/P&gt;&lt;P&gt;SUM.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please suggest some code regarding this.&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 11:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963936#M68102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T11:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963937#M68103</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;If u want to use AT LAST or AT NEW fieldname, then that fieldname should be the first field in the table u defined or it wont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Judith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 11:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963937#M68103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T11:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963938#M68104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BUKRS is my first field.&lt;/P&gt;&lt;P&gt;RACCt is my second field.&lt;/P&gt;&lt;P&gt;remaining all are TLSVT(Amount type) now i must add these amounts....&lt;/P&gt;&lt;P&gt;Thanking you,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 11:23:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963938#M68104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T11:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963939#M68105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Andreas,&lt;/P&gt;&lt;P&gt;In side loop SUM is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 11:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963939#M68105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T11:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963940#M68106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try sth like that:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT...
sum.
dO.
ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;FS_2&amp;gt; TO &amp;lt;field&amp;gt;.
IF sy-subrc = 0 
if sy-index &amp;gt; 2."values after position 2
WRITE &amp;lt;field&amp;gt;.
endif.
else.
Exit.
Endif.
enddo.
...
  ENDAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward points when answers are useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 14:21:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963940#M68106</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-11T14:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format Dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963941#M68107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt; In-side LOOP SUM ia not accepting.&lt;/P&gt;&lt;P&gt;Is there any other possibility.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2005 04:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-format-dynamic-internal-table/m-p/963941#M68107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-12T04:26:29Z</dc:date>
    </item>
  </channel>
</rss>

