Application Development 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: 

Smart Forms - Preview mode

Former Member
0 Kudos
129

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

Former Member
0 Kudos
95

hi

sorry

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

cheers,

sasi

5 REPLIES 5

Former Member
0 Kudos
95

hi,

check this parameter

OUTPUT_OPTIONS-TDNOPREV

cheers,

sasi

0 Kudos
95

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.

Former Member
0 Kudos
96

hi

sorry

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

cheers,

sasi

Former Member
0 Kudos
95

Yes, it worked.

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

0 Kudos
95

hi,

which one one you are using?

OUTPUT_OPTIONS/JOB_OUTPUT_OPTIONS ... use job_output_options

cheers,

sasi