Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smart Forms - Preview mode

Former Member
0 Likes
757

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
723

hi

sorry

check this one JOB_OUTPUT_OPTIONS-TDPREVIEW ( this one is import option )

cheers,

sasi

5 REPLIES 5
Read only

Former Member
0 Likes
723

hi,

check this parameter

OUTPUT_OPTIONS-TDNOPREV

cheers,

sasi

Read only

0 Likes
723

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.

Read only

Former Member
0 Likes
724

hi

sorry

check this one JOB_OUTPUT_OPTIONS-TDPREVIEW ( this one is import option )

cheers,

sasi

Read only

Former Member
0 Likes
723

Yes, it worked.

But now I get a warning, that the field has no value. How do I get rid of this ?

Read only

0 Likes
723

hi,

which one one you are using?

OUTPUT_OPTIONS/JOB_OUTPUT_OPTIONS ... use job_output_options

cheers,

sasi