cancel
Showing results for 
Search instead for 
Did you mean: 

Graphs in ABAP - possibilities ?

Former Member
0 Kudos

Hi Guys,

Printing the graph in ABAP is a possibility.BUt how about printing graphs in

1) Smartforms - how to print graphs in smartforms

2) Adobeforms ?

Any idea....please let me know.

Regards,

Sandip.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Go to the transaction DWDM and go for the option Workbench Demos and select the option Graphics library u get the Programs that displays the Graphs u can refer to that and write the code accordingly in ur program lines of ur smartform.

Regards,

Vijaya Lakshmi.T

Answers (1)

Answers (1)

Former Member
0 Kudos

Tcode SE78 will help You find Graphic logos or others in Your system.

To print You must open with change SmartForm that will print Your stuff.

Right click on Page then select Create then select Graphic.

In Graphic window must feel out :

In General Attribute tab

Name

Objects

ID

Black

Resolution 600 PSI (this must be stested)

In Output Options tab

Must define Position and Size.

I hope that help

jk

Former Member
0 Kudos

Hi ,

I was asking about graphs (bar charts and histograms), not graphics.

Regards,

Sandip.

Former Member
0 Kudos

Hi sandeep,

hv u found solution how to display graphs in smartforms.please help?

Former Member
0 Kudos

Yes, after a lot of R&D I found the way to print bar charts in a smartform.

The bar chart indeed looks great in the smartform.

Linear graphs are not possible in smartforms.

naimesh_patel
Active Contributor
0 Kudos

Would you mind sharing your R&D?

Thanks.

Naimesh Patel

Former Member
0 Kudos

here is how it should be done :

You create a window resembling the bar with some background colour.If you print the window, it will print like a bar with the colour that you have given.

Now, create a table with one cell whose position and width should overlap the created window.

Then according to the data you fill up the table (note that the contents of the cell will be space).

That way the widow will be reduced from the top and hence will represent a bar displaying data.

Silmilarly you can create other windows and their corresponding tables so at the end it looks like a bar-chart.It works well and I have done it.

First you try with one window and table.

Regards,

Sandip.

Former Member
0 Kudos

actually i want to display pie chart,bar chart according to data in smartforms.what u hv explained i did'nt understand.can u explain in detail?

Thanks,

sanjay

Former Member
0 Kudos

Sanjay,

Pie chart is not possible in smartforms.

What I have explained is the bar chart.

Try to create a window similar to the shape of a bar (vertical rectangle) with clour background.Then try to create a table that will over-lap the window from the top.