2005 Jan 09 8:21 PM
Hi Abapers, how can i read a Deep Structure? i mean, read a field inside a table that i'ts inside another table.
[TABLE1 [TABLE2-FIELD] ] -> I need read the "Field" Value
2005 Jan 09 8:36 PM
Hi Carlos
Here is an approach I believe that can help:
LOOP AT <i><main_table></i> INTO <i><main_wa></i> .
LOOP AT <i><wa>-<inner_table></i> INTO <i><inner_wa></i> .
<i><var_1></i> = <i><inner_wa>-<field_to_be_read></i> .
...
ENDLOOP .
ENDLOOP .
<i>And as a last thing, let me introduce you the SDN forums pointing system: You can assign points to posts you find helpful while solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;
- one 10 points (solved)
- two 6 points (very helpful answer)
- many 2 points (helpful answer)</i>
Kind Regards...
*--Serdar
2005 Jan 09 8:36 PM
Hi Carlos
Here is an approach I believe that can help:
LOOP AT <i><main_table></i> INTO <i><main_wa></i> .
LOOP AT <i><wa>-<inner_table></i> INTO <i><inner_wa></i> .
<i><var_1></i> = <i><inner_wa>-<field_to_be_read></i> .
...
ENDLOOP .
ENDLOOP .
<i>And as a last thing, let me introduce you the SDN forums pointing system: You can assign points to posts you find helpful while solving your question. You can reward points by clicking the yellow star icon at header of each reply post. You can reward;
- one 10 points (solved)
- two 6 points (very helpful answer)
- many 2 points (helpful answer)</i>
Kind Regards...
*--Serdar
2005 Jan 09 9:24 PM
Ok, thanks for a perfect answer, until now i can modify the internal Field that i wanna reach, but i have a new problem, i need to modify that internal FIELD to another value, how i can update the changes to table?
2005 Jan 09 10:53 PM