<?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 RTTS, RTTI and RTTC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629277#M1571110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a SAP BI consultant and require help from you people. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a internal table, it is filled in run time by the users. The user can enter any number of data elements.&lt;/P&gt;&lt;P&gt;Now i need to create a structure, with components and the type of the componenets must be the data elements entered by the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : &lt;/P&gt;&lt;P&gt;User enters some data elements (A,B,C). "They can enter any number of data elements, not just 3. &lt;/P&gt;&lt;P&gt;These data elements are stored in an internal table "int" by me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i require a structure / type. &lt;/P&gt;&lt;P&gt;type begin of xx,&lt;/P&gt;&lt;P&gt;component 1 type A.&lt;/P&gt;&lt;P&gt;component 2 type B.&lt;/P&gt;&lt;P&gt;component 3 type C.&lt;/P&gt;&lt;P&gt;endof xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge is, i do not know how many data elements that user might enter. &lt;/P&gt;&lt;P&gt;I could know only at run time. I have to calculate the number of lines of internal table "int" and decide the total number of data elements. Then i need to create a dynamic type / structure at run time, which contain the same number of components. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the structure i need to create a dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that from my previous posts that we could use RTTS, RTTI and RTTI. &lt;/P&gt;&lt;P&gt;All of the examples are shown only for the table "SPFLI". in my case there is no standard DDIC type maintained at SE11.&lt;/P&gt;&lt;P&gt;We have to create at runtime and then generate an internal table for it. My case its more complicated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshminarasimhan.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2011 09:22:26 GMT</pubDate>
    <dc:creator>lakshminarasimhan_n4</dc:creator>
    <dc:date>2011-03-07T09:22:26Z</dc:date>
    <item>
      <title>RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629277#M1571110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a SAP BI consultant and require help from you people. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a internal table, it is filled in run time by the users. The user can enter any number of data elements.&lt;/P&gt;&lt;P&gt;Now i need to create a structure, with components and the type of the componenets must be the data elements entered by the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : &lt;/P&gt;&lt;P&gt;User enters some data elements (A,B,C). "They can enter any number of data elements, not just 3. &lt;/P&gt;&lt;P&gt;These data elements are stored in an internal table "int" by me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i require a structure / type. &lt;/P&gt;&lt;P&gt;type begin of xx,&lt;/P&gt;&lt;P&gt;component 1 type A.&lt;/P&gt;&lt;P&gt;component 2 type B.&lt;/P&gt;&lt;P&gt;component 3 type C.&lt;/P&gt;&lt;P&gt;endof xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge is, i do not know how many data elements that user might enter. &lt;/P&gt;&lt;P&gt;I could know only at run time. I have to calculate the number of lines of internal table "int" and decide the total number of data elements. Then i need to create a dynamic type / structure at run time, which contain the same number of components. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the structure i need to create a dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that from my previous posts that we could use RTTS, RTTI and RTTI. &lt;/P&gt;&lt;P&gt;All of the examples are shown only for the table "SPFLI". in my case there is no standard DDIC type maintained at SE11.&lt;/P&gt;&lt;P&gt;We have to create at runtime and then generate an internal table for it. My case its more complicated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshminarasimhan.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 09:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629277#M1571110</guid>
      <dc:creator>lakshminarasimhan_n4</dc:creator>
      <dc:date>2011-03-07T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629278#M1571111</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;It seems to be quite straight forward. I couldn't understand what complication you are facing to acheive this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT int.
  gwa_fieldcatalog-fieldname = int-field_name.
  gwa_fieldcatalog-intlen    = int-length.
  gwa_fieldcatalog-datatype  = int-type.
  APPEND gwa_fieldcatalog TO gt_fieldcatalog.
ENDLOOP.

*Create dynamic table
CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table
  EXPORTING
    it_fieldcatalog = gt_fieldcatalog
  IMPORTING
    ep_table        = gref_table.

ASSIGN gref_table-&amp;gt;* TO &amp;lt;gt_itab&amp;gt;. " &amp;lt;GT_ITAB&amp;gt; is your Internal Table

* Create work Area
CREATE DATA gref_wa LIKE LINE OF &amp;lt;gt_itab&amp;gt;.

ASSIGN gref_wa-&amp;gt;* TO &amp;lt;gwa_itab&amp;gt;.   " &amp;lt;GWA_ITAB&amp;gt; is your work area&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 12:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629278#M1571111</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2011-03-07T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629279#M1571112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the user provides &lt;EM&gt;data element&lt;/EM&gt; names then you can refer them directly as you would be refering any other DDIC object&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS pa_datel TYPE c LENGTH 40.

DATA gr_elem TYPE REF TO cl_abap_elemdescr.

gr_elem ?= cl_abap_typedescr=&amp;gt;describe_by_name( pa_datel ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then you do the same for every single data element. All these descriptors (RTTI results) have to be appended to special table ?(of type &lt;EM&gt;cl_abap_structdescr=&amp;gt;component_table&lt;/EM&gt; ), which you eventually use to generate structure from its components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have basic types instead of DDIC ones, you need to create each component using &lt;EM&gt;GET_...&lt;/EM&gt; method of &lt;EM&gt;cl_abap_elemedescr&lt;/EM&gt; . Then you repeat the process collecting all components' descriptions in the table -&amp;gt; then generate structure same as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I described the process in detail in [Do you really know everything about typing? - part 2|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20887] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&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>Mon, 07 Mar 2011 13:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629279#M1571112</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2011-03-07T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629280#M1571113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets call your internal data elements as it_data_elements and &lt;/P&gt;&lt;P&gt;work area is wa_data_element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: l_elem_descr  type ref to cl_abap_elemdescr,
          l_table_descr type ref to cl_abap_tabledescr,
         l_struct_descr type ref to cl_abap_structdescr.

data: dref type ref to data.
    
Loop at it_data_elements into wa_data_element.
concatenate 'COMP' sy-tabix into l_name.

l_elem_descr ?= cl_abap_elemdescr=&amp;gt;describe_by_name( wa_data_element ).
l_comp-type = l_elem_descr .
l_comp-name = l_name.
append l_comp to lt_comp.

endloop.

" Now you should create the structure descr from lt_comp.
l_struct_descr  = cl_abap_structdescr=&amp;gt;create( lt_comp ).

"Now you should create table descr from struct descr.
l_table_descr = cl_abap_tabledescr=&amp;gt;create(
                  p_line_type  = l_struct_descr 
                  p_table_kind = cl_abap_tabledescr=&amp;gt;tablekind_std
                  p_unique     = abap_false ).

For accessing and filling up the data.

You have to create a data reference variable for the same

create data dref type handle l_table_descr.
assign dref-&amp;gt;* &amp;lt;ft_table&amp;gt;.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arshad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 13:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629280#M1571113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-07T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629281#M1571114</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;Thanks for your reply. &lt;/P&gt;&lt;P&gt;In the code given above, the elements l_comp-type and  lt_comp are not declared. &lt;/P&gt;&lt;P&gt;To the best of m undersatnding, are they of type,&lt;/P&gt;&lt;P&gt;      l_comp TYPE cl_abap_structdescr=&amp;gt;component,&lt;/P&gt;&lt;P&gt;      lt_comp TYPE cl_abap_structdescr=&amp;gt;component_table. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 14:45:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629281#M1571114</guid>
      <dc:creator>lakshminarasimhan_n4</dc:creator>
      <dc:date>2011-03-07T14:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629282#M1571115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 14:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629282#M1571115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-07T14:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629283#M1571116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arshad Ansary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. You have helped me in creating the dynamic structure "l_struct_descr" and a dynamic internal table "l_table_descr" from that structure. Now i have captured their references in two field symbols,&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;wa&amp;gt; TYPE ANY, &amp;lt;itab&amp;gt; TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt; ASSIGN dref-&amp;gt;* TO &amp;lt;wa&amp;gt;. " Structure &lt;/P&gt;&lt;P&gt; ASSIGN dref-&amp;gt;* TO &amp;lt;itab&amp;gt;. " internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have a internal table with values and i need to supply those values to the field symbol &amp;lt;wa&amp;gt;, then i need to insert the &amp;lt;wa&amp;gt; into the table &amp;lt;itab&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex: my internal table "etk_row" contains all values,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at etk_row inro wa_etk_row.&lt;/P&gt;&lt;P&gt; assign component 3 of structure etk_wa to &amp;lt;wa&amp;gt;-/BIC/OIZFECOMTYP. &lt;/P&gt;&lt;P&gt; insert &amp;lt;wa&amp;gt; into &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the above code gives me error,&lt;/P&gt;&lt;P&gt;"The data object &amp;lt;wa&amp;gt; has no structure and therefore no component called /BIC/OIZFECOMTYP. "".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my debugger i can see  &amp;lt;wa&amp;gt; is a field symbol and it is a structure type of Flat Structure(12). it contains components &lt;/P&gt;&lt;P&gt;/BIC/OIZFECOMTYP&lt;/P&gt;&lt;P&gt;/BIC/OIZFESUBCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to assign the data of my internal table to the field symbol &amp;lt;wa&amp;gt; which is a structure type and has two components &lt;/P&gt;&lt;P&gt;/BIC/OIZFECOMTYP&lt;/P&gt;&lt;P&gt;/BIC/OIZFESUBCT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshminarasimhan.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 07:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629283#M1571116</guid>
      <dc:creator>lakshminarasimhan_n4</dc:creator>
      <dc:date>2011-03-08T07:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629284#M1571117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The anwser is simple. How the system will know that your field symbols are of your structure type? You have defined them as of type &lt;STRONG&gt;ANY&lt;/STRONG&gt; and &lt;STRONG&gt;STANDARD TABLE&lt;/STRONG&gt; . So the system doesn't statically know the structure, but dynamically he does. Therefore you need to address these components dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
field-symbols: &amp;lt;comp_src&amp;gt; type any,
                        &amp;lt;comp_trg&amp;gt; type any.

loop at etk_row inro wa_etk_row.
"source component
   assign component 3 of structure wa_etk_row to &amp;lt;comp_src&amp;gt;. 
"target component (addressed dynamically)
   assign component '/BIC/OIZFECOMTYP' of structure &amp;lt;wa&amp;gt; to &amp;lt;comp_trg&amp;gt;.    
   &amp;lt;comp_trg&amp;gt; = &amp;lt;comp_src&amp;gt;.
   insert &amp;lt;wa&amp;gt; into &amp;lt;itab&amp;gt;.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 09:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629284#M1571117</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2011-03-08T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629285#M1571118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In continuation to above logic you can also use move corresponding if the field name is same. Move corresponding also works for the run time objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 12:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629285#M1571118</guid>
      <dc:creator>styrolution_accenture</dc:creator>
      <dc:date>2011-03-08T12:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629286#M1571119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; In continuation to above logic you can also use move corresponding if the field name is same. Move corresponding also works for the run time objects.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can! But definitely not a fool-proof solution &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 12:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629286#M1571119</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-03-08T12:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629287#M1571120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any harm in the move corresponding statement rather in assign statement i feel it would be hardcoded like component name BIC/OIZFECOMTYP or number as '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 assign component 3 of structure wa_etk_row to &amp;lt;comp_src&amp;gt;. 
"target component (addressed dynamically)
   assign component '/BIC/OIZFECOMTYP' of structure &amp;lt;wa&amp;gt; to &amp;lt;comp_trg&amp;gt;.    
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 12:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629287#M1571120</guid>
      <dc:creator>styrolution_accenture</dc:creator>
      <dc:date>2011-03-08T12:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: RTTS, RTTI and RTTC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629288#M1571121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot...The problem has been solved. &lt;/P&gt;&lt;P&gt;I was able to create dynamic structure and dynamic internal table and then assign all data to the internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 06:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rtts-rtti-and-rttc/m-p/7629288#M1571121</guid>
      <dc:creator>lakshminarasimhan_n4</dc:creator>
      <dc:date>2011-03-09T06:25:55Z</dc:date>
    </item>
  </channel>
</rss>

