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.
Showing results for 
Search instead for 
Did you mean: 

IDOC Port defnition *** Urgent***

Former Member
0 Kudos

Hello Gurus,

Could you provide me steps on how to define port and partner profile for IDOCs...

Any help would be highly appreciated.. and points will be rewarded generously..

Thanks and Regards,

Pavan P.


Former Member
0 Kudos


check these threads for more info:



Active Contributor
0 Kudos


U can define port in tocde WE21...generally in ALE/IDOC we use either file port or trfc port..For ALE we go for trfc port and for EDI we go for file port.We generally specify RFC destination for trfc port...For file port we specify the directory as well as the file path....Port is an intermediate between inbound and outbound..

For partner profiles go through the following links..



Active Contributor
0 Kudos

To define port transaction is WE21.

Partner profiles can be generated by BD64 or can be manually maintained using WE20.


Former Member
0 Kudos

Hi Pavan,

The Port Definition

Transaction: <b>WE21</b>

<b>Path:</b> From the ALE customizing in IMG, choose Sending and Receiving Systems,

Systems in Network, Asynchronous Processing, Assigning Ports, DefinePort.

<b>A port defines the medium in which data is exchanged between the two systems. In the ALE</b>

process, IDocs are transferred via memory. As of release 4.6, six port types are available.

--<b>Transactional RFC (tRFC)</b> :ports used for ALE communication

-- <b>File ports</b> :used by EDI

-- <b>CPI-Cports</b> :used to communicate with R/2 systems

-- <b>Internet ports</b> :used to connect with Internet applications

-- <b>ABAP-PI</b> :ports used to process data via the ABAP programming interface

-- <b>XML ports</b> : used to process files in XML format

<b>NOTE:</b> For port definitions to be generated automatically, the RFC destination

name must be the same as the logical system name.

Port definitions are client-independent objects. The tRFC port used in the ALE process can be

generated automatically when you generate partner profiles, or it can be maintained manually.

Reward with points if helpful.