cancel
Showing results for 
Search instead for 
Did you mean: 

Upload logo in script

Former Member
0 Kudos

hi,

I want to upload logo in script.

I tried to import from t.code:se78 but it's showing the error

'Graphic /BEV2/ED_SFRET_DEBI_P2_BMON already exists.Overwrite?'

if i say Yes giving the error: 'File C:\Documents and Settings\anitha\SapWorkD has an invalid format'.

and i unable to find ?

Can u suggest me on this.

Thank you,

Anu.

<MOVED BY MODERATOR TO THE CORRECT FORUM>

Edited by: Alvaro Tejada Galindo on Dec 23, 2008 11:41 AM

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

If your file name + file path exceed 120 characters, you will also get error message 'File ....has an invalid format'

Former Member
0 Kudos

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

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 (third button from left) 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.

/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN

Former Member
0 Kudos

Hi,

Sorry while execting program it's giving the error 'Load File

c:\file.tif

Error when Loading File'

Can u give me how we can save BMP file?

Thanks you,

Anu.

Former Member
0 Kudos

Hello Anu,

Please refer to below link-

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

Or you can see below link thread on same Q & A-

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/sapscript-tiff-upload-error-376978

If you are intended to convert .tif to .bmp then you can do it using 'SAVE AS' in any one of the application like paint.

Thank you,

Nishikant.

former_member186052
Active Participant
0 Kudos

Hi Anu,

You can convert the JPG file to BMP file using SAVE AS option in MS Paint.

once you have the BMP file, go to SE78 transaction select BMP file and click on import option.

You can browse to your file and then give a Z name to it and save it, this wouldn't overwrite any of the existing standard logos.

Once this is saved, it would be available for you to use in your forms.

Hope this helps.

Regards,

Sandeep

Former Member
0 Kudos

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

Command in your Sapscript

/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E

thanks

Former Member
0 Kudos

Hi Anitha,

Did u check sdn?please refer the thread below:

Hope it helps.

Regards,

Rahul

former_member585060
Active Contributor
0 Kudos

Hi,

Convert the Image file to tiff format and use Program "RSTXLDMC"

Regards

Bala Krishna