메뉴 건너뛰기

SAP 한국 커뮤니티

"GRAPH_HPGL" 수치데이터를 그래프로 표시해주는 펑션

홍성현 2007.08.08 10:21 조회 수 : 3643 추천:18



아래는 사용예입니다.


 


*&---------------------------------------------------------------------*
*& Report  Z_TEST_3D_GRAPHIC
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

report  z_test_3d_graphic.

databegin of itab_data occurs 0,
  dataname(15),
  quantity1 type i,
  quantity2 type i,
  quantity3 type i,
  end of itab_data,
  begin of itab_options occurs 0,
    option(20),
  end of itab_options.

itab_data-dataname = '1월'.
itab_data-quantity1 = 55.
itab_data-quantity2 = 62.
itab_data-quantity3 = 59.
append itab_data.

itab_data-dataname = '2월'.
itab_data-quantity1 = 35.
itab_data-quantity2 = 52.
itab_data-quantity3 = 44.
append itab_data.

itab_data-dataname = '3월'.
itab_data-quantity1 = 18.
itab_data-quantity2 = 22.
itab_data-quantity3 = 19.
append itab_data.

itab_data-dataname = '4월'.
itab_data-quantity1 = 21.
itab_data-quantity2 = 14.
itab_data-quantity3 = 60.
append itab_data.

itab_data-dataname = '5월'.
itab_data-quantity1 = 90.
itab_data-quantity2 = 45.
itab_data-quantity3 = 51.
append itab_data.

itab_data-dataname = '6월'.
itab_data-quantity1 = 14.
itab_data-quantity2 = 18.
itab_data-quantity3 = 1.
append itab_data.

call function 'GRAPH_MATRIX_3D'
  exporting
    col1   = '전기'
    col2   = '석유'
    col3   = '급수'
    titl   = '월별 사용량'
  tables
    data   = itab_data
    opts   = itab_options
  exceptions
    others = 1.

번호 제목 글쓴이 날짜 조회 수
107 ALV 활용해 보기 [4] file 박진만 2007.06.28 3727
106 <b>[완료]</b>NW04 설치시 에러 몇가지 해결법 [3] file Abap consultant 2009.03.13 3715
105 OPEN SQL 사용법인데, 내용이 정리가 잘 되어 있네요 [21] file 노름마치 2008.06.09 3712
104 F1 도움말 존닭 2014.12.11 3696
103 How to read same field from D.Base into two fields of ITAB [1] sapjoy 2006.12.12 3690
102 새로운 Print format 추가하기 [5] file 이명환 2007.10.18 3679
101 Overview transport requests for all systems and clients [3] file 노름마치 2009.11.05 3676
100 workflow - purchase order의 예 [2] file gauguin 2008.06.25 3675
99 사용자별 Upload & Download 기본값 [1] 홍성현 2007.08.09 3661
» "GRAPH_HPGL" 수치데이터를 그래프로 표시해주는 펑션 [1] 홍성현 2007.08.08 3643
97 How to search a string in programs [3] 김대영 2007.04.24 3614
96 widget을 이용한 Job monitor 데모 [1] 해처리 2007.10.24 3603
95 OPEN SQL 메모리 OVERLOAD 덤프시.. [1] sapjoy 2007.04.04 3603
94 Progress Bar 표기 로직 [1] 양키(이경환) 2014.02.13 3598
93 SQL 추적 사용하기 [1] 푸른밤 2007.07.31 3580
92 Defining and Implementing Business Add-ins (BADI) (Step-by-step with screenshots) [3] file 노름마치 2009.07.10 3543
91 Number_Range_사용법 [13] file xcomedy 2008.07.19 3539
90 SAP Tuning-실무 [11] file 대전희망 2008.06.20 3537
89 SAP Table Reference(원본 연관관계) [5] file 죽돌이 2009.01.28 3481
88 To display icons on the Selection Screen [5] file 노름마치 2009.07.10 3453