Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PORT IDOC TYPES

0 Kudos
2,092

Dear friends,

Please explain about Port types in IDOC in real time?

eg...TRFC ports and File ports.

3 REPLIES 3

GK817
Active Contributor
0 Kudos
966

Hi,

It helps to search the forum before posting the question. I find this thread addressing your question:

https://answers.sap.com/questions/3456303/idoc--port-creation.html

If you have any specific question, please let us know.

Regards

GK

former_member1716
Active Contributor
966

Hello saikiran yedlapally,

Ports in IDOCs are basically used to define the Communication path for the transmission, for Eg if we decide to send the Data from our System we use OUTBOUND IDOCs, if we want to receive the data from different system we use INBOUND IDOC. Ports are define using WE21 T-Code. They also define the medium through which data is transferred.

Once you reach the T-code WE21 You will find all the port types used in your system, let me explain the usage of few ports in short for you:

FILE PORTS: Data will be transferred based on the through Operating systems. EDI will be used here.

TRANSACTION RFC: These are used for Communication Via ALE

CPI-C ports are used to communication with R/2 Systems

ABAP-PI Ports are special Ports that will be used to transfer through ABAP Interface.

Let us know what specific information are you Looking for, any general information on this is already available in the forum.

Regards

Sandra_Rossi
Active Contributor
966

An IDoc port is the medium by which IDocs are to be sent (outbound) or received. Medium types can be RFC, file, etc.

The name of the port is to be defined explicitly in the IDoc itself (control record) or it can be left blank for outbound IDocs and determined via the ALE distribution models (BD64) and partner agreements (WE20).

Ports are defined via the transaction code WE21.