Skip to Content
0
Former Member
Mar 12, 2007 at 09:16 AM

Field size of dynamic internal Table

35 Views

Hi experts,

i had created one Dynamic internal table which is type of any table by using following code.

*... Create the dynamic internal table

CALL METHOD cl_alv_table_create=>create_dynamic_table

EXPORTING

it_fieldcatalog = it_fieldcat

IMPORTING

ep_table = new_table.

*... Create a new line

ASSIGN new_table->* TO <l_table>.

CREATE DATA new_line LIKE LINE OF <l_table>.

ASSIGN new_line->* TO <l_line>.

when it is created dynamically the size of fields for table <l_table> are char 10.

Do anyone have any idea how to change the size of that fields.

Regards,

Seema.