‎2008 Mar 24 5:40 AM
Hi all,
I have a grid with 4 columns.
1 st column is acc. no,2 and 3 column are amount , 4 th col is sum of 2 and 3. I will select a row, I just want to display graph according to the selected row (in alv grid) . It shows graph but it includes 4th col also, I want the graph without 4 th column...anyone knows it ????
regards
Jose
‎2008 Mar 27 6:16 AM
Hello,
U can use one more internal table which is not having this 4th column or else u can use field symbols for dynamicity.U are using the follwing func module na?
call function 'GRAPH_2D'
exporting
AUTO_CMD_1 = ' '
AUTO_CMD_2 = ' '
type = 'TD'
DISPLAY_TYPE = HB
INBUF = ' '
INFORM = ' '
MAIL_ALLOW = ' '
PWDID = ' '
SET_FOCUS = 'x'
SMFONT = ' '
SO_CONTENTS = ' '
SO_RECEIVER = ' '
SO_SEND = ' '
SO_TITLE = ' '
STAT = ' '
SUPER = ' '
TIMER = ' '
titl = 'Employee Performance Graph'
VALT = ' '
WDID = ' '
WINID = ' '
winpos = '8'
winszx = '100'
winszy = '50'
X_OPT = ' '
NOTIFY = ' '
IMPORTING
B_KEY =
B_TYP =
CUA_ID =
MOD_COL =
MOD_ROW =
MOD_VAL =
M_TYP =
RBUFF =
RWNID =
tables
data = it_graph
exceptions
gui_refuse_graphic = 1
others = 2
.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Neeraj
‎2008 Mar 27 6:20 AM