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: 

how to create IDoc..

Former Member
0 Kudos

hello experts...could you plz tell me the step by step procedure to create IDoc..thankssss

2 REPLIES 2

Former Member
0 Kudos

A very little summary:

It's not a piece of cake, but you can try transaction 'wedi'. This is a menu for configure, test, and define idocs... But dozens of idocs are standard defined, it depends of you requirement.

-> Identify the idoc, type of message, and check the message - idoc relationship

-> Identify the processing code, depending if the idoc is incoming or outcoming

-> Configure the partner profile with data you previously identified.

There are two ways of trigger an idoc: by message class and change pointers. The first is just like trigger a sapscript, the second is exclusive for master data... Hope it helps

Former Member
0 Kudos

Hi

1) Create segment (WE31)

Of course it will have naming convention for different company. Here are some tips:

If you copy from existing or std segment eg: Z1E1EDP01_01.

If not you can just put Z1….but this is only the example.

2) Create IDOC Types (WE30)

3) Create message type (WE81)

4) Link message type with basic type (WE82)

5) Create FM

In the FM all the attributes should be the same for Inbound or Outbound. Basically you can get an example from the std FM eg: Inbound - IDOC_INPUT_DELVRY

Outbound - IDOC_OUTPUT_SHPMNT.

6) Create Process Code (Inbound - WE41/ Outbound - WE42)

IMPORTANT: Before you key in the FM, you are required to add the FM in this table V_TBD51.

7) Link FM with Basic Type

For testing go to WE19.

Here are some of the std program that you can use for IDOC:

1) RSNAST00 - Issuing Output type

2) RBDINPUT - Processing Inbound idocs

3) RBDAPP01 - Processing Idocs that already processed before

4) RBDSEMAT- Stand alone program to generate IDocs (Send Material)

5) RBDMIDOC - Outbound triggered from change pointer

6) RSEINB00 - Convert file to IDOC in status 64

http://www.sapmaterial.com/idoc_sample.html

http://www.sapmaterial.com/idoc_sample.html

<b>Reward if usefull</b>