‎2013 May 24 11:09 AM
Friends can u help me out in smart form issues?
why the BG job has not triggered the printout immediately even in the Job print specifications are filled (Printer name and Print immediately check while scheduling the Job)
Seems Smartforms need some more parameters to be passed to enable the BG job printing (Not like ABAP list)
So Do we need to add the parameters (In the input screen)to enable the BG print ?
one more thing the user have used the device type HP9500: so wen i checked in SPAD tcode it was not highlighted with red color.
Does it mean that we should use only lp01?
Plz help me on this .first time working in smart forms.....seems t be urgent also.
regards
sona
‎2013 May 24 11:39 AM
Hi,
While calling smartform, paas control_parameters and output_options as mentioned below and set
user_settings = ' '.
It will send the smartform output to spool.
DATA: wa_output_options TYPE ssfcompop,
wa_ctrl TYPE ssfctrlop.
wa_output_options-tdimmed = 'X'.
wa_output_options-tddelete = 'X'.
wa_output_options-tdimmed = ' '.
wa_output_options-tddest = 'LOCL'.
wa_ctrl-no_dialog = 'X'.
CALL FUNCTION lv_fm_name
EXPORTING
control_parameters = wa_ctrl
output_options = wa_output_options user_settings = ' ' x_adrp = x_adrp
. IF sy-subrc <> 0.
ENDIF.
‎2013 May 24 11:39 AM
U have to give the configured device name only...
Regards,
Siva Prasad.
‎2013 May 24 11:40 AM
Hi,
the job specifications to print immediatly ... is only valid for report (WRITE, ALV...) not for forms like Smartforms & SAPScript
you have to manage this in the caller program of your smartforms or/and in the customizing transaction of the message : VV02, VV12, VV22, VV72 .....
so first, give us the Smartforms type (sales order, ...) the code of your caller program
regards
Fred