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: 

ME9F Multiple PO Printing

Former Member
0 Kudos

Hello Friends,

Have a requirement to take multiple purchase orders printouts from ME9F transaction. If we run ME9F transaction it will give us the list of all the PO's. From here we will select the Purchase order/s, and click on Output Message button. This will give us the print dialog pop-up. Now the problem is if a user selects 50 Purchase orders then he has to click on print button 50 times that along with writing 50 times printer name!!!

Need a solution for this as to how can we take 50 printouts by clicking once on print button

1 ACCEPTED SOLUTION

Former Member

Issue resolved. Flag Concept and the number of line items allowed me to display only once print pop-up, thereby allowing me control the 1st and last form. The below link was very helpful. All thanks to SAP Library.

http://help.sap.com/saphelp_470/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/content.htm

14 REPLIES 14

rajesh_akarte2
Active Participant
0 Kudos

Hi Varun,

To avoid the pop up you should maintain the below setting for output device.

For the given output type goto the Acess Method tab and

i. Select Host Spool Access Method  as F

ii. Host Printer as _Default

iii. Tick the checkbox No devise selection at frontend.

You can create the separate output devise for bachground printing.

Regards,

Rajesh Akarte

0 Kudos

Thanks Rajesh for your suggestion. But if I do this then it will get affected for other transactions i.e., it won't ask for print dialog in ME23N, or VA01, etc.

Regards,

Varun Kumar Sahu

0 Kudos

You can ask the ABAPER to change the driver program and put a check on T-Code Level.

If the T-Code is ME9F he can fill the default printer in the TDPARAM parameter and call with NO-Dialog option.

I hope it helps

BR

0 Kudos

Hello Mr. Shah,

Thanks for your input.

I'm the ABAPer in search of this solution . Until now no output has been achieved.

0 Kudos

You are right Varun, that is why I mentioned to create a separate output devise for bachground printing.

This ouput devise will be maintained in the POs which needs to be printed via mass prinitng.

Regards,

Rajesh Akarte

Former Member

Issue resolved. Flag Concept and the number of line items allowed me to display only once print pop-up, thereby allowing me control the 1st and last form. The below link was very helpful. All thanks to SAP Library.

http://help.sap.com/saphelp_470/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/content.htm

0 Kudos

Hi,

Did you test the single PO print scenario after implementing your logic?

Regards,

Syed

0 Kudos

Hello Syed,

Solution has been achieved.

Thanks & Cheers,

Varun

Former Member
0 Kudos

Hi Varun,

Can you please share the code or some steps or screenshot for future reference.

Thanks in advance

Purnand

0 Kudos

Hi Purnand,

Can't share the code as privacy issue is concerned. I found the solution at SCN site also. You can refer this link, its the same as I have written.

http://scn.sap.com/community/abap/blog/2013/04/22/to-print-multiple-smartform-in-a-loop-at-one-go-an...

0 Kudos

Hi Varun,

This is what I wanted.

Thanks

Purnand

0 Kudos

Hi Varun,

I appreciate your reply. Can you please tell me where did you write the code? Is it in RM06ENDR_ALV? If yes, where?

Thanks in advance

Purnand

0 Kudos

No Purnand, I have created a custom smartform which is being called by the routine that is maintained via NACE setting.

0 Kudos

Hey Varun,

Thanks. It will help me somewhere in future. Take care.

Regards

Purnand