<?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 problem with Input length in editable dynamic ALV container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-input-length-in-editable-dynamic-alv-container/m-p/7609975#M1569221</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 have created a editable container ALV and I am facing problem with the input length of the cells..&lt;/P&gt;&lt;P&gt;I have defined sizes as below code but still when I tries to enter data it limits upto 10 char only..&lt;/P&gt;&lt;P&gt;I dont knonw why there is a limit of 10 even though I have set it to upto 30,&lt;/P&gt;&lt;P&gt;guide me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   data :   IT_FIELDCAT_DY TYPE   LVC_T_FCAT,
IT_TABLE TYPE REF TO DATA,.
FIELD-SYMBOLS:&amp;lt;FS_CAT_DY&amp;gt; TYPE LVC_S_FCAT,
&amp;lt;TABLE&amp;gt; TYPE TABLE,.
        ...
         ...
      &amp;lt;FS_CAT_DY&amp;gt;-DATATYPE = 'CHAR'.
      &amp;lt;FS_CAT_DY&amp;gt;-INTTYPE = 'C'.
      &amp;lt;FS_CAT_DY&amp;gt;-INTLEN =  '30'.
      &amp;lt;FS_CAT_DY&amp;gt;-OUTPUTLEN = '30'.
      &amp;lt;FS_CAT_DY&amp;gt;-DD_OUTLEN = '30'.
      APPEND &amp;lt;FS_CAT_DY&amp;gt; TO IT_FIELDCAT_DY.
  
CALL METHOD CL_ALV_TABLE_CREATE=&amp;gt;CREATE_DYNAMIC_TABLE
    EXPORTING
      IT_FIELDCATALOG  = IT_FIELDCAT_DY
      i_length_in_byte = 'X'
    IMPORTING
      EP_TABLE         = IT_TABLE.
  ASSIGN IT_TABLE-&amp;gt;* TO &amp;lt;TABLE&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maharshi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Maharshi Vyas on Dec 31, 2010 3:47 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Dec 2010 10:30:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-31T10:30:50Z</dc:date>
    <item>
      <title>problem with Input length in editable dynamic ALV container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-input-length-in-editable-dynamic-alv-container/m-p/7609975#M1569221</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 have created a editable container ALV and I am facing problem with the input length of the cells..&lt;/P&gt;&lt;P&gt;I have defined sizes as below code but still when I tries to enter data it limits upto 10 char only..&lt;/P&gt;&lt;P&gt;I dont knonw why there is a limit of 10 even though I have set it to upto 30,&lt;/P&gt;&lt;P&gt;guide me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   data :   IT_FIELDCAT_DY TYPE   LVC_T_FCAT,
IT_TABLE TYPE REF TO DATA,.
FIELD-SYMBOLS:&amp;lt;FS_CAT_DY&amp;gt; TYPE LVC_S_FCAT,
&amp;lt;TABLE&amp;gt; TYPE TABLE,.
        ...
         ...
      &amp;lt;FS_CAT_DY&amp;gt;-DATATYPE = 'CHAR'.
      &amp;lt;FS_CAT_DY&amp;gt;-INTTYPE = 'C'.
      &amp;lt;FS_CAT_DY&amp;gt;-INTLEN =  '30'.
      &amp;lt;FS_CAT_DY&amp;gt;-OUTPUTLEN = '30'.
      &amp;lt;FS_CAT_DY&amp;gt;-DD_OUTLEN = '30'.
      APPEND &amp;lt;FS_CAT_DY&amp;gt; TO IT_FIELDCAT_DY.
  
CALL METHOD CL_ALV_TABLE_CREATE=&amp;gt;CREATE_DYNAMIC_TABLE
    EXPORTING
      IT_FIELDCATALOG  = IT_FIELDCAT_DY
      i_length_in_byte = 'X'
    IMPORTING
      EP_TABLE         = IT_TABLE.
  ASSIGN IT_TABLE-&amp;gt;* TO &amp;lt;TABLE&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maharshi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Maharshi Vyas on Dec 31, 2010 3:47 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 10:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-input-length-in-editable-dynamic-alv-container/m-p/7609975#M1569221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-31T10:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Input length in editable dynamic ALV container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-input-length-in-editable-dynamic-alv-container/m-p/7609976#M1569222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maharshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do &lt;STRONG&gt;not&lt;/STRONG&gt; use METHOD CL_ALV_TABLE_CREATE=&amp;gt;CREATE_DYNAMIC_TABLE. Use an existing data dictionary type like FIELDNAME, TABNAME etc or define your own data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For internal table creation follow RTTS concepr as used simply [in this comment|http://wiki.sdn.sap.com/wiki/display/Snippets/Create&lt;EM&gt;Dynamic&lt;/EM&gt;Table?showComments=true#comments-section].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create the field catalog for your grid using [this concept|http://wiki.sdn.sap.com/wiki/display/Snippets/ALV&lt;EM&gt;fieldcatalog&lt;/EM&gt;-&lt;EM&gt;create&lt;/EM&gt;for&lt;EM&gt;ANY&lt;/EM&gt;table]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 17:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-input-length-in-editable-dynamic-alv-container/m-p/7609976#M1569222</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-12-31T17:23:28Z</dc:date>
    </item>
  </channel>
</rss>

