cancel
Showing results for 
Search instead for 
Did you mean: 

SPOOL not generated while smartform is executed in Background

jyotheswar_p2
Active Participant
0 Kudos

Hi

I have issue while creating spool for smartform in background.Its works fine in foreground and i m able to view the outpt.

But in background it should generate a spool but it is not generating?

I have given the ouput options to supress the dialog but it still it is not generating the spool.

control-preview = 'X'.

control-no_dialog = 'X'.

control-device = 'PRINTER'.

control-no_dialog = 'X'.

control-GETOTF = 'X'.

OUTPUT_OPTIONS-TDDEST = 'LP01'.

OUTPUT_OPTIONS-TDNOPRINT = 'X'.

Any suggestions??

Thanks & Regards

Jyo

Accepted Solutions (1)

Accepted Solutions (1)

birendra_chatterjee
Active Participant
0 Kudos

Hi Jyotheswar,

When the smartform is generated in background create a new spool by using following code

output_options-no_dialog = 'X'.

output_options-tdarmod = 1.

output_options-tdcopies = 001.

output_options-tddest = 'LP01'.

output_options-tdprinter = 'SWIN'.

output_options-tdlifetime = 1.

output_options-tdnewid = 'X'.

tdnewid is the field used to create a new spool request. You can get the new spool request number in job_output_info-spoolids.

Regards,

Birendra

jyotheswar_p2
Active Participant
0 Kudos

hi Binrendra,

thnx 4 the responce.

Yeah i tried with that but it is not creating any new spool?

Any other way.

Thanks & Regards

Jyo

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jyo,

For background processing, try by eliminating the statement:

control-preview = 'X'.

Regards,

Dawood

jyotheswar_p2
Active Participant
0 Kudos

Hey Dawood,

thnx for the repsonse.

Actually i am able to supress the popup but i want to generate a New Spool while it is run in background? This i am not able to acheive?

Any inputs?

Thanks & Regards

Jyotheswar.