Skip to Content
avatar image
Former Member

Sending PO Attachment from SRM via PI(cXML) to Ariba

Hello ,

I am working on a requirement to send Attachments in PO Header from SAP SRM --> PI using cXML -->   ARIBA.

We are using Ariba Adapters in PI as per the Ariba Network Adapter guide to send PO create and change information and this is working fine.A new node under Payloads for attachments is visible in PI .

We are able to see the new PO and change PO documents in Ariba but not the attachment.

Ariba needs the document to be sent as either of the below;

1. URL of the document in the standard cXML tags as per Page 135 of the guide.

<Comments>

<Attachment>

<URL> “Attachment URL”</URL>

</Attachment>

</Comments>

2. Embedded in the Payload from PI.


We are pursuing the URL approach but the standard cXML has multiple <Comments> tag and the guide is not clear on a specific one to use.

 

A . Pls. help to identify the specific node in cXML that Ariba is looking for the URL of the attachment.


B. How to generate this URL ? Pls. help with examples of this URL .



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 21, 2015 at 08:15 AM

    Hi Harish,

    we are passing attachment url to the comment which comes under itemout.

    /cXML/Request/OrderRequest/ItemOut/Comments.

    we are storing the attachments in HTTP enabled location.

    URL will be something like this: http://host:port/sap/ebp/docserver/attachmentname?phioget&KpId=xxxxxxxxxxxxxxx&KpClass=xxxxx&sap-client=xxx/attachmentname

    Thanks&Regards,

    Akhila.A

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Akhila,

      Thank you for the reply.

      Can you pls. share the actual complete URL you had tried. You may mask the host and port no , but keep the rest for better understanding.

      Thanks again for the help.