09-19-2014 10:13 AM
Hello Experts,
How is it possible to update an filed symbol table of type Index table with other filed symbol table.
e.g.
Field symbol : <lt_table1> type Index table.
Field symbol : <lt_table2> type Index table.
after some code...at run time these table filled like following.
<lt_tabel1 > has value fore column like c11 , c12 , c13
<lt_table2> has value for column like C11 , C12 , C13 , C14 , C15 . some extra values from <lt_table1>
Now I want to be modify <table1> one entires like C12 with <table2 > col C12.
how I can achieve this.
Regards,
Chetan.
09-19-2014 10:35 AM
Hi,
did you try ASSIGN COMPONENT xx OF STRUCTURE <IT_TABEL1> TO <IT_TABLE2>.
?
xx will contain the number of the column
or maybe, if you have the description with a field catalog or other, that will be easier ..
regards
Fred
09-19-2014 10:44 AM
Hi ,
At run time only I know structure of table <IT_TABEL1>.
So not able to fill COMPONENT , in this case.
Regards,
Chetan.
09-19-2014 11:22 AM
why didn't you try for all of the fields of the structure to use the COMPONENT statement ?
you could catch the error ..
Fred