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

Call transaction vf03 to print Invoice

0 Likes
2,565

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
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
2,158

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
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
2,159

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

Read only

2,158

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

Read only

0 Likes
2,158

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

Read only

Abinathsiva
Active Contributor
0 Likes
2,158

Hi In Standard VF31 itself you can achieve this