cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform spool request not geting saved

Former Member
0 Kudos

Hi,

We have created a smartform for printing production orders.

The requirement is to have print preview displayed without any dialog box. From the print preview screen user can print the output.

Depending upon user selection, output should either be immediately printed ( timmed = 'X )

or sent to spool without printing . I understand this can be set by setting up parameter tdimmed in the ontrol structure to X or space.

Print preview is displayed properly but the probelm is when print is selected from the menu on preview screen ,the output is always printed immediately even if TDIMMED = '' in the control parameters passed to the smartform. Also, the spool request is immediately deleted after printing, even though TDDELETE is set to space.

How to prevent the spool from deleting and priting immediately ?

Thanks in advance!

Regards,

Vartika

Accepted Solutions (0)

Answers (4)

Answers (4)

aidan_black
Active Contributor
0 Kudos

Hi,

In addition to parameter OUTPUT_OPTIONS-TDIMMED=' ', the paramter USER_SETTINGS also must be empty.

regards,

Aidan

Former Member
0 Kudos

Hi Adian.

We are already passing user_settings as empty. I checked in debugging, when the print preview is set, somehow the form resets the value for immed and delete from user master data even though user setting is space.

/Vartika

former_member205763
Active Contributor
0 Kudos

can you show your code?

Former Member
0 Kudos

Hi Vartika,

Please check in SU01 Tcode for your user name. Go to tab defaults and uncheck the options Delete After Output and

Output Immediately.

Hope this may help you.If any issues please revert back.

Regards,

Karuna N

Former Member
0 Kudos

Hi friend,

I think the link below will help you to understand about the spool and will help you in solving the problem,

[Spool server|http://help.sap.com/saphelp_nwpi711/helpdata/en/d9/4a96b051ea11d189570000e829fbbd/content.htm].

I think this will help you solve your problem. If you face any issues after this please get back we will help you.

Thanks,

Sri Hari

Former Member
0 Kudos

Try to call that smartform in a report and then execute in background