cancel
Showing results for 
Search instead for 
Did you mean: 

Including a tiff file in a form.

SantiMoreno
Participant
0 Kudos

Hi, Gurus.

I'm trying to integrate a 3rd-part software with SAP CRM and I've succedded the first part, that was putting a TIFF into the application server on background.

Next task is to print that TIFF file with an adding of several fields we have to find elsewhere. I've thought about creating a form and insert the tiff file in one main window and the fields at the bottom of it. So, the question is very simple: is it possible to include a tiff file on a form?

If 'u wish, any further ideas would be welcome (having in mind that all task must be carried out in background, no way to do them on-line).

Reward points granted if answers give any idea.

Best Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

1.Including the Tiff file in form is possible.That can be done By RSTXLDMC executable program.

2.You need to have a image in .tiff format and then need to execute the program RSTXLDMC and put the following in selection screen

File name: /tmp/gorilla.tif ( Name and location of file where its stored)

Type: BMON

Resolution for TIFF file: 150

Text title: TIFF 150 dpi gorilla

Text name: ZHEX-MACRO-* ( The text where you would like the image to be stored and this can be used in the script)

Text ID: ST

Text language: D

PostScript scaling: X

Once the text is generated it can be called in SAPSCRIPT or smart form like you call an ordinary text with same syntax.

I hope this helps.

Also see below 3 examples.

Following three examples will help you to use it for script

Example

Example 1:

The PCL-5 file A:\IMAGE.PCL is to be uploaded to the standard text ZHEX-IMAGE-PCL, ID ST, language D. The macro is to be output at the current text position, a left margin of 4 CM from the layout set window maintained, and the text continued 5 CM below the current text position. The parameters should then contain values as follows (the default values should be left in the parameters not listed below):

File name: A:\IMAGE.PCL

Type: PCL

Absolute positioning: ' ' (blank)

Reserved height: 5

Shift to right: 4

Unit of measurement for positioning: CM

Text name: ZHEX-IMAGE-*

Text ID: ST

Text language: D

PostScript scaling: ' ' (blank)

Example 2:

The PostScript EPS file A:\LOGO.EPS is to be uploaded to the standard text ZHEX-LOGO-POST, ID ST, language D. The macro is to be output at the X/Y-position 1 inch/1 inch. The EPS file is to be scaled to the size 3 x 3 inches. The parameters should then contain values as follows (the default values should be left in the parameters not listed below):

File name: A:\LOGO.EPS

Type: POST

Absolute X-position: 1

Absolute Y-position: 1

Absolute positioning: X

Unit of measurement for positioning: IN

Text name: ZHEX-LOGO-*

Text ID: ST

Text language: D

PostScript scaling: X

Width according to PS scaling: 3

Height according to PS scaling: 3

Unit of measurement for PS scaling: IN

Example 3:

An example of a TIFF import with type BMON is shown below. The parameters were assigned values as follows (the default values should be left in the parameters not listed below):

File name: /tmp/gorilla.tif

Type: BMON

Resolution for TIFF file: 150

Text title: TIFF 150 dpi gorilla

Text name: ZHEX-MACRO-*

Text ID: ST

Text language: D

PostScript scaling: X

3.For a guide look at

How to Upload graphics (IMAGE) to your Sapscript?

Regards,

Shiva

Former Member
0 Kudos

Hello,

Yes it is possible....

You must have your *.tiff file uploaded on the system.

You can do it with tcode SO10 or SE78.

on Your form you can include the drawing, It is different if you do it on sapScript Form or SmartForm.

With sapscript you have to include it with the following stm:

: INCLUDE ZYOUR-IMAGE OBJECT TEXT ID ST ---> it is uploaded with so10

With smartForms:

On the level tree...rigth click on CREATE->GRAPHIC....and select the drawing uploded on se78

I hope this helps!!1

bye

Gabriel P-