2005 Sep 29 10:47 AM
Hi,
how do I determine if the user selected "Print Preview" while processing a Smart Form. Is there a parameter ?
I checked CONTROL_PARAMETERS-PREVIEW, but it's empty.
2005 Sep 29 10:56 AM
hi
sorry
check this one JOB_OUTPUT_OPTIONS-TDPREVIEW ( this one is import option )
cheers,
sasi
2005 Sep 29 10:55 AM
2005 Sep 29 10:59 AM
data ioutput type SSFCRESOP.
CALL FUNCTION 'xxxx'
IMPORTING
JOB_OUTPUT_OPTIONS = ioutput
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
write ioutput-TDPREVIEW.
2005 Sep 29 10:56 AM
hi
sorry
check this one JOB_OUTPUT_OPTIONS-TDPREVIEW ( this one is import option )
cheers,
sasi
2005 Sep 29 11:13 AM
Yes, it worked.
But now I get a warning, that the field has no value. How do I get rid of this ?
2005 Sep 29 11:23 AM
hi,
which one one you are using?
OUTPUT_OPTIONS/JOB_OUTPUT_OPTIONS ... use job_output_options
cheers,
sasi