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

LOGO UPLOAD in SAP SCRIPT

Former Member
0 Likes
594

Hi,

I have created a window for LOGO and written the following code in the line editor,

/: BITMAP SAMPLE OBJECT GRAPHICS ID BCOL LANGUAGE EN

and i have called the FM in the report program,

CALL FUNCTION 'WRITE_FORM'

EXPORTING

ELEMENT = 'SAMPLE'

  • FUNCTION = 'SET'

  • TYPE = 'BODY'

WINDOW = 'LOGO'

EXCEPTIONS

ELEMENT = 1.

But the logo is not being displayed. i have uploaded it using SE78.

thanks

Dinesh

1 ACCEPTED SOLUTION
Read only

sachin_soni
Active Participant
0 Likes
558

hey try this !

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

regards

sachin soni

4 REPLIES 4
Read only

sachin_soni
Active Participant
0 Likes
559

hey try this !

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

regards

sachin soni

Read only

Former Member
0 Likes
558

Hi

for logos you need not call the write_form using element. Just call the window that's enough.

First check whether you have uploaded it properly or not. Check the print preview in SE78. if that is coming properly then insert the logo into script using INSERT --> GRAPHICS in the window.

Check the printing test in the Utilities of the form. The logo will be displayed with out calling from Driver Program....

Read only

Former Member
0 Likes
558

hi..

no need to code write_form in the print program for the LOGO...

just create a window ... then goto the editor of that window .. goto menu bar --insert --> graphics ... a pop up screen will come ... here can select a any available LOGO with F4 functionlity....

reward points if it is useful.

Thanks,

Manjunath MS

Read only

0 Likes
558

Hi Manjunath,

Thanks... It worked

Thanks everyone

Regards

Dinesh