on 03-18-2008 12:57 AM
hi all,
i have delevoped the funcationality to create delivery and post the goods using webdynpro. when i run the transaction in r/3 vl02n for posting the delivery it is printing the delivery document using the default printer.
but when i try to run the same thing using webdynpro i am not getting the print out in my default printer.
i have checked the spool request in sp01. it is creating the spool but print the document using the default printer. I think it is not able to find out the default printer. can anybody tell me is there any setting in webdynpro to take set the default printer or is there any other thing that i am missing?
please do the needful.
points will be awarded.
thanks,
sohil.
Hi,
Are you using smartforms for that then u need to set the outputparameters while calling the function module generated for smartforms .
data : lv_output_options type ssfcompop ,
lv_control_parameters type ssfctrlop.
lv_control_parameters-no_dialog = 'X'. "No print dialog
lv_control_parameters-preview = space. "No preview
lv_control_parameters-device = 'PRINTER'.
Set relevant output options
lv_output_options-tdprinter = ls_default-spld.
lv_output_options-tddest = ls_default-spld.
lv_output_options-tdimmed = 'X'.
lv_output_options-tdnewid = 'X'. "Print parameters,
lv_output_options-tddelete = space.
then call the function module...
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi yashpal,
thank for the reply.
actually i am not calling the smartform. in this scenario when i create the delivery and post it through vl01n and vl02n. the delivery document is automatically getting printed using the standard smartform and it will identify the default printer also. so actually i am not calling any smartform here.
so i want to print the delivery document generated in system using the standard smartform only but it is not able to find out the output device as i am using the webdynpro for creating delivery and posting the same.
if u have any idea then please reply.
thanks,
sohil.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.