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

Hiding Printer Dialog

Former Member
0 Likes
674

Hi all,

I have desgined a letter in SAPSCRIPT and it's working fine .

I don't want to display the Printer dialog . if i execute the pgm , it should directly go to the spool .

How to set the default printer properties in the fn module OPEN_FORM .

Advance thanks

J

5 REPLIES 5
Read only

athavanraja
Active Contributor
0 Likes
641

in the open form set the dialog param to space.

if you dont use the parma, the system will set the default value which is 'X' meaning show dialog.

Regards

Raja

Message was edited by: Durairaj Athavan Raja

Read only

Former Member
0 Likes
641

Hi

You should set parameter DIALOG = SPACE: function OPEN_FORM won't open dialog

If you want the system get default print parameter of user, you do anything: but you have to be sure all user has defualt printer.

If you want to transfer print parameter you've just choosen, set parameter OPTIONS as structure ITCPO.

Max

Message was edited by: max bianchi

Read only

0 Likes
641

I want to decide the printer programmatically .

As am going to use this in ESS ,pgm has to decide the group in which the employee belong to .and whtevr print he triggers shd go to his gp head's printer .

Read only

0 Likes
641

Hi

I don't understand what group is for you, anyway the most data of user are in table USR01.

Max

Message was edited by: max bianchi

Read only

0 Likes
641

Max,

I meant organization structure (group).

For ex : Manufacturing assitants are not allowed to fire printouts to all printers .If they trigger print, it shd go to his/her corresponding Supervisors printer .

i hope u understood.