04-11-2007 12:33 PM
Good Morning,
I need to show one image in a sapscript form. The image will be shown depending on values from EKKO-EKGRP.
I need to know the steps i need to perform in order to show the image in my sapscript form.
I also need to know if i can show the image in diagonal.
Best Regards,
Pedro Gaspar
04-11-2007 12:43 PM
Hi,
upload the images in .tif or .bmp format and then create a window in which ur image will be displayed.
Now depending on the value of EKKO-EKGRP, show that image in the window.
now go to window-> textcode-> insert graphics and mention ur image.
Regards,
Sonika
Message was edited by:
Sonika Ahuja
04-11-2007 12:43 PM
Hi,
I got some idea for that. But am not sure about that. Basically this type of logic is used in Java. Put the images field to the internal table and store the values in that images field corresponding to EKGRP. While calling the image object in layout place this field in that.
Thanks
Ravi
04-11-2007 12:43 PM
Hi,
upload the images in .tif or .bmp format and then create a window in which ur image will be displayed.
Now depending on the value of EKKO-EKGRP, show that image in the window.
now go to window-> textcode-> insert graphics and mention ur image.
Regards,
Sonika
Message was edited by:
Sonika Ahuja
04-11-2007 12:46 PM
Hi,
First you need to upload that Image to SAP, you can so this by using RSTXLDMC or SE78 transaction code. then in the SE71, In the LOGO winodw, press the Line editor button there then to include the logo INSERT --> GRAPHCS, then select the name of your logo
/: IF &EKKO-EKGRP& EQ '123'.
/: INCLUDE '123 text' " You need to insert the logo here using INSERT --> GRAPHCS
/: ELSEIF &EKKO-EKGRP& EQ '234'.
/: INCLUDE '234 text' . " You need to insert the logo here using INSERT --> GRAPHCS
ENDIF.
Regards
Sudheer
04-11-2007 1:00 PM
First of all, thank you for your answers, i'm going to try your sugestions and i'll give you feedback (translated in points... ).
I also have another question... Is it possible to use this BMP like a watermark?
Can i write text over this image?
Regards,
Pedro Gaspar
04-11-2007 12:58 PM
/: IF &EKKO-EKGRP& EQ '123'.
/: INCLUDE ZHEX-LOGO OBJECT TEXT ID ST LANGUAGE EN.
/: ELSEIF &EKKO-EKGRP& EQ '234'.
/: INCLUDE ZHEX-LOGO OBJECT TEXT ID ST LANGUAGE EN.
/: ENDIF.