메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT ZSMARTFORMS_03.

sapjoy 2008.11.28 20:08 조회 수 : 3345

REPORT  ZSMARTFORMS_03.


DATA : GT_SFLIGHT LIKE SFLIGHT OCCURS 0 WITH HEADER LINE.
DATA: FORM_NAME TYPE RS38L_FNAM.


* SFLIGHT 테이블에서 데이터를 가지고 와서 GT_SFLIGHT에 담아둔다.
SELECT * INTO TABLE GT_SFLIGHT
  FROM SFLIGHT.


* ZSMARTFORMS_03의 함수명을 가지고 온다.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    FORMNAME           = 'ZSMARTFORMS_03'
  IMPORTING
    FM_NAME            = FORM_NAME
  EXCEPTIONS
    NO_FORM            = 1
    NO_FUNCTION_MODULE = 2
    OTHERS             = 3.


* ZSMARTFORMS_03의 함수를 호출한다.
*CALL FUNCTION '/1BCDWB/SF00000211'
CALL FUNCTION FORM_NAME
* EXPORTING
*   ARCHIVE_INDEX              =
*   ARCHIVE_INDEX_TAB          =
*   ARCHIVE_PARAMETERS         =
*   CONTROL_PARAMETERS         =
*   MAIL_APPL_OBJ              =
*   MAIL_RECIPIENT             =
*   MAIL_SENDER                =
*   OUTPUT_OPTIONS             =
*   USER_SETTINGS              = 'X'
* IMPORTING
*   DOCUMENT_OUTPUT_INFO       =
*   JOB_OUTPUT_INFO            =
*   JOB_OUTPUT_OPTIONS         =
TABLES
  GT_SFLIGHT                 = GT_SFLIGHT
* EXCEPTIONS
*   FORMATTING_ERROR           = 1
*   INTERNAL_ERROR             = 2
*   SEND_ERROR                 = 3
*   USER_CANCELED              = 4
*   OTHERS                     = 5
        .
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

번호 제목 글쓴이 날짜 조회 수
411 REPORT Z02_16. sapjoy 2012.07.31 1511
410 REPORT z02_15. sapjoy 2012.07.31 1621
409 REPORT z02_14. sapjoy 2012.07.31 1538
408 REPORT z02_13. sapjoy 2012.07.31 1690
407 REPORT z02_12. sapjoy 2012.07.31 1619
406 REPORT z02_11. sapjoy 2012.07.31 1717
405 REPORT z02_10. sapjoy 2012.07.31 1609
404 REPORT z02_09. sapjoy 2012.07.31 1586
403 REPORT z02_08. sapjoy 2012.07.31 1843
402 REPORT z02_07. sapjoy 2012.07.31 1786
401 REPORT z02_06. sapjoy 2012.07.31 1658
400 REPORT z02_05. sapjoy 2012.07.31 1863
399 REPORT z02_04. sapjoy 2012.07.31 1953
398 REPORT z02_03 sapjoy 2012.07.31 1805
397 REPORT z02_01. sapjoy 2012.07.31 1788
396 REPORT Z_WHEREUSEDLIST [4] sapjoy 2011.03.29 3215
395 Z_EXPORT_GRAPHIC_FROM_SE78 [1] sapjoy 2011.03.29 4447
» REPORT ZSMARTFORMS_03. sapjoy 2008.11.28 3345
393 REPORT zfalv_011. sapjoy 2011.02.16 3627
392 <b>easy abap 소스 전체 파일 입니다. [188] file sapjoy 2008.05.02 10149