Error when trying to process SAP Idoc: Partner SAPUser sent this document posing as Unknown

Hi,

i have defined TN document type ZDELVRY03 with Root-Tag IDOC. I extracted attributes from sample idoc ( SenderID, ReceiverID, DocumentID. Using XQL Query /IDOC[0]/EDI_DC40[0]/CIMTYP[0]. Result for Document-ID ist ZDELVRY03.

But when i post an Idoc from SAP to TN i got the following message in TN/MWS ;

5/14/2013 8:13:36 AM Document persisted. General SAPUser Unknown
5/14/2013 8:13:36 AM Partner ID mismatch Security SAPUser Unknown

Partner SAPUser sent this document posing as Unknown.

And in server logs i can see the following:

[2534]2013-05-14 08:18:16 MESZ [SAP.0104.0005W] Error in RFC Listener joSharedSAP.adapters.sap.listeners:qja_esb_general_101 with status “ALIVE” and connection “6-qja.sap.jenoptik.corp|sapgw10|qja.esb.general.101”: CPIC-CALL: SAP_CMACCPTP3 on convId:
[2533]2013-05-14 08:15:17 MESZ [ISC.0076.0016I] Soap Message Coder warning; unregistered coder for variable fields, using String
[2532]2013-05-14 08:13:36 MESZ [SAP.0104.0005W] Error in RFC Listener joSharedSAP.adapters.sap.listeners:jop_esb_general_400 with status “ALIVE” and connection “3-jop.sap.jenoptik.corp|sapgw13|jop.esb.general.400”: [SAP.115.9561] Notification error: com.wm.app.b2b.server.ServiceException - Partner SAPUser sent this document posing as Unknown.
[2531]2013-05-14 08:13:36 MESZ [SAP.0106.0004W] Error in inbound call for IDOC_INBOUND_ASYNCHRONOUS from JOPCLNT400: [SAP.115.9561] Notification error: com.wm.app.b2b.server.ServiceException - Partner SAPUser sent this document posing as Unknown.
[2530]2013-05-14 08:13:36 MESZ [ART.0114.1007E] Adapter Runtime: Error Logged. See Error log for details. Error: [SAP.115.9561] Notification error: com.wm.app.b2b.server.ServiceException - Partner SAPUser sent this document posing as Unknown.
[2529]2013-05-14 08:13:36 MESZ [SAP.0110.0004I] SyncIDocHandler - Rollback 0A96110D171E5191D60E59DF
[2528]2013-05-14 08:13:36 MESZ [TNS.0000.2073I] Inserting doc 56s0kn007qgqobr3000000kl into data store.
[2527]2013-05-14 08:13:36 MESZ [ISU.0000.9999E] java.sql.SQLIntegrityConstraintViolationException: [SoftwareAG][SQLServer JDBC Driver][SQLServer]Die INSERT-Anweisung steht in Konflikt mit der FOREIGN KEY-Einschränkung “fk_ActLog_RelatedDocId_BizDoc”. Der Konflikt trat in der “wm_esb_test”-Datenbank, Tabelle “dbo.BizDoc”, column ‘DocID’ auf.
[2526]2013-05-14 08:13:36 MESZ [TNS.0000.2005W] Error logging database event.
[2525]2013-05-14 08:13:36 MESZ [TNS.0005.4084I] Document pid doesn’t match user pid
[2524]2013-05-14 08:13:36 MESZ [SAP.0110.0022W] Persisted message body to packages\WmSAP\txStore\06075109\A1D11DED\911E965F.xml
[2523]2013-05-14 08:13:36 MESZ [SAP.0110.0009I] Inbound tRfc: Execute 0A96110D171E5191D60E59DF, IDOC_INBOUND_ASYNCHRONOUS from jop.esb.general.400
[2522]2013-05-14 08:13:36 MESZ [SAP.0110.0002I] Listener - Create 0A96110D171E5191D60E59DF

I’m not sure what is the problem here ? Do you have any ideas or hints ?

Thanks.
Sebastian

I hope you have given similar XQL query to extract the value of SenderID and ReceiverID from EDI_DC40 segment based on a specific path… In TN Transaction Analysis, you should still be able to see an entry with Sender ‘Unknown’, Receiver ‘Unknown’ and Document Type ‘ZDELVRY03’. Double click on that transaction, and look at the transaction data in the second tab… You can see the entire IDoc data in XML format…

XQL path to identify the sender and receiver name is same from the actual structure of the data?

-Senthil

Hi.

i created Document Type named ZDELVRY03. I set Root Tag to IDOC and created a
Identifying Query :

Query Value
/IDOC[0]/EDI_DC40[0]/CIMTYP[0] ZDELVRY03

In Extract i defined:

SenderID= /IDOC[0]/EDI_DC40[0]/RCVPRN[0]
ReceiverID = /IDOC[0]/EDI_DC40[0]/RCVPRN[0]
DocumentID = /IDOC[0]/EDI_DC40[0]/CIMTYP[0]

But TN says in transaction log, that document type, sender and receiver is unknown.

Do you have any idea whats going wrong ?

I attached 2 screenshots and the sample document.

Thanks,
Sebastian

zdelvry03_example.txt (13.7 KB)


In the TN document type section for the SenderID/ReceiverID extraction along with the Query you mentioned what Transformation Built-In in you have selected there?

HTH,
RMGiikiy