‎2010 Mar 31 11:09 PM
Dear Experts,
I am having the below requirement:
In ME23N, when we click on "print preview" button it shows a PDF document having the purchase order data.
We have designed a form in SFP. There is a driver program which calls this form to create a PDF document when we click "PRINT PREVIEW" button.
We have to capture this PDF and return it to JCO(Java Connector) through a ABAP RFC function module.
Kindly give pointers.
Thanks in Advance
‎2010 Apr 01 8:48 AM
Hello,
that is easy. In your driver program, please check the inputs of the job/ generator function modules.
You provide GETPDF = 'X' attribute what will make the FM not to print the form or display the preview but to return the binary stream of the PDF data (type FPCONTENT) what is a RAW or something. Next look for the PDF output parameter to get the returned binary data and send it as you wish through JCo.
Regards Otto
p.s.: Note there is Adobe forms forum under NetWeaver, you can find me and the others doing Adobe every day
‎2010 Apr 01 3:15 PM
Hi Otto,
I already have the PDF document as output from ME23n and I want to develop a function module which will return this PDF as output using ABAP. We are not using webdynpro abap/java.
‎2010 Apr 01 3:18 PM
I already have the PDF document as output from ME23n
Where do you have the form, how do you recieve it. What have you developed you far?
do you have a program that generates the form? with FP_JOB_OPEN and close? there you should find the structures´ attributes I mentioned above.
Otto