Skip to Content
0
Nov 18, 2022 at 06:38 PM

Trading Partner Management: Problem with Partner IDs

682 Views Last edit Nov 18, 2022 at 06:45 PM 3 rev

We're trying to use the Trading Partner Management with the (recently updated) TPM IFlows (Package "Cloud Integration - Trading Partner Management") for the first time and are facing the problem that inbound AS2 messages result in this error:

com.sap.it.api.pd.exception.PartnerDirectoryException: No partner registered for the incoming request

As far as I can see, the partner lookup is done via the AS2 partner ID (and not the ID from the message payload UNB segment (in EDIFACT)).

When I look into the mapping script where the error probably occurs, I see that reading the sender ID (and other header properties too) is commented out. (The trace for some reason ends with the first step (AS2 sender channel) and shows the error there. However, I'm not sure if the AS2 channel already tries to access the PD).

That's the line I'm talking about:

 //def sndAS2OwnID  = headers.get("SAP_AS2OwnID")

But maybe I made a configuration error in TPM or when sending the message. I use Mendelson to test it and am not sure if the AS2 partner and receiver ID are the ones that TPM is matching with the ID on the Identities tab. Can somebody let me know if you're able to run this TPM flow successfully?

Thank you