메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT Z05_026

sapjoy 2007.05.28 23:10 조회 수 : 2428

REPORT  Z05_026  .


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 / ''동적인 Subroutine 1''.'


             TO code.


APPEND 'ENDFORM.'


             TO code.


APPEND 'FORM DYN2.'


             TO code.


APPEND


'WRITe / ''동적인 Subroutine 2''.'


             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: / 'Subroutine POOL 생성에 실패하였습니다.'.


ELSE.


             WRITE: / 'Subroutine POOL 이름 : ', prog.


             SKIP 2.


             PERFORM dyn1 IN PROGRAM (prog).


             SKIP 2.


             PERFORM dyn2 IN PROGRAM (prog).


ENDIF.

번호 제목 글쓴이 날짜 조회 수
171 REPORT Z02_014 sapjoy 2008.04.15 2112
170 REPORT Z05_014 sapjoy 2008.04.15 3011
169 REPORT z05_028 sapjoy 2007.05.30 2276
» REPORT Z05_026 [2] sapjoy 2007.05.28 2428
167 REPORT Z05_012 [1] sapjoy 2008.04.15 2455
166 REPORT Z05_010 [1] sapjoy 2007.05.28 2122
165 REPORT Z05_009 [2] sapjoy 2007.05.28 2150
164 REPORT Z05_008 [2] sapjoy 2007.05.28 2612
163 REPORT Z05_007 [2] sapjoy 2007.05.27 2192
162 REPORT z05_005 sapjoy 2007.05.22 2160
161 REPORT Z05_004 sapjoy 2008.04.15 2227
160 REPORT Z04_033 [1] sapjoy 2008.04.15 2456
159 REPORT Z04_019 [2] sapjoy 2007.05.22 2476
158 REPORT Z04_018 sapjoy 2007.05.22 2110
157 REPORT Z04_017 sapjoy 2007.05.22 2233
156 REPORT Z04_015 sapjoy 2007.05.17 2111
155 REPORT Z04_012 [1] sapjoy 2007.05.17 2064
154 REPORT Z04_011 [1] sapjoy 2007.05.17 2249
153 REPORT Z04_010 sapjoy 2008.04.15 2153
152 REPORT z04_009 [1] sapjoy 2007.09.13 2202