cancel
Showing results for 
Search instead for 
Did you mean: 

How can we save the attachement in PI application server

sahithi_moparthi
Contributor
0 Kudos

Hi Gurus,

    I have a scenario from SOAP- IDOC.The third party sending the data as an attachment,so in PI,the  attachment has to be saves in the PI application server and the payload has to be passed to the IDOC as-is.Could you please let me know how could we acheive this scenario??How can we save the attachment in PI application server.It would be very grateful if you share your thoughts/Suggestions.

Thanks in advance!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

U can read attachments in the message mapping (soap to idoc) and using a UDF write that file on NFS location.

http://scn.sap.com/people/yugapreetha.t/blog/2009/08/24/read-the-attachments-of-the-input-xi-message...

Thanks

Amit Srivastava

sahithi_moparthi
Contributor
0 Kudos

Hi Amit,

It will be very useful.Can you please share the UDF code.

Thanks in Advance!!

sahithi_moparthi
Contributor
0 Kudos

Hi ,

But the req has been changed.They want the attachmnet and payload both to be send to the IDOC.It is possible to do it in PI.

Former Member
0 Kudos

Hello,

That's quite quick

Using Idoc it's not possible, so instead of idoc use proxy and  within ur proxy code call idoc and handle/read attachment.

Thanks

Amit Srivastava