‎2009 Mar 12 6:08 AM
I
I...................................................................................... ->> Upper Threshhold point
I
I ... ...... ^
I . ... ... Y - axis
I .. ....
I..
I....................................................................................... ->> Lower Threshhold point
I..............................................................................................
X- axis...........................>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Dear Experts,
I have a requiremnet to generate a specific Line Chart in SAP. User will execute one program which will provide a report. The report will be a simple ALV grid report where User needs a customized Graph button. On clicking the button the program should generate the sample graph provided above. Curently I am working in SAP 4.6C version. I know SAP has already provide few chart and diagram display functionalities which are present in ALV. But above Line Chart is not among those. How to acheive the above objective?
Regards,
Pulokesh
‎2009 Mar 12 10:30 AM
Have you tried the function module 'GRAPH_MATRIX_3D'.
Give a where use list of this function module and you will find many sample programs.This function module has many properties and many ways of displaying the report (like bar , pie chart and many more.) See if one of these suits your requirement.
Mathews.
‎2009 Mar 13 9:52 AM
Hi,
No, using such outdated components is the wrong way to start a new dev project!
Usually I recommend to use the chart engine instead (see also the SAP Chart Designer in the SDN download page). However, with 4.6c I fear you have no chance to benefit from the easy usage of the chart engine.
In this release see the GFW. Such threshold line are called value ranges. Run report GFW_DEMO_PRES1 to see an example.
Regards, Kai
‎2009 Mar 17 3:49 AM
Dear Mathews and Kai,
Thanks for the help extended by you all regarding the problem faced by me. I didn't adopt the ways as per explained by you, but I studied a lot and procedures to create custom graph as per said by you. I found a unique way to achive my target by manipulating the variable list data and calculating the constant value of Upper/ Lower Threshold level. In this way I used the same old ALV grid technique to obtain the graph. Thanks for your help.
Regards,
Pulokesh