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: 

Print Jpeg files from SAP

niranjan_yerraguntla
Participant
0 Kudos

Hi,

We have JPEG files (pictures) stored in Custom Z table (Cluster table). We would like to know how to print these files from SAP on to a certain printer.

We know that it is not possible to convert JPEG to BMP within SAP and print using SAPScript OR SmartForms.

We want to find out if there is any print command to print these files to SAP printer ?

Any help is appreciated.

Niranjan

4 REPLIES 4

Former Member
0 Kudos

Hi,

You convert jpeg to .tif format.

You have to upload 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.

Regards,

Bhaskar

niranjan_yerraguntla
Participant
0 Kudos

Hi Bhaskar,

I think you did not understand my question properly.

Thanks for the reply. I know about tiff or bmp. We have about 4000 jpeg files that get uploaded every month into SAP. We cannot manually save them into Tiff or Bmp and save them again. Is there a way just to print JPEG files from SAP ?

Niranjan

Former Member
0 Kudos

hi

Check this Tx 0FPM002

Regards

Gregory

niranjan_yerraguntla
Participant
0 Kudos

Hi Gregory,

I had checked this tcode earlier. However, I don't see any 'Print' jpeg or any other file functionality here. What SAP might be doing here is, allow upload of any document like excel, word or pic files (jpeg, gihf, bmp) and so on and just display.

I am interested in printing functionality without usng SAP Script OR Smartforms, because, when we get into it, we have to talk only TIF or BMP as JPGs are not supported.

Niranjan