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: 

Call transaction vf03 to print Invoice

0 Kudos
938

HI Experts,

I have a BDC program written long back to print multiple invoices using call transaction method and it runs successfully all the time for those output types visible on "issue output type" screen max 12.

now, we had a situation that we have 15 output types for some invoices and it got failed because while recording page-down is recorded. I have tried to put BDC_OKCODE ='=P+' after max row_mark but its not working.. if someone have idea on this please must share..

Regards,

Dinesh

1 ACCEPTED SOLUTION

DominikTylczyn
Active Contributor
531

Hello dinesh.15jan

Why are you doing that the hard way??

SAP provides standard transaction VF31 to mass output invoices. It'll process output types with dispatch time = 3 "Send with application own transaction".

Or you can use RSNAST00 program to mass process outputs with dispatch time 1 "Send with periodically scheduled job" or 2 "Send with job, with additional time specification".

There is really no need to write BDCs to call VF03 ans struggle with paging!

Best regards

Dominik Tylczynski

4 REPLIES 4

DominikTylczyn
Active Contributor
532

Hello dinesh.15jan

Why are you doing that the hard way??

SAP provides standard transaction VF31 to mass output invoices. It'll process output types with dispatch time = 3 "Send with application own transaction".

Or you can use RSNAST00 program to mass process outputs with dispatch time 1 "Send with periodically scheduled job" or 2 "Send with job, with additional time specification".

There is really no need to write BDCs to call VF03 ans struggle with paging!

Best regards

Dominik Tylczynski

531

Thanks Dominik!! for your quick reply. Our functional saying we can not take pdf of the invoices with VF31

0 Kudos
531

Hello dinesh.15jan

Why don't describe your requirements in more details? I don't think you really need to save pdf manually. SAP can send them to your customers automatically. At the same time output can be archived for future reference. It's all standard. My gut feeling is that your output management is flawed, therefore you need to save and process pdf manually and are having problems.

Cheers

Dominik Tylczynski

Abinathsiva
Active Contributor
0 Kudos
531

Hi In Standard VF31 itself you can achieve this