Images
can easily be integrated into SAP screens using GuiXT. Either fixed images, e.g. a company
logo in the logon screen, or data dependent images such as an identity
photo or a product image. GuiXT supports the images formats .gif, .jpg,
.png
and .bmp. Another useful possibility is to start PC applications
by clicking on the image itself. |
Box (0,0) (8,85) "Welcome to IAS - International Air Service"Image (0.6,1) (4.8,28) "ias.gif"
Box (0,0) (5,65) "Welcome"Image (0.6,1) (4.8,28) "logo.png" del G[Information] // G[MESSAGE_FRAME] pos F[Client] (1,32) pos F[Language] (2,32) pos F[User] (3,32) pos F[Password] (4,32) |
In the image command you specify the image file and the screen coordinates. The image files can be stored locally, on a file server, or on an http/ftp server. |
For data dependent images you put a variable into the image file name, a variable that stands for the object key (personnel number, material number): |
|
Box
(5,88)
(12,120)
"Productimages" Image (5.5,88) (12,120) "\\server\Product images\&F[Material].png" -noStretch -plain |
You can start PC applications by clicking on the image. For example, it makes sense to display the identity photo in full size. To achieve this, use the start= option: |
Image ... start="\\server\Product images\&F[Material].png" |
You can also display a .doc or PDF file containing
details about the person when the user clicks on the image: |