Inbound and Outbound Idoc Configuration
Inbound and Outbound Idoc Configuration
Configuration Steps
1. WHAT IS IDOC? 3
The information which is exchanged by IDocs is called a message and the IDoc is
the physical representation of such a message. The name “messages” for the
information sent via IDocs is used in the same ways as other EDI standards.
b. Type your field name and data element and press save then segment
definition will be created automatically.
3.2 Create Idoc Type
Go to Transaction WE30
a. For new IDOC type select the radio button Basic type and press Create
button.
b. Then select the IDOC option to create and press Enter. Give segment name,
minimum and maximum number for and save it. Check if this is mandatory
segment.
c. If you want Header and Item create the segment tree according to that, you
can view as follows then press Save.
d. Then go back and set release the IDOC type for using it further. Idoc type will
be created successfully once we release that status. We have to release the
segments (in WE31) and IDOC type as well.
3.3 Create Message Type
Go to transaction WE81 for new message type. Go to change mode and click
New Entries for creating our own message type.
9. Select your model view -> click edit -> Add message type
10. In dialog box specify sender, receiver, and message type and continue.
Now the model view looks
Like
11. Click on environment menu -> generate partner profile
12. It will show the following screen. Select your model view and click on
execute.
13. It will show the partner profile log in next screen.
14. Click on back button 2 times it will take to distribution model screen.
15. Click on Edit -> Model view -> Distribute
16. In displayed dialog box select the partner system and continue.
17. Then it will show the log of model view distribution.
18. To check partner profile go to transaction WE20.
19. Then write the report program in SE38 to create IDOC control records and
transfer it to destination partner system.
20. Go to Transaction WE02 to check the generated IDOC control records.
4. Specify FM name, function type, basic type (IDOC), message type and
direction then save it.
5. Go to transaction BD51 to define input method for inbound function
module and click on Display change button
6. Specify your function module and input type by clicking the new entries.
7. Go to transaction WE42 and create process code.
8. Go to transaction BD64 and generate the partner profile again.
9. Got o transaction SE 38 and execute the transaction in source system
(client100).
10. Check in destination system (client 800). Go to Transaction WE02 and
check your table in SE11. (You can get the transferred entries in that table).