Sunday, 13 July 2025

Understanding about SAP Port Configuration

In SAP EDI/IDoc processing, a port defines how IDocs are sent or received between systems,

Integration Scenarios

  • SAP to SAP

  • SAP to middleware (like Sterling, Boomi, Cleo, SAP PI/PO)

  • SAP to a file directory


Types of Ports in SAP:

Port Type

Description

tRFC (Transaction RFC)

Used for real-time IDoc transmission to another SAP system

File Port

Writes IDocs to a file (e.g., for middleware like Cleo, Seeburger, etc.)

ABAP-PI

Internal communication through ABAP proxy (used in SOA/web services)

XML HTTP

Sends IDocs as XML over HTTP(S)

Directory (EDI)

Sends IDoc to file system (common for outbound interfaces)


Where to Configure:

Use transaction WE21 to configure ports.


Why Port Is Important:

When SAP triggers an IDoc, it uses:

  • Partner profile (WE20)
  • Output type (e.g., BA00)
  • Port (defined in WE21)

If the port is misconfigured or missing, you'll get errors like:

  • Error while writing IDoc to file (EA084)
  • Port does not exist
  • No authorization to write file


No comments:

Post a Comment

Understanding about SAP Port Configuration

In SAP EDI/IDoc processing, a port defines how IDocs are sent or received between systems, Integration Scenarios SAP to SAP SAP to mid...