Application Development 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: 

Sending Spool pdf to external appliaction via PI sproxy

govind_parmar
Participant
0 Kudos

Hi Experts,

I have a requirement to :

1) Create Adobe from using sfp (customer correspondence)

2) Send created form to customer via email

3) And store the adobe form to Content Management system (a system where all correspondences are stored systemically for future reference) via SAP PI proxy call.

I have completed Part 1  and 2 i.e creating adobe from and sending to customers. But the challenge I am having is to send the pdf to  Content Management via PI proxy call.

Do we have any solution to retrieve the pdf from spool and send them as attachement in the PI proxy call.

Any pointer will be very valuable.

Many Thanks

Govind Parmar

5 REPLIES 5

Sandra_Rossi
Active Contributor
0 Kudos

I don't understand why you're talking of a spool, if you have already extracted/sent the PDF by mail !?

For 3) , where do you have an issue? Is it about creating the PI web service (then, you should post to the PI forum), or storing the Relationship between the Customer and the Adobe form (where do you want to store it by the way?), or sending the PDF to the CMS?

govind_parmar
Participant
0 Kudos

Hi Sandra,

The issue is not creating PI web service, the consuming web service is already created in PI and sproxy has been activated in ECC. The web service has a parameter where we need to attach the created pdf. I would like to know how we can pass the pdf to the web service.

Not sure if we can either take from the spool or directly when the form is created and pass it to PI proxy.

Thanks

Govind

0 Kudos

I still don't understand why you can't send the PDF "byte stream" to the PI web service in 3), as you have already sent it by mail in 2).

0 Kudos

when you say "byte stream" does it mean Exporting Parameter [/BDCWB/SM00000021 of Type  FPFORMOUTPUT] of the form generated Funtion module  ?

0 Kudos

"xstring" or "table of lines of x" if you prefer