Skip to Content

SAP PI Ariba cXML to IDoc with attachments

Hi Experts,

I have an existing scenario from Ariba to ECC which I am supporting. The cXML received from Ariba contains pdf attachments which are stored on local SAP directory.

The client has recently come back to enhance the interface to store the cXML document on another server (within same landscape) in addition to the existing scenario (i.e. cXML to IDoc) that we have currently.

I need to know if I add another receiver on "receivers" tab of my ICO and use NFS protocol to write the cXML into a file, what will happen to the attachment? Will the pdf attachment cause any issues to the format of the cXML message I am writing to the file on the receiver end?

P.S.: I do not have Ariba connectivity in non-prod environments to test it out.

Regards,

Arkesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 29, 2017 at 12:37 PM
    I need to know if I add another receiver on "receivers" tab of my ICO and use NFS protocol to write the cXML into a file, what will happen to the attachment? 

    I believe the addition of receiver is right approach and should not affect the existing functionality as anyways you are going to determine receiver interface and operation mapping and channel in separate tab per receiver.

    Will the pdf attachment cause any issues to the format of the cXML message I am writing to the file on the receiver end?

    It should not as you might not change existing/create separate message mapping and operation mapping. You can skip mappings according to me.

    Below are the things you might need to do for implementing your change

    create additional inbound service interface for cXML message

    create receiver business component or use existing ECC business system only

    create receiver file communication channel.

    In the interface determination for additional receiver, just add the newly created interface.

    P.S.: I do not have Ariba connectivity in non-prod environments to test it out.

    You can test it temporarily by replacing ARIBA sender adapter with SOAP adapter and follow approach mentioned in below links for sender SOAP for testing

    https://blogs.sap.com/2012/12/26/handle-soap-with-attachment-in-sap-pi-731/

    Refer#2 for adding attachments in soapUI

    https://www.soapui.org/soap-and-wsdl/headers-and-attachments.html#2-Attachments-and-Inline-Files

    Thanks,

    Amit

    Add comment
    10|10000 characters needed characters exceeded