2020 Jun 19 6:56 AM
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
2020 Jun 19 7:38 AM
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
2020 Jun 19 7:38 AM
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
2020 Jun 19 8:06 AM
Thanks Dominik!! for your quick reply. Our functional saying we can not take pdf of the invoices with VF31
2020 Jun 19 9:59 AM
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
2020 Jun 19 8:05 AM