cancel
Showing results for 
Search instead for 
Did you mean: 

Graph in script or smartforms

Former Member
0 Kudos

Dear experts,

I want to display some graph in the sapscript or smartforms. But I am not getting any clue. Please can anybody suggest me what should I do??

Thanks a lot in advance..

Regards,

Sriniwas

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

SAP SCRIPT

To create a logo in SAP printouts just do the following

1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.

2. Run program RSTXLDMC and enter the following parameters

Enter file name C:\COMPLOGO.TIF

UOM CM

Line width for text 132

Text name ZHEX-MACRO-COMPLOGO

Text ID ST

Text language = E

Number of Tiff gray levels (2,4,9) 2

3. Then Create a new window 'COMP' with attributes;

Window COMP description Company Logo

Left margin 7.00 CH window width 10.00 CH

Upper margin LN window height 8.00 LN

Finally in the text element, mention

/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.

Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!

You will not be able to see the logo in a test print. The same will be printed in actual printout.

SMARTFORM

1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)

2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description

3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures

4) Select any picture and set its Resolution in DPI

5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo

6) Set any other parameters if required, save and activate.

7) If there is only 1 Window in the forms, set it as Main Window in general attributes.

😎 Use TCode SE78 to upload new pictures and logos.

See the Thread Dynamic Graph in smartforms

Reward points for useful Answers

Regards

Anji

raymond_giuseppi
Active Contributor
0 Kudos

Take a look at Thread

Regards

amit_khare
Active Contributor
0 Kudos

It can be used as an image but dynamic graphs I am not sure we can use them.

Check GRAL tcode for graph examples.

Refer the links also -

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

Hi Amit,

Thanks for the reply, but actually i need to disply individual custimers previous 12 months consumption in a graphical format on the bill. So it need to be very much dynamic only. I am thinking to create 12 different windows for 12 months and will grey it. But not sure will I be able to increase or dcrease the height of that window dynamically. can we set the height of the window from print program?

if it is possible, then I can do.

Reply...

Regards,

Sriniwas

amit_khare
Active Contributor
0 Kudos

No you will not able to alter the size of the windows dynamically.

This is a restriction with Script & Smartform to not to support Dynamic graphs but this can be overcome by using Adobe/ Interactive Forms.

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

ok.........