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

T Code for logo in SAP Script

Former Member
0 Likes
14,958

Hi,

What is the transaction code for logo uploading?

Thanks,

Mohit.

7 REPLIES 7
Read only

Former Member
0 Likes
8,802

Hi

see the steps for LOGO printing in scripts

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.

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
8,802

Hi

bmp and tiff are just two types of image formats. SAP Scripts support both of them. Resolution of tiff format is small but size is compact. BMP is heavy format.

check with the following link

http://www.sapmaterial.com/sap_script_made_easy.html

You have to follow following steps..

1) Go to se78 select Form graphics-> Stored on document server -> graphics -> bmap

2) Navigate to Menu::: Graphic -> Upload ( Or press F5)

3)Enter the path of the graphic u want to upload ( in bmp form)

4) Then go to se 71, create a form

5) create windows as applicable to u.

6) select any window and click edit then text elements

7) then navigate to menu insert-> graphic and specify the graphic you want to

upload.

Hope this helps

<b>if it helped, you can acknowledge the same by rewarding</b>

regards

dinesh

Read only

Former Member
0 Likes
8,802

hi

How do I print a logo/graphics in ALV?

http://www.sapfans.com/forums/viewtopic.php?t=81149

http://www.sapfans.com/forums/viewtopic.php?t=35498

http://www.sapfans.com/forums/viewtopic.php?t=5013

You have to follow following steps..

1) Go to se78 select Form graphics-> Stored on document server -> graphics -> bmap

2) Navigate to Menu::: Graphic -> Upload ( Or press F5)

3)Enter the path of the graphic u want to upload ( in bmp form)

4) Then go to se 71, create a form

5) create windows as applicable to u.

6) select any window and click edit then text elements

7) then navigate to menu insert-> graphic and specify the graphic you want to

upload.

Hope this helps

regards

ravish

<b>plz dont forget to reward points if useful</b>

Read only

Former Member
0 Likes
8,802

Hi ,

use the transaction

Se71

import ---> graphics

andgive the path for the logo name which is on your desktop

and give the sap name

save it

reward points if helpful

thanks & regards,

venkatesh

Read only

Former Member
0 Likes
8,802

How to Upload graphics (IMAGE) to your Sapscript?

Command in your Sapscript

/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E

These are the steps to be followed for uploading graphics in R/3 system

1. First save the file as BMP

2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and

make it Zoom as 100% and save as *.TIFF

3. Open SE38 and execute program RSTXLDMC

4. Give your TIFF file path name

5. Select Bcol (for Color)

6. TEXT ID will be ZHEX-MACRO-*.

7. Inplace of * write your own logo name (ZCOMPANYLOGO)

8. Execute the program

9. Now Goto SE71 create your ZFORM

10. Create logo window

11. Goto text element of logo window

Read only

Former Member
0 Likes
8,802

Hi

if your logo is of jpeg or bmp type file use tcode<b> se78</b> and double click bitmap images. then click the import icon and select the file from your pc which will upload the logo.

Save a Logo using Paintshop Pro or Corel Draw as Tiff file. Use RSTXLDMC to convert the logo to standard text in SapScript. When the program is executed, the path and file name have to be correctly specified.

Process could be like the following:

Run RSTXLDMC

Enter file name C:\MAIL\COMPLOGO.TIF

Resolution for Tiff file

Absolute X-position

Absolute Y-position

Absolute positioning

Reserved height

Shift to right

UOM = CM

Text title

Line width for text = 132

Text name ZHEX-MACRO-COMPLOGO

Text ID ST

Text language = E

Postscript scaling

Width & Height according to PS scaling

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

Then Create a new window 'COMP' with attributes;

Window COMP description Company Logo

Window type CONST

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.

If you are using two logos in the same layout, the names of the logos should be unique. Say 'ZHEX-MACRO-LOGO1' and 'ZHEX-MACRO-LOGO2'. Else all the information will be overwritten.

If the logo is not EXACTLY TIFF 6.0, the same will not be printed.

See OSS notes 5995, 18045, 39031 for some inputs.

Reward all helpfull answers

Regards

Pavan

Read only

Former Member
0 Likes
8,802

Hi,

These are the steps to be followed for uploading graphics in R/3 system

1. First save the file as BMP

2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and

make it Zoom as 100% and save as *.TIFF

3. Open SE38 and execute program RSTXLDMC

4. Give your TIFF file path name

5. Select Bcol (for Color)

6. TEXT ID will be ZHEX-MACRO-*.

7. Inplace of * write your own logo name (ZCOMPANYLOGO)

8. Execute the program

9. Now Goto SE71 create your ZFORM

10. Create logo window

11. Goto text element of logo window

For more information check the following link:

http://sap-img.com/ts001.htm

Regards,

Bhaskar