cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Port in incoming IDoc in ECC

JaySchwendemann
Active Contributor
0 Kudos
4,070

Hi all,

I have a SNC scenario which is like this SNC (Proxy) --> PI --> ECC (IDoc) on PI 7.4 AEX

The process works fine, IDocs are received at ECC so I don't have an actual problem. Asking out of curiosity.

The received IDoc in ECC does have the following control record data:

receiver port = SAP<ECC SID>

receiver partner number = <ECC Logical System>

receiver party type = LS

sender port = SAP<SNC SID>

sender partner number = <SNC Logical System>

sender party type = LS

In PI the receiver IDoc adapter is configured as follows:

RFC Client Parameters = Default

Control Record in IDoc XML = Not Mandatory

Apply Control Records from Paylod = not checked

Apply Sender from Payload = not checked

Apply Receiver from Payload = not checked

No Header Mapping configured

=> I know that the receiver partner number and sender partner number get derived from SLD data of the business systems of ECC and SNC. But what about the port? Is it always just like "SAP<SID>" if not specified in else in EDI_DC40 record? I found this about control record fields but don't find it very clear in terms of what is filled in in SNDPOR and RCVPOR The Control Record Fields of the IDoc Adapter (AAE) - Advanced Adapter Engine - SAP Library

Could anybody shed some light on this?

Many thanks

Cheers

Jens

View Entire Topic
MatthiasFricke
Participant
0 Kudos

For sender port check SAP Note 1653715 - Default sender port for Java IDOC Adapter receiver channels:

Java IDoc Adapter managed connection factory and could be set using NWA in Application Resources tool. Select JavaIDOCAdapter Resource Adapter -> Properties Tab and edit the value for the DefaultSenderPort property