Skip to Content
0
Former Member
Feb 17, 2009 at 01:51 PM

issue in submit program via background. data is not appearing in spool.

99 Views

hi all,

i am submitting a program in bachground. the output data needs to be written in the spool.

when i try using my ID i am getting desired result. when others execute it it is going to printer instead of spool as they have default printers assigned to them. i tried defaulting print parameters to a dummy printer. still the problem is not solved.

please advice. the code is as follows......

print_parameters-PDEST = 'oooo'.

SUBMIT /pbs/riaufk20

WITH strno IN r_tplnr

WITH auart IN r_auart

WITH datuv EQ '19000101'

WITH datub EQ '99990101'

WITH pbs_apar EQ '3'

WITH dy_ofn EQ 'X'

WITH dy_his EQ 'X'

WITH dy_iar EQ 'X'

WITH dy_mab EQ 'X'

WITH variant EQ '/ZPM_POM_ORD'

TO SAP-SPOOL SPOOL PARAMETERS print_parameters

WITHOUT SPOOL DYNPRO

VIA JOB v_jobname NUMBER v_number_l AND RETURN.