‎2009 Jan 19 10:44 AM
Hi ,
I have table with reference:
like that in debugger :
para_name value_ref
IT_DETAI- >Structure: deep
LT_SE_VALUES ->Standard Table[21x4(712)]
IT_WOR_DETAIL1 ->Standard Table[2x56(2616)]
LT_RO_DETAILS ->Standard Table[4x3(112)]how i get the data inside .
Regards
‎2009 Jan 19 11:33 AM
Double click on the name of the table, or on the description, usually works. Classic or "new" debugger?
Edited by: Matt on Jan 19, 2009 12:34 PM
‎2009 Jan 19 11:31 AM
‎2009 Jan 19 11:33 AM
Double click on the name of the table, or on the description, usually works. Classic or "new" debugger?
Edited by: Matt on Jan 19, 2009 12:34 PM
‎2009 Jan 19 11:37 AM
HI Matt.
Thanks,
Yea i now that but what i want is to use this data (looping etc),
how i can do that?
Regards
‎2009 Jan 19 11:42 AM
Ah, OK.
So, you've got a variable IT_DETAI that has three components - each of which is an internal table.
DATA: ls_value LIKE LINE OF it_detai-lt_se_values.
...
LOOP AT it_detai-lt_se_values INTO ls_value.
...
ENDLOOP.matt
‎2009 Jan 19 12:26 PM
Hi Matt,
Thanks,
Sorry if i don't explain myself well.
I have table :
value_tab TYPE ettdc_refs_tabtype ,
Double click on it in the debugger i get table with 2 fields Var_name & paratab like below :
Var_name paratab
VAR5 Standard Table[6x3(76)]When i double click on standard table i get.
para_name value_ref
IT_DETAI- >Structure: deep
LT_SE_VALUES ->Standard Table[21x4(712)]
IT_WOR_DETAIL1 ->Standard Table[2x56(2616)]
LT_RO_DETAILS ->Standard Table[4x3(112)]I want to move all the value that in ,LT_SE_VALUES,IT_WOR_DETAIL1,LT_RO_DETAILS,
to regular internal table that i can work with ,
How i can do that?
Best Regards
‎2009 Jan 19 12:46 PM
Hi Michael,
try like below.
DATA table TYPE ettdc_refs_tabtype.
DATA line TYPE LINE OF ettdc_refs_tabtype.
DATA line2 TYPE etpar_ref.
FIELD-SYMBOLS : <tab1> TYPE ANY TABLE,
<tab2> TYPE ANY TABLE,
<tab3> TYPE ANY TABLE.
LOOP AT table INTO line.
LOOP AT line-paramtab INTO line2.
CASE line2-parname.
WHEN 'LT_SE_VALUES'.
ASSIGN line2-value_ref->* TO <tab1>.
WHEN 'IT_WOR_DETAIL1'.
ASSIGN line2-value_ref->* TO <tab2>.
WHEN 'LT_RO_DETAILS'.
ASSIGN line2-value_ref->* TO <tab3>.
ENDCASE.
ENDLOOP.
ENDLOOP.<tab1> <tab2> <tab3> are the three tables.
~Jose.
‎2009 Jan 19 12:50 PM
Answer removed - José's got it right.
Edited by: Matt on Jan 19, 2009 1:50 PM