How to Print TIF image in SAP Script?

To print image, you have to import a tif file from your local hardisk via the SAP abap program RSTXLDMC.
In the sap script, add in the following script.

: / INCLUDE ZLOGO OBJECT TEXT ID ST LANGUAGE EN.

or

Tested in 4.6x

Go to transaction SE78.

Follow the path given below (on the left windows box) :-

SAPSCRIPT GRAPHICS --> STORED ON DOCUMENT SERVER --> GRAPHICS --> BMAP

Enter the name of the graphics file on the right side and Go to the menu GRAPHIC --> IMPORT.

More Function Module
Functions / SAP Script / ALV

Tables
Database Table

ABAP Books List
ABAP/4 Certification, Programming, Smartforms, Sapscripts and Object Oriented Programming Books

Smart Forms
SAP Smartforms

ABAP Menu:
ABAP Example Hints and Tips

Return to Index:-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.