메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT Z02_016

sapjoy 2007.02.27 23:59 조회 수 : 2294

REPORT  Z02_016                                                     .
DATA: CODE(72) OCCURS 10,
PROG(8), MSG(120), LIN(3), WRD(10), OFF(3).

APPEND 'PROGRAM SUBPOOL.'
        TO CODE.
APPEND 'FORM DYN1.'
        TO CODE.
APPEND
'WRITE / ''Hello, I am the temporary subroutine DYN1!''.'
        TO CODE.
APPEND 'ENDFORM.'
        TO CODE.
APPEND 'FORM DYN2.'
        TO CODE.
APPEND
'WRITe / ''Hello, I am the temporary subroutine DYN2!''.'
        TO CODE.
APPEND 'ENDFORM.'
        TO CODE.

GENERATE SUBROUTINE POOL CODE NAME PROG
MESSAGE MSG
LINE LIN
WORD WRD
OFFSET OFF.

IF SY-SUBRC <> 0.
WRITE: / 'Error during generation in line', LIN,
/ MSG,
/ 'Word:', WRD, 'at offset', OFF.
ELSE.
  WRITE: / 'The name of the subroutine pool is', PROG.
  SKIP 2.
PERFORM DYN1 IN PROGRAM (PROG).
  SKIP 2.
PERFORM DYN2 IN PROGRAM (PROG).
ENDIF.
번호 제목 글쓴이 날짜 조회 수
91 REPORT z19_003 sapjoy 2007.03.27 2473
90 REPORT z19_002 sapjoy 2007.03.24 2362
89 REPORT z19_001 sapjoy 2007.03.23 2552
88 REPORT z18_022 sapjoy 2007.03.17 2464
87 REPORT z18_019 sapjoy 2007.03.13 2473
86 REPORT z18_018 [4] sapjoy 2007.03.12 2463
85 REPORT z18_014 sapjoy 2007.03.10 2844
84 REPORT z18_013 [1] sapjoy 2007.03.09 2585
83 REPORT z18_012 [1] sapjoy 2007.03.09 2404
82 REPORT Z15_045 sapjoy 2007.03.09 2388
81 REPORT z18_011 [1] sapjoy 2007.03.08 2326
80 REPORT z18_008 sapjoy 2007.03.07 2359
79 REPORT z18_007 sapjoy 2007.03.07 2206
78 REPORT z18_006 sapjoy 2007.03.06 2423
77 REPORT z18_005 sapjoy 2007.03.06 2157
76 REPORT z18_004 [1] sapjoy 2007.03.06 2348
75 REPORT Z18_002 sapjoy 2007.03.06 3083
74 Z18_001_PBO sapjoy 2007.03.03 2585
73 REPORT Z18_001 sapjoy 2007.03.03 2774
» REPORT Z02_016 sapjoy 2007.02.27 2294