SHARE
TWEET

Untitled

a guest Aug 6th, 2016 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PARAMETER p_count TYPE i.
  2. DATA: gv_str1(255) VALUE '1',
  3.       gv_str2(255) VALUE '1',
  4.       gv_c(3).
  5. DO p_count TIMES.
  6.   gv_c = sy-index + 1.
  7.   CONDENSE gv_c.
  8.   IF sy-index MOD 2 = 1.
  9.     WRITE gv_str1 LEFT-JUSTIFIED.
  10.   ELSE.
  11.     WRITE gv_str2 LEFT-JUSTIFIED.
  12.   ENDIF.
  13.   CONCATENATE gv_str1 '-' gv_c INTO gv_str1.
  14.   CONCATENATE gv_c '-' gv_str2 INTO gv_str2.
  15. ENDDO.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top