Application Development and Automation 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: 
Read only

Random words

Former Member
0 Likes
444

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
Read only

Former Member
0 Likes
392

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
Read only

Former Member
0 Likes
393

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.

Read only

0 Likes
392

Works fine Simple but nice.