Skip to Content
0
Jan 19, 2012 at 05:08 PM

Select front end printed

48 Views

Hi experts

i wolud execute without dialog a sapscript.

So when i call the FM 'OPEN_FORM', with parameter i pass:

itcpo-tddest = 'LOC4'.

itcpo-tdimmed = 'X'.

itcpo-rqposname = name of front-end printer.

CALL FUNCTION 'OPEN_FORM'

EXPORTING

device = 'PRINTER'

dialog = 'X'

form = 'ZBOX_LABEL'

language = 'I'

OPTIONS = itcpo

IMPORTING

RESULT = itcpp

EXCEPTIONS

canceled = 1.

Also with the name of front end printer, the sistem in dialog box, set the default windows printer.

Anybody can tell me how i can set the value rqposname?

Thanks in advance

Marco