FORM END_OF_LIST.
DATA: LV_LINSZ LIKE SY-LINSZ,
LV_LEN TYPE I,
LV_POS TYPE I.
SKIP 1.
LV_LEN = SY-LINSZ / 5.
LV_POS = 1.
WRITE AT LV_POS TEXT-E01.
LV_POS = LV_LEN * 1
- ( CL_ABAP_LIST_UTILITIES=>DYNAMIC_OUTPUT_LENGTH( TEXT-E02 ) / 2 ).
WRITE AT LV_POS TEXT-E02.
LV_POS = LV_LEN * 2
- ( CL_ABAP_LIST_UTILITIES=>DYNAMIC_OUTPUT_LENGTH( TEXT-E03 ) / 2 ).
WRITE AT LV_POS TEXT-E03.
LV_POS = LV_LEN * 3
- ( CL_ABAP_LIST_UTILITIES=>DYNAMIC_OUTPUT_LENGTH( TEXT-E04 ) / 2 ).
WRITE AT LV_POS TEXT-E04.
LV_POS = LV_LEN * 4
- ( CL_ABAP_LIST_UTILITIES=>DYNAMIC_OUTPUT_LENGTH( TEXT-E05 ) / 2 ).
WRITE AT LV_POS TEXT-E05.
SKIP 4.
ENDFORM. "END_OF_LIST
沒有留言:
張貼留言