메뉴 건너뛰기

SAP 한국 커뮤니티



ABAP으로 그래프 그리는 예제..

조바울 2007.05.10 22:15 조회 수 : 3931 추천:5

<PRE>*&---------------------------------------------------------------------*
*&  Program ID : ZKIM_0502_01                                          *
*&  Author     :                                                       *
*&  Written    :                                                       *
*&---------------------------------------------------------------------*
*&  사양개요   :                                                       *
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*
*&  처리방법 :                                                         *
*&   1.                                                                *
*&                                                                     *
*&   2.                                                                *
*&                                                                     *
*&   3.                                                                *
*&                                                                     *
*&---------------------------------------------------------------------*
*&  변경이력                                                           *
*&   1. 2005.01.01   S20050101-XXX  홍길동                             *
*&     - 최초 생성                                                     *
*&   2. 2006.01.01   S20060101-XXX  홍길동                             *
*&     -                                                               *
*&                                                                     *
*&---------------------------------------------------------------------*
REPORT  ZKIM_0502_01                  .
*/ 테이블 정의                                                         *

*/ 변수 정의                                                           *

DATA: BEGIN OF ITAB_DATA OCCURS 0,
           DATANAME(15),
           QUANTITY1 TYPE I,
           QUANTITY2 TYPE I,
           QUANTITY3 TYPE I,
           QUANTITY4 TYPE I,
      END OF ITAB_DATA,
      BEGIN OF ITAB_OPTIONS OCCURS 0,
           OPTION(20),
      END OF ITAB_OPTIONS.
ITAB_DATA-DATANAME = '판매량'.
ITAB_DATA-QUANTITY1 = 98.
ITAB_DATA-QUANTITY2 = 40.
ITAB_DATA-QUANTITY3 = 99.
ITAB_DATA-QUANTITY4 = 99.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = '재고량'.
ITAB_DATA-QUANTITY1 = 78.
ITAB_DATA-QUANTITY2 = 10.
ITAB_DATA-QUANTITY3 = 30.
ITAB_DATA-QUANTITY4 = 59.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = '불량품'.
ITAB_DATA-QUANTITY1 = 88.
ITAB_DATA-QUANTITY2 = 80.
ITAB_DATA-QUANTITY3 = 20.
ITAB_DATA-QUANTITY4 = 19.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = '금액'.
ITAB_DATA-QUANTITY1 = 74.
ITAB_DATA-QUANTITY2 = 32.
ITAB_DATA-QUANTITY3 = 20.
ITAB_DATA-QUANTITY4 = 19.
APPEND ITAB_DATA.


CALL FUNCTION 'GRAPH_MATRIX_3D'
     EXPORTING
          COL1        = '서울'
          COL2        = '대전'
          COL3        = '광주'
          COL4        = '울산'
          TITL        = '계열사별 1월 실적'
     TABLES
          DATA        = ITAB_DATA
          OPTS        = ITAB_OPTIONS
     EXCEPTIONS
          OTHERS      = 1.
</PRE>
번호 제목 글쓴이 날짜 조회 수
304 native sql file 박두환 2007.05.15 3818
303 native sql [2] file 박두환 2007.05.15 3792
302 INTERFACE (인터페이스) 에 대한 설명자료 [1] file sapjoy 2007.05.14 3785
301 Dialog Program(Module Pool) [8] file sapjoy 2007.05.11 3465
» ABAP으로 그래프 그리는 예제.. [1] file 조바울 2007.05.10 3931
299 ABAP에서 시스템변수 [7] file 조바울 2007.05.10 3627
298 Transferring Data with DB Connect [1] file sapjoy 2007.05.10 3660
297 wd 관련12 [5] file 우째 .. 2007.05.10 3515
296 wd 관련11 [5] file 우째 .. 2007.05.10 3620
295 wd 관련10 [4] file 우째 .. 2007.05.10 3371
294 wd 관련9 [4] file 우째 .. 2007.05.10 5960
293 wd 관련8 [4] file 우째 .. 2007.05.09 3451
292 wd 관련7 [4] file 우째 .. 2007.05.09 3188
291 wd 관련6 [5] file 우째 .. 2007.05.09 3533
290 sap단축키정리 [2] file yang 2007.05.09 13810
289 SAP관련 링크모음 [1] file yang 2007.05.09 6755
288 SAP RFID 기술(영문) file sapjoy 2007.05.09 3206
287 bdc를 이용해 메일 보내기 [4] file sapjoy 2007.05.09 3562
286 BDC 자료 [7] file sapjoy 2007.05.09 3559
285 wd관련5 [5] file 우째 .. 2007.05.08 4573