2007 Apr 20 3:10 AM
Ive just started ABAP programing and Im on my assignment now.
What my assignment is I have to combine a few internal tables from RS_GET_ALL_INCLUDES and RS_GET_TABLE_REFERENCES into one Internal table.
I know the process but I have no idea how I can do it.
I am probably not able to use inner-join.
Can anyone give me any suggestions for this?
Thank you for your time and concern!
Christopher
Ive just started ABAP programing and Im on my assignment now.
What my assignment is I have to combine a few internal tables from RS_GET_ALL_INCLUDES and RS_GET_TABLE_REFERENCES into one Internal table.
I know the process but I have no idea how I can do it.
I am probably not able to use inner-join.
Can anyone give me any suggestions for this?
Thank you for your time and concern!
Christopher
2007 Apr 20 3:37 AM
You can use the append statement , you can't use any join on internal tables.
2007 Apr 20 4:03 AM
Hi,
If i'm not mistaken for your req, you want to get data from RS_GET_ALL_INCLUDES table but also in the RS_GET_TABLE_REFERENCES that have the same key... right ??
if like that you can used:
Loop at first itab.
read table second itab with key fielda = first-itab-fielda.
if sy-subrc is initial.
bla bla bla..
endif.
endloop.
or you can used:
Loop at first itab.
loop at seconditab where field a = firstitab-fielda.
endloop.
endloop.
Hope this meet your req.
Cheers.
Victor.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |