2005 Jul 14 8:30 AM
Hello,
I want to lay a picture in the background of my sapscript form. This picture should be shown/hided if a condition is fullfilled in the ABAP-Programm.
1. One way is to include a tiff file as a text element, but I have problems generating a compatible baseline tiff-file format. Does anybody know a tool for generating compatible baseline tifffiles?
2. The second way is possibly hiding a graphic window dynamically. Does anybody know how this works?
3. Is there a way to print a graphic to a SAPScript-Form only with ABAP-Code?
Thanks for your help. Regards, Lars.
2005 Jul 14 8:39 AM
Hello,
1. Yes using ABODE Photo shop you will be able to convert in whichever format you require. from gif to tiff to anything with all resolution.
2. In the script define a new window in which you put the image. In your calling program specify the condition.
eg.
if condition
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'WINDOW'
EXCEPTIONS
element = 1
window = 2.
else.
do something else.
endif.
Hope this helps.
Regards,
Shekhar Kulkarni
Hello,
1. Yes using ABODE Photo shop you will be able to convert in whichever format you require. from gif to tiff to anything with all resolution.
2. In the script define a new window in which you put the image. In your calling program specify the condition.
eg.
if condition
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'WINDOW'
EXCEPTIONS
element = 1
window = 2.
else.
do something else.
endif.
Hope this helps.
Regards,
Shekhar Kulkarni
2005 Jul 14 8:39 AM
Hello,
1. Yes using ABODE Photo shop you will be able to convert in whichever format you require. from gif to tiff to anything with all resolution.
2. In the script define a new window in which you put the image. In your calling program specify the condition.
eg.
if condition
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'WINDOW'
EXCEPTIONS
element = 1
window = 2.
else.
do something else.
endif.
Hope this helps.
Regards,
Shekhar Kulkarni
2005 Jul 14 2:26 PM
Hello Shekhar Kulkarni,
thank you for your advice. Your code helped me a lot solving my problem. Regards, Lars.
2005 Jul 14 8:53 AM
1. Save the tiff file as uncompressed. Then you will not have problems.
2. I think you can use variable for the picture name in the INCLUDE or BITMAP command. Populate this variable in your IF condition accordingly.
2005 Jul 14 2:30 PM
Hello Vinod C,
thanks for the hint with the uncompressed tiff. This helped me a lot. Regards, Lars.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |