<?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: [abap2xlsx] generate excel using dynamic internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255259#M1986583</link>
    <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/1012579/theejaydee.html"&gt;Jay Dy&lt;/A&gt; You may load easily any internal table with abap2xlsx, whatever it's a static or dynamic internal table, with the method worksheet-&amp;gt;bind_table.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2020 09:00:57 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2020-08-26T09:00:57Z</dc:date>
    <item>
      <title>[abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255253#M1986577</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;
  &lt;P&gt;does anyone have a sample how to handle a dynamic internal table to generate excel with multiple sheet? &lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 05:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255253#M1986577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-26T05:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: [abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255254#M1986578</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;theejaydee&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;What do you want the logic to do with multiple sheets?&lt;/P&gt;&lt;P&gt;The basic for using dynamic internal table to create an Excel spreadsheet is to use of field symbols. For example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
  ld_row TYPE REF TO data.

FIELD-SYMBOLS:
  &amp;lt;lv_field&amp;gt; TYPE any,
  &amp;lt;ls_row&amp;gt; TYPE any.

CREATE ld_row LIKE LINE OF it_internal_table.
ASSIGN ld_row-&amp;gt;* TO &amp;lt;ls_row&amp;gt;.

DO.
  ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;ls_row&amp;gt; TO &amp;lt;lv_field&amp;gt;.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    EXIT.
  ENDIF.

  " code below is just a mock-up
  lo_excel-&amp;gt;set_cell( &amp;lt;lv_field&amp;gt;
ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 26 Aug 2020 06:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255254#M1986578</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-08-26T06:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: [abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255255#M1986579</link>
      <description>&lt;P&gt;With abap2xlsx, you probably have no difficulty to generate multiple sheets (ZDEMO_EXCEL4 : abap2xlsx Demo: Create XLXS with multiple sheets).&lt;/P&gt;&lt;P&gt;So, your problem can be simplified to create one internal table per worksheet and fill the internal tables from the dynamic internal table, and your question is maybe how to read the dynamic internal table? (abap2xlsx is no more implied in the question) If so -&amp;gt; see Mateusz answer.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 07:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255255#M1986579</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-26T07:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: [abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255256#M1986580</link>
      <description>&lt;P&gt;Hi Mateusz, &lt;/P&gt;&lt;P&gt;I think you got me at the Do.. Enddo. part. Will test this one out and check further. &lt;/P&gt;&lt;P&gt;Basically sample scenario is I have more than one dynamic internal table for each table i need to create a sheet. Without  knowing the number of fields each table, how will i pass it to using the tool.  &lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 07:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255256#M1986580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-26T07:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: [abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255257#M1986581</link>
      <description>&lt;P&gt;In this case I'd do a method/procedure which would take in the internal table and the name of spreadsheet that has to be created/filled. Then in the method/procedure open/create the spreadsheet and use my example code to fill it with data.&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 26 Aug 2020 08:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255257#M1986581</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-08-26T08:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: [abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255258#M1986582</link>
      <description>&lt;P&gt;Thank you very much for your insight! &lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 08:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255258#M1986582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-26T08:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: [abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255259#M1986583</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/1012579/theejaydee.html"&gt;Jay Dy&lt;/A&gt; You may load easily any internal table with abap2xlsx, whatever it's a static or dynamic internal table, with the method worksheet-&amp;gt;bind_table.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 09:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255259#M1986583</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-08-26T09:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: [abap2xlsx] generate excel using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255260#M1986584</link>
      <description>&lt;P&gt;Thanks Sandra, I will look into that method as well. &lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 09:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap2xlsx-generate-excel-using-dynamic-internal-table/m-p/12255260#M1986584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-26T09:24:18Z</dc:date>
    </item>
  </channel>
</rss>

