I need to pass PDF output to the EP portal. Means I need to pass the full PDF output through a BAPI. Is it possible to send the output thru a BAPI to some other application. If yes how and give the coding samples and approach.
No it is not possible to send PDF formatted output from SAP to Portal. There is no BAPI avaliable. You can do like download the file to application server and ask Portal consultant to upload that file in his application component.