<?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: create dynamic table CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-table-call-method-cl-alv-table-create-gt-create-dynamic/m-p/7070500#M1504571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks i solved by myself i just modify the outputlenght field in the field catalog before use the cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jul 2010 14:17:29 GMT</pubDate>
    <dc:creator>alejandro_romero2</dc:creator>
    <dc:date>2010-07-12T14:17:29Z</dc:date>
    <item>
      <title>create dynamic table CALL METHOD cl_alv_table_create=&gt;create_dynamic_table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-table-call-method-cl-alv-table-create-gt-create-dynamic/m-p/7070499#M1504570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus i have a problem i have created a dinamic internal table but the lenght of the internal table fields is 10 i need longer fields&lt;/P&gt;&lt;P&gt;here is my code thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_campos OCCURS 0,&lt;/P&gt;&lt;P&gt;            campo1(12) type c,&lt;/P&gt;&lt;P&gt;        END OF it_campos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do n times.&lt;/P&gt;&lt;P&gt;       clear nocamptmp.&lt;/P&gt;&lt;P&gt;       add 1 to incont.&lt;/P&gt;&lt;P&gt;       CONDENSE incont NO-GAPS.&lt;/P&gt;&lt;P&gt;       cont = incont.&lt;/P&gt;&lt;P&gt;       CONCATENATE nocamp cont  into nocamptmp.&lt;/P&gt;&lt;P&gt;       wa_campos-campo1 = nocamptmp.&lt;/P&gt;&lt;P&gt;       append wa_campos to it_campos.&lt;/P&gt;&lt;P&gt;    enddo  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at  it_campos into wa_campos.&lt;/P&gt;&lt;P&gt;      t_fieldcat_wa-col_pos = SY-TABIX.&lt;/P&gt;&lt;P&gt;      t_fieldcat_wa-fieldname = wa_campos-campo1.&lt;/P&gt;&lt;P&gt;      APPEND t_fieldcat_wa TO t_fieldcat.&lt;/P&gt;&lt;P&gt;    endloop  .&lt;/P&gt;&lt;P&gt;&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           = t_fieldcat&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;        ep_table                  = tabla&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;        GENERATE_SUBPOOL_DIR_FULL = 1&lt;/P&gt;&lt;P&gt;    others                         = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ASSIGN tabla-&amp;gt;* TO &amp;lt;l_table&amp;gt;.&lt;/P&gt;&lt;P&gt;    CREATE DATA ep_line LIKE LINE OF &amp;lt;l_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all is fine but the fields of  &amp;lt;l_table&amp;gt;  are char(10) and my data is longer than 10 how can i increase the lenght of the table fields&lt;/P&gt;&lt;P&gt;any idea thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 14:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-table-call-method-cl-alv-table-create-gt-create-dynamic/m-p/7070499#M1504570</guid>
      <dc:creator>alejandro_romero2</dc:creator>
      <dc:date>2010-07-12T14:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: create dynamic table CALL METHOD cl_alv_table_create=&gt;create_dynamic_table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-table-call-method-cl-alv-table-create-gt-create-dynamic/m-p/7070500#M1504571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks i solved by myself i just modify the outputlenght field in the field catalog before use the cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 14:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-table-call-method-cl-alv-table-create-gt-create-dynamic/m-p/7070500#M1504571</guid>
      <dc:creator>alejandro_romero2</dc:creator>
      <dc:date>2010-07-12T14:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: create dynamic table CALL METHOD cl_alv_table_create=&gt;create_dynamic_table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-table-call-method-cl-alv-table-create-gt-create-dynamic/m-p/7070501#M1504572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify the fieldcatalog accordingly for e.g.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_campos INTO wa_campos.
  t_fieldcat_wa-col_pos = sy-tabix.
  t_fieldcat_wa-fieldname = wa_campos-campo1.
  t_fieldcat_wa-inttype = 'C'. " Character Type
  t_fieldcat_wa-intlen = '50'. "50 character length
  APPEND t_fieldcat_wa TO t_fieldcat.
ENDLOOP .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 14:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-table-call-method-cl-alv-table-create-gt-create-dynamic/m-p/7070501#M1504572</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-12T14:35:36Z</dc:date>
    </item>
  </channel>
</rss>

