cancel
Showing results for 
Search instead for 
Did you mean: 

SRM XML PO Output

Former Member
0 Kudos

Hi Guys,

We have XML output enabled on our vendors in SRM 5 and the purchase orders and attachments are outputting perfectly to XI/PI. An issue we noticed is that the SAP-XML PO coming out does not have an attachment reference to the SOAP content-id.

Looking in SXMB_MONI we see the PO XML comes out with an attachment reference such as this:

<Attachment id="1 .Testing for attachments %25252D" filename="Testing for attachments %25252D 03%25252Etxt">Testing for attachments - 03</Attachment>

One would assume that the ID attribute would be the reference to the actual attachment in the mime/soap message, but if you check the SOAP_BODY in sxmb_moni you see the following for the attachment.

--SAP_4cda9980-5c05-11de-8fbf-001b78b8b8f6_END

content-id: payload-977C394ACDF9EC64E100000095C342AAsap.com

content-type: text/plain

One would assume the attachment ID in the XML should be the reference to the "content-id" field in the mime message.

I would expect something more like this:

<Attachment id="payload-977C394ACDF9EC64E100000095C342AAsap.com" filename="Testing for attachments %25252D 03%25252Etxt">Testing for attachments - 03</Attachment>

Can anyone shed some light on this or know where the "payload-977C394ACDF9EC64E100000095C342AAsap.com" value is generated so we can enhance the outbound badi for the PO to include that value in the PO XML.

Regards,

Joe

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

Hi Joe

payload is purely XI part.

SAP Note 1082111 - Mapping of messages with empty payload

An XI message is made up of several parts, such as:

o a main header that contains, for example, the message ID, sender

and receiver of the message,

o a payload,

o any other attachments,

o a manifest containing the references to the payload and the

attachments.

plz consultant xi folks

br

muthu