메뉴 건너뛰기

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.

번호 제목 글쓴이 날짜 조회 수
427 Five Different "User Types" D.Y.Kim 2007.07.20 4779
426 설명이 비교적 자세하고 원리를 알수 있는 효과적인 ABAP코딩 문서.doc [13] file 박영신 2007.07.26 4041
425 pop up message 보내고 싶을때 허접하지만 오다리 2007.07.30 4392
424 user-exit 찾기 [12] file 솔로몬 2007.07.31 6039
423 일/주/월/분기/년..연산가능 펑션~ [7] 초짜 2007.07.31 5206
422 인용부호를 변수에 저장하려면 [2] 푸른밤 2007.07.31 3847
421 트리 만들기 [6] 푸른밤 2007.07.31 5351
420 SQL 추적 사용하기 [1] 푸른밤 2007.07.31 3581
419 SAP Logo 바꾸기.. 애니메이션 로고.. [2] 푸른밤 2007.07.31 4004
418 ALV에 아이콘 넣는 방법 [1] 푸른밤 2007.07.31 7615
417 ALV에 아이콘 넣는 방법2 푸른밤 2007.07.31 10865
416 SY 모음 [4] 푸른밤 2007.07.31 4153
415 대문자 소문자 관련 신종철 2007.07.31 4157
414 new_abap_editor [3] file Lastforone 2007.07.31 3734
413 ICON으로 DISPLAY sapjoy 2007.08.06 4027
412 workingday 기준으로 N일 후 날짜구하는 펑션입니다. [4] 홍성현 2007.08.08 5024
» "GRAPH_HPGL" 수치데이터를 그래프로 표시해주는 펑션 [1] 홍성현 2007.08.08 3643
410 ABAP에서 .Net connector로 .Net Function호출 시 한글이 깨질 경우 홍성현 2007.08.08 4120
409 Useful SAP System Administration Transactions [2] 홍성현 2007.08.08 12752
408 유지보수 view 생성 후 Field selection 화면 나오게 하려면? [7] file 나침반친구 2007.08.08 7897