2008 Aug 29 10:11 PM
Hi there,
I am new to ABAP program. Please help me with the following codes. Thanks a lot.
___________________________________
I define a variable lt_whereused as below:
data: lt_whereused type scr_refs.
where, scr_refs is a structure, which type is "Line Type: scr_ref".
And scr_ref is also a structure, which has a component named as "name".
_____________________________________
How I can print the content of the "name"?
Thanks a lot,
Bing
2008 Aug 29 10:22 PM
Seems to me that scr_refs is not a structure but a table type with line type scr_ref.
So loop at your internal table"
data: lw_whereused type scr_ref.
loop at lt_whereused into lw_whereused.
write:/1 lw_whereused-name.
endloop.
Hi there,
I am new to ABAP program. Please help me with the following codes. Thanks a lot.
___________________________________
I define a variable lt_whereused as below:
data: lt_whereused type scr_refs.
where, scr_refs is a structure, which type is "Line Type: scr_ref".
And scr_ref is also a structure, which has a component named as "name".
_____________________________________
How I can print the content of the "name"?
Thanks a lot,
Bing
2008 Aug 29 10:22 PM
Seems to me that scr_refs is not a structure but a table type with line type scr_ref.
So loop at your internal table"
data: lw_whereused type scr_ref.
loop at lt_whereused into lw_whereused.
write:/1 lw_whereused-name.
endloop.
2008 Aug 29 11:16 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |