SAP Tutorials Blog


 


DATA str_e TYPE string.

DO 15 TIMES.

  "Here, it is checked whether the sy-index value is not an even number

  CHECK NOT sy-index MOD 2 = 0.

  str_e = |{ str_e }{ COND #( WHEN str_e IS NOT INITIAL THEN `, ` ) }{ sy-index }|.

ENDDO.

"str_e: 1, 3, 5, 7, 9, 11, 13, 15


Serkan AKKAVAK

Computer Engineer BSc

SAP Department Manager

Contact : serkurumsal@yandex.com