2008 Aug 26 6:33 PM
Hi Experts,
I have written MODIFY stmt in my code.
i have one internal table which is already having data. for specific field i want to fill up in that table.
so i got the data for that field from select single stmt..
ex:-
data: begin of itab occurs 0,
aubel type vbrk-aubel,
v_text(30),
end of itab.
loop at itab.
select single bstnk from vbak where vbeln = itab-aubel.
if sy-subrc = 0.
concatenate '/' bstnk into itab-v_text.
modify itab.
endif.
endloop.
when i am executing my program it is terminating the program.
can anybody help me.
Thanks & Regards,
venkat
2008 Aug 27 4:55 AM
Hi,
Try this.
Modify itab transporting v_text.
Use the above stmt for modifying.
Sharin.
Hi,
Try this.
Modify itab transporting v_text.
Use the above stmt for modifying.
Sharin.
2008 Aug 26 6:42 PM
Try:
MODIFY itab INDEX sy-tabix.
Also try not to do a select inside the loop. Pull all the data into a diff itab and then read the itab.
2008 Aug 27 4:55 AM
Hi,
Try this.
Modify itab transporting v_text.
Use the above stmt for modifying.
Sharin.
2008 Sep 09 1:08 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |