‎2005 Aug 31 7:25 AM
Hi all,
I want to insert my company logo in SAP SCRIPT.
Am newbie to SAPSCript .
I am facing prob's in the foll areas.
1)While running the pgm 'RSTXLDMC' and give the path of my TIF File ,the foll error is thrown...
"Load File
c:\dsf.tif
The file contains 22,380 bytes
This is not a TIFF file byte order <> 11 /MM
Only TIFF files can be uploaded for type BCOL"
I tried to chage the extension of my logo from tif to tiff,but that ext type is not supported in my system.
Wht is the problem
2) If uploaded successfully,Where this files will get stored .I mean in which table ?
3) Can we insert this in my std text i.e) SO10 trans
Valuable pts will be awarded.
Advance thanks,
J
‎2005 Aug 31 7:28 AM
Hi,
How to Upload graphics (IMAGE) to your 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).
http://www.sap-img.com/ts001.htm
http://www.sap-img.com/sapscripts.htm
Refer the above links.
Hope this helps.
‎2005 Aug 31 7:28 AM
Hi,
How to Upload graphics (IMAGE) to your 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).
http://www.sap-img.com/ts001.htm
http://www.sap-img.com/sapscripts.htm
Refer the above links.
Hope this helps.
‎2005 Aug 31 7:32 AM
Hi,
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.
Refer this link,
http://www.henrikfrank.dk/abapexamples/SapScript/using_graphics.htm
Hope it helps u.
Thanks&Regards,
Ruthra.R
Message was edited by: Ruthra
‎2005 Aug 31 7:36 AM
Hi,
You can insert the logo as a graphic ( Tr.code SE78 ).
Svetlin