<?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 Create dynamic internal table from another internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386440#M1404005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;My requirement is to create one internal table dynamically based upon the number of entries of a field of another internal table and display all the entries in a single line using alv. Problem is no. of entries of that field varies time by time.&lt;/P&gt;&lt;P&gt;I've used method cl_alv_table_create=&amp;gt;create_dynamic_table , but the problem is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF gty_qamv,&lt;/P&gt;&lt;P&gt;        PRUEFLOS TYPE QPLOS,&lt;/P&gt;&lt;P&gt;        VERWMERKM TYPE  QMERKNR,&lt;/P&gt;&lt;P&gt;       END OF gty_qamv.&lt;/P&gt;&lt;P&gt; data: gt_qamv TYPE TABLE OF gty_qamv,&lt;/P&gt;&lt;P&gt;       gs_qamv TYPE gty_qamv.&lt;/P&gt;&lt;P&gt;data : ref_table_des type ref to cl_abap_structdescr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ref_table_des = ??? . (what I've to pass here)&lt;/P&gt;&lt;P&gt;  cl_abap_typedescr=&amp;gt;describe_by_name( ??? ) . (what I've to pass here)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  idetails[] = ref_table_des-&amp;gt;components[].&lt;/P&gt;&lt;P&gt; LOOP AT idetails INTO xdetails.&lt;/P&gt;&lt;P&gt;    CLEAR xfc.&lt;/P&gt;&lt;P&gt;    xfc-fieldname = xdetails-name .&lt;/P&gt;&lt;P&gt;    xfc-datatype = xdetails-type_kind.&lt;/P&gt;&lt;P&gt;    xfc-inttype = xdetails-type_kind.&lt;/P&gt;&lt;P&gt;    xfc-intlen = xdetails-length.&lt;/P&gt;&lt;P&gt;    xfc-decimals = xdetails-decimals.&lt;/P&gt;&lt;P&gt;    APPEND xfc TO ifc.&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           = ifc&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table                  = dy_table.&lt;/P&gt;&lt;P&gt;iF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN dy_table-&amp;gt;* TO &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;  CREATE DATA dy_line LIKE LINE OF &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN dy_line-&amp;gt;* TO &amp;lt;dyn_wa&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've to track how many MICs are there in the itab gt_qamv according to that Lot No.&lt;/P&gt;&lt;P&gt;Can anybody send any sample code or program for this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Inadvance.&lt;/P&gt;&lt;P&gt;Goutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2009 11:07:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-15T11:07:15Z</dc:date>
    <item>
      <title>Create dynamic internal table from another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386440#M1404005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;My requirement is to create one internal table dynamically based upon the number of entries of a field of another internal table and display all the entries in a single line using alv. Problem is no. of entries of that field varies time by time.&lt;/P&gt;&lt;P&gt;I've used method cl_alv_table_create=&amp;gt;create_dynamic_table , but the problem is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF gty_qamv,&lt;/P&gt;&lt;P&gt;        PRUEFLOS TYPE QPLOS,&lt;/P&gt;&lt;P&gt;        VERWMERKM TYPE  QMERKNR,&lt;/P&gt;&lt;P&gt;       END OF gty_qamv.&lt;/P&gt;&lt;P&gt; data: gt_qamv TYPE TABLE OF gty_qamv,&lt;/P&gt;&lt;P&gt;       gs_qamv TYPE gty_qamv.&lt;/P&gt;&lt;P&gt;data : ref_table_des type ref to cl_abap_structdescr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ref_table_des = ??? . (what I've to pass here)&lt;/P&gt;&lt;P&gt;  cl_abap_typedescr=&amp;gt;describe_by_name( ??? ) . (what I've to pass here)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  idetails[] = ref_table_des-&amp;gt;components[].&lt;/P&gt;&lt;P&gt; LOOP AT idetails INTO xdetails.&lt;/P&gt;&lt;P&gt;    CLEAR xfc.&lt;/P&gt;&lt;P&gt;    xfc-fieldname = xdetails-name .&lt;/P&gt;&lt;P&gt;    xfc-datatype = xdetails-type_kind.&lt;/P&gt;&lt;P&gt;    xfc-inttype = xdetails-type_kind.&lt;/P&gt;&lt;P&gt;    xfc-intlen = xdetails-length.&lt;/P&gt;&lt;P&gt;    xfc-decimals = xdetails-decimals.&lt;/P&gt;&lt;P&gt;    APPEND xfc TO ifc.&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           = ifc&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table                  = dy_table.&lt;/P&gt;&lt;P&gt;iF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN dy_table-&amp;gt;* TO &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;  CREATE DATA dy_line LIKE LINE OF &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN dy_line-&amp;gt;* TO &amp;lt;dyn_wa&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've to track how many MICs are there in the itab gt_qamv according to that Lot No.&lt;/P&gt;&lt;P&gt;Can anybody send any sample code or program for this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Inadvance.&lt;/P&gt;&lt;P&gt;Goutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 11:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386440#M1404005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T11:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic internal table from another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386441#M1404006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goutam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Program" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/Program&lt;/A&gt;&lt;EM&gt;for&lt;/EM&gt;dynamic&lt;EM&gt;table&lt;/EM&gt;display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

TABLES: mara, makt.

TYPE-POOLS: slis.

DATA: it_fcat

TYPE slis_t_fieldcat_alv,

is_fcat LIKE LINE OF it_fcat,

ls_layout TYPE slis_layout_alv.

DATA: it_fieldcat TYPE lvc_t_fcat,

is_fieldcat LIKE LINE OF

it_fieldcat.

DATA: new_table TYPE REF TO data,

new_line TYPE REF TO data,

ob_cont_alv TYPE REF TO cl_gui_custom_container,

ob_alv TYPE REF TO cl_gui_alv_grid,

vg_campos(255) TYPE c,

i_campos LIKE TABLE OF vg_campos,

vg_campo(30) TYPE c,

vg_tables(60) TYPE c.

*DATA: e_params LIKE zutsvga_alv_01.

FIELD-SYMBOLS: &amp;lt;l_table&amp;gt; TYPE table,

&amp;lt;l_line&amp;gt; TYPE ANY,

&amp;lt;l_field&amp;gt; TYPE ANY.

PARAMETERS: p_max(2) TYPE n DEFAULT '20' OBLIGATORY.

is_fcat-fieldname = 'COL01'.

is_fcat-ref_fieldname = 'MATNR'.

is_fcat-ref_tabname = 'MARA'.

APPEND is_fcat TO it_fcat.

is_fcat-fieldname = 'COL02'.

is_fcat-ref_fieldname = 'MAKTX'.

is_fcat-ref_tabname = 'MAKT'.

APPEND is_fcat TO it_fcat.


LOOP AT it_fcat INTO is_fcat.

is_fieldcat-fieldname = is_fcat-fieldname.

is_fieldcat-ref_field = is_fcat-ref_fieldname.

is_fieldcat-ref_table = is_fcat-ref_tabname.

APPEND is_fieldcat TO it_fieldcat.

CONCATENATE is_fieldcat-ref_table is_fieldcat-ref_field INTO

vg_campos SEPARATED BY '~'.

APPEND vg_campos TO i_campos.

ENDLOOP.

*... Create the dynamic internal table

CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table

EXPORTING

it_fieldcatalog = it_fieldcat

IMPORTING

ep_table = new_table.

*... Create a new line

ASSIGN new_table-&amp;gt;* TO &amp;lt;l_table&amp;gt;.

CREATE DATA new_line LIKE LINE OF &amp;lt;l_table&amp;gt;.

ASSIGN new_line-&amp;gt;* TO &amp;lt;l_line&amp;gt;.

SELECT (i_campos) FROM mara INNER JOIN makt ON mara~matnr = makt~matnr

UP TO P_MAX ROWS INTO TABLE &amp;lt;l_table&amp;gt;.

describe table &amp;lt;l_table&amp;gt;.

write :/ sy-tfill.



LOOP AT &amp;lt;l_table&amp;gt; INTO &amp;lt;l_line&amp;gt;.

LOOP AT it_fcat INTO is_fcat.

ASSIGN COMPONENT is_fcat-fieldname OF STRUCTURE &amp;lt;l_line&amp;gt; TO &amp;lt;l_field&amp;gt;.

IF sy-tabix = 1.

WRITE: /2 &amp;lt;l_field&amp;gt;.

ELSE.

WRITE: &amp;lt;l_field&amp;gt;.

ENDIF.

ENDLOOP.

ENDLOOP.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 11:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386441#M1404006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T11:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic internal table from another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386442#M1404007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 11:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386442#M1404007</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2009-12-15T11:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic internal table from another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386443#M1404008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edited&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Marshal on Dec 15, 2009 1:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 11:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386443#M1404008</guid>
      <dc:creator>Marcal_Oliveras</dc:creator>
      <dc:date>2009-12-15T11:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic internal table from another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386444#M1404009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pravin,&lt;/P&gt;&lt;P&gt;Thanks for the help. But your code is for the dynamic table to fetch the data from db to itab . &lt;/P&gt;&lt;P&gt;My requirement is to arrange all MICs in one line according to Lot no which I've fetch in another itab before. I know how to arrange these but don't know how to arrange dynamically. B'cos the MIC may differ from 3 to 100. &lt;/P&gt;&lt;P&gt;Give some logic, how can I increase the number of fields of itab dynamically so that I can arrange all the MICs in one line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks in Advance.&lt;/P&gt;&lt;P&gt;Goutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 12:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386444#M1404009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic internal table from another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386445#M1404010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goutham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below links  to get an idea about how to create dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic&lt;EM&gt;Internal&lt;/EM&gt;Table] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic&lt;EM&gt;Internal&lt;/EM&gt;Tablehttp://wiki.sdn.sap.com/wiki/display/ABAP/Dynamic&lt;EM&gt;Internal&lt;/EM&gt;tablehttp://wiki.sdn.sap.com/wiki/display/Snippets/dynamic&lt;EM&gt;internal&lt;/EM&gt;table&lt;EM&gt;all&lt;/EM&gt;fieldshttp://wiki.sdn.sap.com/wiki/display/Snippets/Creating&lt;EM&gt;a&lt;/EM&gt;dynamic&lt;EM&gt;internal&lt;/EM&gt;table&lt;EM&gt;based&lt;/EM&gt;on&lt;EM&gt;data|http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic&lt;/EM&gt;Internal+Table]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 13:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386445#M1404010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T13:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic internal table from another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386446#M1404011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goutam, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I din't understand completely your requirement. So I tried to simulate your problem of making an internal table having same no. of columns as of another internal table having same no. of rows. Hope it helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please copy paste the below code snippet to any report and execute. &amp;lt;fs_tab&amp;gt; will hold the no. of columns as many CONNID s are fetched from SFLIGHT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_connid,&lt;/P&gt;&lt;P&gt;          connid TYPE s_conn_id,&lt;/P&gt;&lt;P&gt;         END OF ty_connid,&lt;/P&gt;&lt;P&gt;         ty_t_connid TYPE STANDARD TABLE OF ty_connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: i_connid  TYPE ty_t_connid,&lt;/P&gt;&lt;P&gt;        wa_connid TYPE ty_connid,&lt;/P&gt;&lt;P&gt;        i_fldcat  TYPE lvc_t_fcat,&lt;/P&gt;&lt;P&gt;        wa_fldcat TYPE lvc_s_fcat,&lt;/P&gt;&lt;P&gt;        v_cnt     TYPE char2,&lt;/P&gt;&lt;P&gt;        i_tab     TYPE REF TO data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;fs_tab&amp;gt; TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT connid&lt;/P&gt;&lt;P&gt;    FROM sflight&lt;/P&gt;&lt;P&gt;    INTO TABLE i_connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_connid INTO wa_connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    v_cnt = sy-tabix.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'CONNID' v_cnt INTO wa_fldcat-fieldname.&lt;/P&gt;&lt;P&gt;    wa_fldcat-datatype = 'NUMC'.&lt;/P&gt;&lt;P&gt;    wa_fldcat-inttype = 'NUMC'.&lt;/P&gt;&lt;P&gt;    wa_fldcat-intlen = 4.&lt;/P&gt;&lt;P&gt;    APPEND wa_fldcat TO i_fldcat.&lt;/P&gt;&lt;P&gt;&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 = i_fldcat&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = i_tab.&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN i_tab-&amp;gt;* TO &amp;lt;fs_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mainak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 15:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-dynamic-internal-table-from-another-internal-table/m-p/6386446#M1404011</guid>
      <dc:creator>former_member224404</dc:creator>
      <dc:date>2009-12-15T15:14:55Z</dc:date>
    </item>
  </channel>
</rss>

