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

Picture in Sap Script

erick_ore
Explorer
0 Likes
961

Hi everybody,

I have a problem trying to print a picture. It's the company's logo. The problem is that we used to print a different picture but now we want to print this new one. Before printing we see the document in the preview mode and the picture appears, however when we print the document the picture doesn't appear. I would like to know how can I solve this.

Erick.

Hi everybody,

I have a problem trying to print a picture. It's the company's logo. The problem is that we used to print a different picture but now we want to print this new one. Before printing we see the document in the preview mode and the picture appears, however when we print the document the picture doesn't appear. I would like to know how can I solve this.

Erick.

4 REPLIES 4
Read only

Former Member
0 Likes
706

Hi there,

Is the logo located in SAP or not. Run SE78 and try to find the logo, if you can't find it, that's mean your company logo is not in the system, but in the special printer. If that printer doesn't have the logo you can't print it. Or try run SE71 and do a test print and see what you have. Hope this helps.

Weidong

Read only

former_member182371
Active Contributor
0 Likes
706

Hi Erick,

search for the post '

Replacing Initial Screen Logo by Html doc ?

' in the ABAP forum.

there you´ll find the answer.

Best Regards.

Read only

Former Member
0 Likes
706

Hi Eric,

You have uploaded the picture as .TIF in Sap using ABAP RSTXLDMC and have also add the statement

/: INCLUDE ZHEX-SAMPLE-PICTURE OBJECT TEXT ID ST LANGUAGE EN

in your SapScript but the problem is that in print preview it's not displaying the picture.

It is normal that the picture doesn't show in print preview and you will be able to see the object only after printing.

Don't let this bother you as long as the picture is shown on the hardcopy printout.

Also find the following step by step on how to upload picture/image to 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).

Hope this will help.

Regards,

Ferry Lianto

Read only

former_member182371
Active Contributor
0 Likes
706

Hi Erick,

forget about my former post. i mistook the question.

have you checkef that the new picture has the same MIME type as the former one?

Best regards.