SAP Knowledge Base Article - Preview

3841055 - AS2 partnerID resolution fails with "java.lang.IllegalArgumentException: partnerId is null"

Symptom

When processing inbound AS2 messages through SAP Integration Suite Trading Partner Management (TPM), the AS2 Sender Adapter fails to resolve the expected trading partner. Possible symptoms include:

  • The message fails with an error such as java.lang.IllegalArgumentException: partnerId is null.

  • The Partner Directory entry does not contain the expected SAP_AS2_Pid_Resolution_Mode parameter or contains an unexpected value.

  • The AS2 Sender Adapter resolves the partner based on the authorized user instead of the AS2 Partner ID from the incoming message.

  • The standard SAP-provided TPM communication flow fails, while a custom integration flow configured with AS2 Partner ID Header processes the message successfully.

  • Reactivating the Trading Partner Agreement does not appear to update the expected Partner Directory configuration.


Read more...

Environment

  • Cloud Integration
  • SAP Integration Suite

Product

Cloud Integration all versions ; SAP Integration Suite all versions

Keywords

SAP Integration Suite, Cloud Integration, Trading Partner Management, TPM, AS2, AS2 Sender Adapter, Partner ID Resolution, Dynamic Partner ID Resolution, SAP_AS2_Pid_Resolution_Mode, authorizedUser, as2PartnerId, Partner Directory, Trading Partner Agreement, Security Configuration Profile, AS2 Partner ID Header, partnerId is null , KBA , LOD-HCI-PI-TPM , B2B Scenarios with Trading Partners , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.