class ZCL_EXCEL_GRAPH definition public create public . public section. *"* public components of class ZCL_EXCEL_GRAPH *"* do not include other source files here!!! types: BEGIN OF s_series, idx TYPE i, order TYPE i, invertIfNegative TYPE string, lbl TYPE string, ref TYPE string, sername TYPE string, END OF s_series . types: t_series TYPE STANDARD TABLE OF s_series . types: BEGIN OF s_pagemargins, b TYPE string, l TYPE string, r TYPE string, t TYPE string, header TYPE string, footer TYPE string, END OF s_pagemargins . data NS_1904VAL type STRING value '0'. "#EC NOTEXT . data NS_LANGVAL type STRING value 'it-IT'. "#EC NOTEXT . data NS_ROUNDEDCORNERSVAL type STRING value '0'. "#EC NOTEXT . data PAGEMARGINS type S_PAGEMARGINS . data NS_AUTOTITLEDELETEDVAL type STRING value '0'. "#EC NOTEXT . data NS_PLOTVISONLYVAL type STRING value '1'. "#EC NOTEXT . data NS_DISPBLANKSASVAL type STRING value 'gap'. "#EC NOTEXT . data NS_SHOWDLBLSOVERMAXVAL type STRING value '0'. "#EC NOTEXT . data SERIES type T_SERIES . methods CONSTRUCTOR . methods CREATE_SERIE importing !IP_IDX type I !IP_ORDER type I !IP_INVERTIFNEGATIVE type STRING optional !IP_LBL type STRING !IP_REF type STRING !IP_SERNAME type STRING . protected section. *"* protected components of class ZCL_EXCEL_GRAPH *"* do not include other source files here!!! private section. *"* private components of class ZCL_EXCEL_GRAPH *"* do not include other source files here!!! *"* use this source file for the definition and implementation of *"* local helper classes, interface definitions and type *"* declarations *"* use this source file for any type of declarations (class *"* definitions, interfaces or type declarations) you need for *"* components in the private section *"* use this source file for any macro definitions you need *"* in the implementation part of the class method CONSTRUCTOR. "Load default values me->pagemargins-b = '0.75'. me->pagemargins-l = '0.7'. me->pagemargins-r = '0.7'. me->pagemargins-t = '0.75'. me->pagemargins-header = '0.3'. me->pagemargins-footer = '0.3'. endmethod. METHOD create_serie. DATA ls_serie TYPE s_series. ls_serie-idx = ip_idx. ls_serie-order = ip_order. ls_serie-invertIfNegative = ip_invertIfNegative. ls_serie-lbl = ip_lbl. ls_serie-ref = ip_ref. ls_serie-sername = ip_sername. APPEND ls_serie TO me->series. SORT me->series BY order ASCENDING. ENDMETHOD.