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: 

outbound idoc

Former Member
0 Kudos

hi all

can i get sample code for outbound idoc


Former Member
0 Kudos

Hi Prashanth,

For Outbound ALE Configurations: (Example)

IDoc definitions and necessary ALE configurations settings for the outbound .

Create Idoc segments – Transaction WE31.

Create Idoc type – Transaction WE30.

Create Message Type – Transaction WE81.

Assign Message Type to Idoc type – Transaction WE82.

Create a distribution Model - Transaction BD64

Update outbound parameters of the Partner profile – Transaction WE20

For the Logical system A for the above two message types update the partner profile.

For each message type specify the Port and the IDoc types.

( Note : Port definition need to maintained using transaction WE21 and

it has to be defined as a Transactional RFC port with RFC destination for

system specified, which need to be maintained using SM59 ).

Go through the link for basics related to IDOCs:


Pradeep .

Former Member
0 Kudos


Please refer to the details mentioned in the hyper-links beow.

You will get the details how to go about it.

To see the IDOC & status check it in WE02/WE05

You will get step by step process.

Follow below steps to create custom IDOC.

1.Create segments through transaction WE31.

2.Create IDoc Type through transaction WE30 by attaching created segments.

3.Message type through transaction WE81.

4.Link Idoc and message type in WE82 transaction.

Check the transaction WEDI for ALE settings

Check these links for more details on IDoc's:



IDOC Convertion