on 04-12-2010 1:12 PM
Hello,
we are using a customized sapscript and the standard SAP print program SAPFM06P to print out our purchase orders .
When doing the print out of ME22n, we can select the printer in logical destination field. But if we select LOCL, we can not select the actual windows printer, it will just take the default.
In know in other transaction, I am able to select the windows printer too when selecting LOCL.
Is there a way to do that with purchase orders as well?
Thanks
Anne
Hi,
In your print program you must be passing an script output parameter structure (SAPscript output interface). means check in OPEN_FORM fm, the parameter OPTIONS.
Pls try this,
data : s_itcpo type itcpo.
s_itcpo-TDDEST = 'LOCL'.
s_itcpo-tdimmed = 'X'.
s_itcpo-tddelete = 'X'.
s_itcpo-tdnewid = 'X'.
* Display one dialog for user. Then enable several SAP-Script to prt
call function 'OPEN_FORM'
exporting
device = 'PRINTER'
dialog = 'X'
language = sy-langu
options = s_itcpo ----- > +Printing parameter+
importing
language = sy-langu
exceptions
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
others = 6.
Pls let me know if anything is unclear.
Regrards,
Lokesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's the way LOCL works - it does not bring up the local printer selection dialog as you seem to want.
http://help.sap.com/SAPHELP_NW70/helpdata/EN/38/5bc3f2e4bd11d18e2b0000e83dd9fc/content.htm
"If users enter LOCL as the output device, their operating system default printer is used."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.