Skip to Content

SAP PI http to NFS scenario

Hello friends,

I am working on a SAP PI HTTP to NFS scenario.

Sender - TEST_HTTP_SENDER

Receiver - TEST_NSF_RECEIVER

Now the catch is "The sender portal will send HTTP post request to receiver WebService for uploading of attachments files. These files/File must be saved on receiver's Sharefolder path". Can someone Please help me with steps for the scenario. Also, is this scenario possible with multiple attachments as well?


Thank You for your Help in advance!

Regards,

Prerna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 28, 2018 at 06:48 AM

    Hi Prerna Sharma,

    • If its like, you need to host a PI-web-service which can be consumed by 3rd Party
    • and while triggering it, 3rd party can send attachments (single or multiple) with soap-request.
    • and in PI, on receipt of attachments, extracting it to some sap-app directory.

    Then for same,

    • in PI, configure a Soap-to-File (Synchronous) scenario.
    • In Request-MessageMap, use an UDF to extract attachment incoming payload
    • You can refer following blog for UDF help
    • https://blogs.sap.com/2017/10/07/sap-pi-udf-to-unzip-attachment/
    • In Response-MessageMap, you can just put confirmation of receipits of attachments.

    Thanks & Regards,

    Dilip

    Add comment
    10|10000 characters needed characters exceeded

  • May 28, 2018 at 07:02 AM

    Hello Dilip,

    Thank you for your detailed answer!

    One more clarification required - Sender only uses HTTP, still the scenario is same? I do understand that SOAP uses HTTP as a transport Protocol.

    Regards,

    Prerna

    Add comment
    10|10000 characters needed characters exceeded