2008 Apr 17 2:09 PM
Hi all,
I am fetching some data from a MARA table to internal table int_temp.
again i am fetching some more records from MARA...here i want to append these records to the same internal table int_temp.
how to do this...
SAchin
Add those fields what you want to append in ITAB decleration..and also in select query and in the loop.
Reward if it helpful.
Dara.
2008 Apr 17 2:12 PM
hi this can be done by the modify command..
check the different situations for the modify commands..
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/modify.htm
regards,
venkat.
2008 Apr 17 2:13 PM
Add those fields what you want to append in ITAB decleration..and also in select query and in the loop.
Reward if it helpful.
Dara.
2008 Apr 17 2:13 PM
Add those fields what you want to append in ITAB decleration..and also in select query and in the loop.
Reward if it helpful.
Dara.
2008 Apr 17 2:15 PM
Hi,
U can use append the work area or the header line to the internal table.
it will append the records into ur internal table.
2008 Apr 17 2:17 PM
2008 Apr 17 2:21 PM
hi,
you can take two interrnal tables of same structure
and use append lines statement
regards
prasanth
2008 Apr 17 2:25 PM
Hi,
Use like :
append lines of int_temp1 to int_temp2.
Pls reward points if useful.
Regards,
Renjith Michael.
2008 Apr 17 2:44 PM
trylike this,
SELECT * FROM mara
APPENDING CORRESPONDING FIELDS OF TABLE it_mara.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |