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: 

Code to display dots

Former Member
0 Kudos

Hi all,

Could you give me an idea to display the following output.

.

..

...

....

.....

Thanks and regards,

Anishur

4 REPLIES 4

Former Member
0 Kudos

Hi

Use some DO Loop or WHile Loopand do it

Regards

Anji

Former Member
0 Kudos

Hi,

Try this.

DATA: V_INDEX TYPE SYINDEX.

DO 5 times.

V_INDEX = SY-INDEX.

DO V_INDEX times.

WRITE: '.'.

ENDDO.

SKIP. " Go to the next line.

ENDDO.

Thanks

Naren

Former Member
0 Kudos

check this

parameters : no type i.

data : dot type i.

do no times.

write : /.

dot = sy-index.

do dot times.

write : '.'.

enddo.

enddo.

regards

shiba dutta

former_member208856
Active Contributor
0 Kudos

hi,

use this code :

data : a(10),

b(10).

a = '.'.

b = '.'.

do 5 times.

write / : a.

CONCATENATE a b into a.

enddo.

Reward points for all helpful answers.

Regards,

sandeep kaushik