Application Development 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: 

When mass printing , the print button has to be hit for each job

Former Member
0 Kudos

Hi,

When mass printing through COHV transaction the dialog box to enter the printer name is triggered for each job/order.

How can we overcome this?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

you can create a CATT / BDC program to do this repetitive task. you can find may forums/blog on SDN on how to use BDC to do this.

Regards,

Nirmal

11 REPLIES 11

Former Member
0 Kudos

hi,

you can create a CATT / BDC program to do this repetitive task. you can find may forums/blog on SDN on how to use BDC to do this.

Regards,

Nirmal

0 Kudos

I thought there must be some setting to do this. I dont think a BDC is required. Are there any other alternatives?

Former Member
0 Kudos

hi ,

use the FM GET_PRINT_PARAMETERS . you can hide the print button from this FM.

regards,

rama reddy

0 Kudos

i can change the print parameters in the print program itself in that case right?

i just want to know which all parameters to set to prevent the dialogbox from appearing each time.

0 Kudos

no-dialog = 'X'.

regards,

Rama reddy

0 Kudos

thanks Ram. I guessed so.

So when i loop through jobs i have to see if its the first job if not i should suppress the dialog. But which parameter gives the total number of jobs ?

0 Kudos

Hi,

you can take variable with COUNT.

you can use the this count in job loop like count = count + 1.

later you will come know number of job run through this count variable.

regards,

Rama

0 Kudos

thank s lot Ram. I will try this and check.

0 Kudos

The problem is that its looping through the records one by one. and the Line count is always one. So im not able to bring all the jobs into one spool. Should some setting be done to achieve this?

0 Kudos

Hi,

When the print program is triggered its triggered for each record separately and not the entire set as a whole. How do i overcome this?

Former Member
0 Kudos

closed