REPORT ZSMARTFORMS_07.
DATA : FORM_NAME TYPE RS38L_FNAM,
L_NAME(20) TYPE C,
L_ADDRESS(200) TYPE C,
L_PHONE(13) TYPE C,
L_TEL(13) TYPE C,
GT_SFLIGHT LIKE SFLIGHT OCCURS 0 WITH HEADER LINE.
L_NAME = '
L_ADDRESS = '서울시 OO구 OO동'.
L_PHONE = '010-1234-5678'.
L_TEL = '02-123-4567'.
* SFLIGHT 테이블에서 데이터를 가지고 와서 GT_SFLIGHT에 담아둔다.
SELECT * INTO TABLE GT_SFLIGHT
FROM SFLIGHT.
* ZSMARTFORMS_03의 함수명을 가지고 온다.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSMARTFORMS_06'
IMPORTING
FM_NAME = FORM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
* ZSMARTFORMS_06의 함수를 호출한다.
*CALL FUNCTION '/1BCDWB/SF00000215'
CALL FUNCTION FORM_NAME
EXPORTING
NAME = L_NAME
ADDRESS = L_ADDRESS
PHONE = L_PHONE
TEL = L_TEL
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
331 | REPORT zsapgos_002. | sapjoy | 2009.02.12 | 2458 |
330 | REPORT ZSAPGOS_001. | sapjoy | 2009.02.12 | 2477 |
329 | FUNCTION Z_BAPIALE_SEND. | sapjoy | 2009.02.10 | 2420 |
328 | REPORT zale_001 . | sapjoy | 2009.02.10 | 2471 |
327 | REPORT ZBAPI_002. | sapjoy | 2009.02.10 | 2590 |
326 | FUNCTION Z_BAPI_REQ_FUNCLOC. | sapjoy | 2009.02.05 | 2421 |
325 | REPORT ZBAPI_ALE | sapjoy | 2009.02.05 | 2334 |
324 | zbapi_java | sapjoy | 2009.02.02 | 2699 |
323 | FUNCTION Z_BAPI_ASSETNAME_SEARCH | sapjoy | 2009.01.31 | 2898 |
322 | REPORT z18_003 | sapjoy | 2007.03.06 | 3281 |
» | REPORT ZSMARTFORMS_07. | sapjoy | 2009.01.22 | 2389 |
320 | REPORT zBADI_FIND | sapjoy | 2009.01.16 | 2732 |
319 | REPORT ZBADI_003. | sapjoy | 2009.01.15 | 2403 |
318 | REPORT zbadi_002. | sapjoy | 2009.01.10 | 2545 |
317 | REPORT zbadi_001 | sapjoy | 2009.01.07 | 2527 |
316 | doi_excel.xls | sapjoy | 2008.12.26 | 2177 |
315 | report zsapdoi_005. | sapjoy | 2008.12.26 | 2978 |
314 | report zsapdoi_004. | sapjoy | 2008.12.26 | 2932 |
313 | report zsapdoi_003. | sapjoy | 2008.12.26 | 2570 |
312 | report zsapdoi_002. | sapjoy | 2008.12.26 | 4405 |