Application Development 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: 

hw to insert logo in sap script

Former Member
0 Kudos

plz anybody could tell me that hw to insert logo in sap script

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

or

In 4.6x :-

1. Goto SE71 Change the mode to GRAPHICAL

2. Choose the Graph Tabstrips

3. Now type in some name for the LOGO WINDOW

4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP

5. The code will be written automatically. You just need to drag and drop wherever you want

the graphics to be.

Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).

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

http://www.sap-img.com/sapscripts.htm

10 REPLIES 10

Former Member
0 Kudos

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

or

In 4.6x :-

1. Goto SE71 Change the mode to GRAPHICAL

2. Choose the Graph Tabstrips

3. Now type in some name for the LOGO WINDOW

4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP

5. The code will be written automatically. You just need to drag and drop wherever you want

the graphics to be.

Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).

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

http://www.sap-img.com/sapscripts.htm

Former Member
0 Kudos

1) upload ur log to SAP from PC via transaction SE78

2) go to Se71 and there go to form painter and on ur form right click and create graphics and give the name of image which u uploaded to sap via se78..

reward if helpfull

amit

Former Member
0 Kudos

Hi sam,

The steps for including graphical elements in the layout set are as follows

  • The graphical element (like company logo) should be in valid graphic file format like .bmp or .jpg

  • Use appropriate software to convert the above file into a .TIFF file

  • Use report RSTXLDMC to upload this file as a text module in SAP

  • Execute the above program from the ABAP /4 editor

  • Enter the location of the .TIFF file on the PC

  • Specify BMON or BCOL as the raster image type

  • The SAP system suggests a name for the file ( like ZHEX-MARCO-* ). The * indicates the type of file. For e.g. if the file contains a logo then the name can be ZHEX-MACRO-LOGO

  • The ID should be ‘ST’ and give the logon language

  • Running the program will convert this .TIFF file into a text element

  • Incorporate this converted logo in the appropriate window under the appropriate text element by giving

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

<b>In 4.6x :-

1. Goto SE71 Change the mode to GRAPHICAL

SAPScripts Insert Graphics

2. Choose the Graph Tabstrips

3. Now type in some name for the LOGO WINDOW

SAPScripts Include Graphic

4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP

SAPScripts Import Button

5. The code will be written automatically. You just need to drag and drop wherever you want

the graphics to be.

/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN

In 4.6c onwards, you can also used Windows Bitmap file ( .BMP). </b>

0 Kudos

I have tried following all of these steps using standard editing in SE71 as well as the graphical editor. I have used RSTXLDMC for converting a TIFF-6 file to BCOL and yet no matter what I am doing, I cannot got my logo to come out in color. It always converts to B/W. Can anyone help me with this problem?

Former Member
0 Kudos

Hi Sam,

Thanks

Vikranth khimavath

Former Member
0 Kudos

hi,

Check

Uploading LOGO in SAP

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

regards,

Santosh

Former Member
0 Kudos

Hi,

To upload the logo, use the program RSTXLDMC or SE78. by this one we can upload the logo from the System to SAP, then in the Script, in Line editor of that window write the code

/: INCLUDE <Logo Name> OBJECT TEXT ID ST LANGUAGE E

Or else, Insert --> Graphics and give the logo name

Regards

Sudheer

0 Kudos

Hi,

I have inserted a logo using "text id st", but other texts are displaced in the form. I have used "include ... object graphics...", but occurs this problem too.

I need a logo 2 x 1.5 cms. When I use a logo more small this does not display. I used the BMOD an BCOL but I did not have good results.

How can I solve this problem?

Thanks for your help.

Reagards MJG

Former Member
0 Kudos

hai,

After creating logo window, place the cursor on logo window and press Text editor. Then go to Insert--


>graphics
click on stored on document server and select color bitmap image
-----> press enter. select logo -


> U will get include -


> come back and check and activate.

Former Member
0 Kudos

Hi Chang.

I would like to suggest,

1. Go to SE78 - Administration of Form Graphics.

2. Import the file saved on PC by navigating to your working folder.

3. You can change its attributes.

4. Now. Go To SE71 - SAPscript form.

5. Open/Create a SAP script form.

6. Create a window for the Logo, Probably a Main window.

7. Go To Text Editor.

8. Go To Insert -


> Graphics -


> Stored on Document server (Section).

9. Enter the name or path. Continue.

10. The Code is inserted and LOGO is attached.

I would like to suggest a couple of references,

[SDN - Reference for Inserting LOGO in scripts|;

[SDN - Reference for LOGO in Scripts|;

Hope that's usefull.

Good Luck & Regards.

Harsh Dave