Page 1 of 1

Payment Notice to PDF RKORD30

PostPosted: Tue Apr 21, 2015 7:27 am
by Lanta1964
Hello FI-Gurus,

My client is using the correspondence functionality to print Payment Notices from FI.

Now they want to have the system generate a PDF and store as an attachment (Services for object) to the transaction.
They are using ZRFKORD30 program and ZSAP09 document correspondence type for this.

However, there are some config missing in order to have the PDF generated and attached.
I have found some tips as to how to configure this scenario, but it is not taking me all the way.

Any ideas how to set this up ???


Thanks in advance.

Lars

Re: Payment Notice to PDF RKORD30

PostPosted: Tue Apr 21, 2015 8:17 am
by darkduck
Can you try the RFKORD30_PDF program?
http://scn.sap.com/thread/1667322

Re: Payment Notice to PDF RKORD30

PostPosted: Wed Apr 22, 2015 3:17 am
by Lanta1964
Hello darkduck,

Thank you for your reply.

I guess I could, but I am not sure that it will resolve my case. That is, to have the printout attached to the document and also stored on a document server.

In SD, I have setup the output types to print and archive, and that is using archivelink to automatically attach the pdf to the invoice document.

Since the correspondence functionality doesn't have the same config setup, I am looking for a solution here.
Maybe I can use the BTE (Business Transaction Event) to do this, and in this case, I am looking for some tips how to set it up.


regards

Lars

Re: Payment Notice to PDF RKORD30

PostPosted: Wed Apr 22, 2015 3:41 am
by darkduck
Is it a standard functionality in SD that attaches the document?
In either case, you can copy the SAP standard program and enhance it to attach the document via archivelink, can't you?

Re: Payment Notice to PDF RKORD30

PostPosted: Wed Apr 22, 2015 4:38 am
by Lanta1964
Hello darkduck,

Yes, in SD, it is standard functionality.
First you define a global document type in OAC2
then you assign VBRK to the global doc type in OAC3.
and then, when you define your billing output type, you set storage mode to 2(Archive only) or 3 (print and archive)
and also assign your global doctype and voila, there it is.

Now things are working differently in FI =) and I am trying to avoid coding.
But I guess I could do the same for FI, and then enhance the print program to fetch the archive parameters.

Regards,

Lars