Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Random words

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

0 Kudos

Works fine Simple but nice.