<?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 Dynamic Internal Table Creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931798#M1150480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on requirement, i need to create a dynamic internal table with some text fields of length 5000 which are dynamic.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = tb_fieldcat&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = dref.&lt;/P&gt;&lt;P&gt;  ASSIGN dref-&amp;gt;* TO &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;  CREATE DATA wa LIKE LINE OF &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN wa-&amp;gt;* TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So while building the fieldcatalog, am declaring the outputlen = 5000.&lt;/P&gt;&lt;P&gt;In some cases, there may be a possibility to create the 20 text fields of 5000 length each &lt;/P&gt;&lt;P&gt;which exceed the SAP defined length(error am gettiing is:The length of the structure in a non-unicdoe syste 69 DATA ). Kindly suggest me whether it is possible to create the 20 text fields of 5000 length.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmasri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2008 10:30:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-17T10:30:51Z</dc:date>
    <item>
      <title>Dynamic Internal Table Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931798#M1150480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on requirement, i need to create a dynamic internal table with some text fields of length 5000 which are dynamic.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = tb_fieldcat&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = dref.&lt;/P&gt;&lt;P&gt;  ASSIGN dref-&amp;gt;* TO &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;  CREATE DATA wa LIKE LINE OF &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN wa-&amp;gt;* TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So while building the fieldcatalog, am declaring the outputlen = 5000.&lt;/P&gt;&lt;P&gt;In some cases, there may be a possibility to create the 20 text fields of 5000 length each &lt;/P&gt;&lt;P&gt;which exceed the SAP defined length(error am gettiing is:The length of the structure in a non-unicdoe syste 69 DATA ). Kindly suggest me whether it is possible to create the 20 text fields of 5000 length.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmasri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 10:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931798#M1150480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Internal Table Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931799#M1150481</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 think you may try with &lt;STRONG&gt;string&lt;/STRONG&gt; type for these fields. Then you don't need to provide output length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 10:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931799#M1150481</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-12-17T10:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Internal Table Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931800#M1150482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use strings instead of c-like variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, you can not display those fields in ALV. Columnwidth is ,imitied to 250 chars, i think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 10:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931800#M1150482</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-12-17T10:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Internal Table Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931801#M1150483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam extracting the data into an excelsheet not an ALVdisplay.&lt;/P&gt;&lt;P&gt;Kinldy suggest me is it possible to build the fieldcat to adjust the 5000 chars of length for 20 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Padmasri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:08:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931801#M1150483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T11:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Internal Table Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931802#M1150484</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;from the database (oracle) point of view-&lt;/P&gt;&lt;P&gt;Allowed maximum Column length is 4000. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks\&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table-creation/m-p/4931802#M1150484</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2008-12-17T11:22:28Z</dc:date>
    </item>
  </channel>
</rss>

