Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sap script

Former Member
0 Likes
222

Hi all,

In the sap script program i need to set the printer properties, like

1. Choose the printer which the user has been using.

2. Print immediately checkBox to be checked.

Please send your suggestions,

Rajesh.

1 REPLY 1
Read only

former_member186741
Active Contributor
0 Likes
201

check out the 'options' parameter of open_form, eg

CALL FUNCTION 'OPEN_FORM'

EXPORTING

FORM = I_fonam

options = l_itcpo

EXCEPTIONS

CANCELED = 1

DEVICE = 2

FORM = 3

OPTIONS = 4

UNCLOSED = 5

MAIL_OPTIONS = 6

ARCHIVE_ERROR = 7

OTHERS = 8.