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

regarding scripts

Former Member
0 Likes
522

Hi....

goodevening....

if i transfer logo to sap-scripts using RSTXLDMC it shows some error that is

'base line not found'.what it exactly mean and how to rectify this error for uploading logo to sap script.

thanks and regards,

k.swaminath reddy

4 REPLIES 4
Read only

Former Member
0 Likes
488

Hi

See the steps correctly and do it again

To create a logo in SAP printouts just do the following

1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.

2. Run program RSTXLDMC and enter the following parameters

Enter file name C:\COMPLOGO.TIF

UOM CM

Line width for text 132

Text name ZHEX-MACRO-COMPLOGO

Text ID ST

Text language = E

Number of Tiff gray levels (2,4,9) 2

3. Then Create a new window 'COMP' with attributes;

Window COMP description Company Logo

Left margin 7.00 CH window width 10.00 CH

Upper margin LN window height 8.00 LN

Finally in the text element, mention

/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.

Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!

You will not be able to see the logo in a test print. The same will be printed in actual printout.

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
488

Hi!

You might using SE78 transaction for logo uploading.

Then use the following in your SAPScript:

/: BITMAP 'MyPicture' OBJECT GRAPHICS ID BMAP TYPE BMON DPI 600

Regards

Tamá

Read only

Former Member
0 Likes
488

3.2 Including Graphics

You can include graphics – such as diagrams or charts – in your SAPscript documents. Typically, such graphics are included in documents by way of forms.

Graphics are uploaded either in "Baseline TIFF 6.0" format (file extension.tif on PC files) or as printer macros. A printer macro in this case is the sequence of printer instructions needed to print out a diagram.

Graphics and printer macros are uploaded with program RSTXLDMC into individual standard text documents. At upload, the graphics or printer macros are converted to the format required by the target printer, either PostScript, PCL-5 for newer Hewlett-Packard and compatible printers, or PRESCRIBE for Kyocera printers. The resulting SAPscript document can be printed only on the target printer type. Online display is not possible.

In a form, you might include graphics such as a company logo in the header window. You can accommodate printing on different types of printers with separate includes for each format in which you have uploaded graphics. If you define the includes as text elements, then your print program can select the appropriate include depending upon the device type of the printer that the user selects. You can determine the device type by looking up the printer name in table TSP03 (field PADEST) and evaluating the device type (field PATYPE).

For more information, see the report documentation for RSTXLDMC.

Using graphics in forms can greatly increase the size of print requests and therefore seriously affect the performance of your printers. Graphics are not recommended for printing time-critical documents.

check below link for more info...

http://wiki.ittoolbox.com/index.php/Sap_script

Read only

Former Member
0 Likes
488

Hi,

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

Sudheer