Skip to Content
0
Former Member
Nov 17, 2008 at 03:20 PM

Attachments deleted during message mapping in PI 7.1

34 Views

We have upgraded our SAP XI 3.0 SP 22 system to SAP PI 7.1 SP06. In XI 3.0 we created some message mappings that mapped an XML payload with attachments to another message type. The attachments would still exist after the mapping step. In SAP PI 7.1 we now see that attachements are deleted from the message. We cannot see why this is happening. We have tried to set the 3 new option in the operation mappings without any results. The attachements are still being deleted.

Active Options in operation mappings:

Use SAPXMLToolkit = true

Do Not Resolve XOP includes = false

Read Attachements = false

In the SXMB_MONI we can see that the attachements are deleted after the Request Message Mapping step. It is a simple proxy-to-proxy scenario with interface and message mapping.

<Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">

<Trace level="2" type="T">......attachment XI_Context not found</Trace>

<Trace level="3" type="T">Mapping already defined in interface determination</Trace>

<Trace level="3" type="T">Object ID of Interface Mapping 46842937562139BCA3F2AC1F36E729FE</Trace>

<Trace level="3" type="T">Version ID of Interface Mapping 5D945F00B00611DDB04FF8CF0A5B0156</Trace>

<Trace level="1" type="T">Interface Mapping urn:kadaster-nl:SERV:ZA:KAD:DOVO im_mail_to_dms</Trace>

<Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_mm_mail_to_dms_</Trace>

<Trace level="3" type="T">MTOM Attachments are Transferred to the Payload</Trace>

<Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>

<Trace level="2" type="T">Mode 0</Trace>

<Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>

<Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_</Trace>

<Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_$MT$InnerLibsList.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>

<Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_$MT$InnerLibsList</Trace>

<Trace level="3" type="T">Search com/sap/xi/tf/_mm_mail_to_dms_$MT$InnerParamsList.class (urn:kadaster-nl:SERV:ZA:KAD:DOVO, -1) in swcv 5d945f00-b006-11dd-b04f-f8cf0a5b0156.</Trace>

<Trace level="2" type="T">Loaded class com.sap.xi.tf._mm_mail_to_dms_$MT$InnerParamsList</Trace>

<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._mm_mail_to_dms_</Trace>

<Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>

<Trace level="3" type="T">Document start</Trace>

<Trace level="3" type="T">Start tag [ns1:OpvoerenDocumentRequest]</Trace>

<Trace level="3" type="T">Add raw attribute [ xmlns:ns1="urn:kadaster-nl:SERVICES:DMS:Opvoeren:ZI_KAD_DMS_MAIN"]</Trace>

<Trace level="3" type="T">Start tag [DocumentInfoRecord]</Trace>

<Trace level="3" type="T">Start tag [Type]</Trace>

<Trace level="3" type="T">Put value [302]</Trace>

<Trace level="3" type="T">Close tag [Type]</Trace>

<Trace level="3" type="T">Start tag [Omschrijving]</Trace>

<Trace level="3" type="T">Put value [Apeldoorn]</Trace>

<Trace level="3" type="T">Close tag [Omschrijving]</Trace>

<Trace level="3" type="T">Close tag [DocumentInfoRecord]</Trace>

<Trace level="3" type="T">Close tag [ns1:OpvoerenDocumentRequest]</Trace>

<Trace level="3" type="T">Document end</Trace>

<Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>

<Trace level="2" type="T">Java mapping com/sap/xi/tf/_mm_mail_to_dms_ completed. (executeStep() of com.sap.xi.tf._mm_mail_to_dms_).</Trace>

<Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>

Attached will be Deleted cid:payload-001708D1A20E1DEDAD96471B4CCBC447(@) sap.com

Attached will be Deleted cid:payload-001708D1A20E1DEDAD96471B4C758447(@) sap.com

<Trace level="1" type="T">ContentType application/xml</Trace>

Regards,

Jeroen