03-05-2010 7:16 AM
Hey guys,
for test issues I want to insert a few data records in my database with random words. I think there is no FB.
The best would be if the words would make any sense but I think this might be very difficult.
Is there any way?
Thx a lot
03-05-2010 7:31 AM
You could try this:
DATA:
lv_cnt(3) TYPE n,
lv_text(30) TYPE c.
DO 20 TIMES.
lv_cnt = sy-index.
CONCATENATE 'test' lv_cnt INTO lv_text
SEPARATED BY space.
* build rest of DB-Record and insert here
ENDDO.
03-05-2010 7:31 AM
You could try this:
DATA:
lv_cnt(3) TYPE n,
lv_text(30) TYPE c.
DO 20 TIMES.
lv_cnt = sy-index.
CONCATENATE 'test' lv_cnt INTO lv_text
SEPARATED BY space.
* build rest of DB-Record and insert here
ENDDO.
03-05-2010 7:46 AM