Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Specific Line Chart Graph

Former Member
0 Likes
585

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

3 REPLIES 3
Read only

Former Member
0 Likes
521

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.

Read only

kai_gutenkunst
Product and Topic Expert
Product and Topic Expert
0 Likes
521

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

Read only

Former Member
0 Likes
521

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