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

Need help in graph

Former Member
0 Likes
595

Hi,

I am looking for a graph report which has x & y axis and a curve as monitor.

I could not find any relevant demo program and any pointer towards this would be really helpful.

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
538

Check out function '2D_GRAPH' or demo program 'GRBUSG_1'.

To make it a line graph set DISPLAY_TYPE to 'LN'.

Check function module documentation for full info.

EDIT: Appears this method is obsolete, refer below post.

Edited by: Brad Gorlicki on Dec 14, 2009 12:09 AM

3 REPLIES 3
Read only

Former Member
0 Likes
539

Check out function '2D_GRAPH' or demo program 'GRBUSG_1'.

To make it a line graph set DISPLAY_TYPE to 'LN'.

Check function module documentation for full info.

EDIT: Appears this method is obsolete, refer below post.

Edited by: Brad Gorlicki on Dec 14, 2009 12:09 AM

Read only

Sandra_Rossi
Active Contributor
0 Likes
538

You have several technologies. As IGS may not be installed, you may look at Chart Engine (look at the blog)

1) IGS

- [sap library - IGS|http://help.sap.com/saphelp_nw2004s/helpdata/en/17/86c039c7811f11e10000000a114084/frameset.htm]

- Demo program using cl_igs_chart_engine (IGS program) : GRAPHICS_IGS_CE_TEST

- It may be used in background, it sends back a gif file (cl_igs_chart_engine->get_image), then use cl_igs_image_converter if needed

2) Chart Engine (OCX)

- Demo program using cl_gui_chart_engine : GRAPHICS_GUI_CE_DEMO

- [SDN blog: Creating charts without using XML classes|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13313] [original link is broken] [original link is broken] [original link is broken];

3) Graphical Framework (not recommended)

- [sap library - list of "business graphics" demo programs|http://help.sap.com/saphelp_nw70/helpdata/EN/0c/5c55abd0a611d2963100a0c9308b1f/frameset.htm]

- [sap library - list of "hierarchy graphics" demo programs|http://help.sap.com/saphelp_nw70/helpdata/EN/c4/bef037ceb31c0be10000009b38f8cf/frameset.htm]

- [sap library - tutorial for gfw|http://help.sap.com/saphelp_nw70/helpdata/EN/17/b9677b48ba11d396a100a0c9308b1f/frameset.htm]

- report GFW_DCWIZARD

4) SAP Graphics (OBSOLETE - doc only on nw2004 / 6.40) :

- [sap library - SAP graphics|http://help.sap.com/saphelp_nw04/helpdata/en/39/cc9df7576911d1896f0000e829fbbd/frameset.htm]

- [sap library - example programs|http://help.sap.com/saphelp_nw04/helpdata/en/52/670c43439b11d1896f0000e8322d00/frameset.htm]

- [sap library - list of GRAPH* function modules|http://help.sap.com/saphelp_nw04/helpdata/en/52/67082e439b11d1896f0000e8322d00/frameset.htm]

Read only

Former Member
0 Likes
538

T.code GRAL for demo somany demo graphics report