0% found this document useful (0 votes)
306 views

Steps To Create A Basic Type Idoc

The document outlines 8 steps to create a basic type IDoc in SAP: 1) Create segments to define the data elements and structure 2) Define the basic IDoc type and assign segments 3) Create message types and assign the basic IDoc type 4) Develop a function module for outbound processing 5) Maintain attributes of the function module 6) Assign the function module to the basic IDoc type 7) Assign a process code to identify the function module 8) Define partner profiles to use the new basic IDoc type

Uploaded by

Kishore Reddy
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
306 views

Steps To Create A Basic Type Idoc

The document outlines 8 steps to create a basic type IDoc in SAP: 1) Create segments to define the data elements and structure 2) Define the basic IDoc type and assign segments 3) Create message types and assign the basic IDoc type 4) Develop a function module for outbound processing 5) Maintain attributes of the function module 6) Assign the function module to the basic IDoc type 7) Assign a process code to identify the function module 8) Define partner profiles to use the new basic IDoc type

Uploaded by

Kishore Reddy
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

http://tutorialsap.com/idoc/steps-to-create-a-basic-typeidoc.

html

Steps to create a basic type Idoc


Creation of a new basic type of IDOC consists of several steps. Here is the detail explanation and steps to do for that. Step 1: Creation of Segments Here are the steps to define segments

Enter Transaction code WE31 Select Utilities -> Requests (Organizer) Specify segment type and choose create Enter a short description of the segment and enter the corresponding field Goto -> Documentation and describe the segment type Come back to segment editor Save and Enter the segment in a transport request Enter transaction code WE30 Enter a name for the basic IDoc type and mark basic type as the Enter a description for the basic Idoc type and choose tick mark button. Position the mouse on header and choose create button Enter the segments. Save

names and data elements associated with that segment.


Step 2: Define a basic Idoc Type


development object. And choose create


Step 3: Assigning Message types We need to create new message types only if the existing message not matching with our requirements. Steps to create a new message type

Enter Transaction WE81 Choose edit button and then new entries Enter the message type with description Save

Steps to assign basic Idoc type to message type

Enter transaction WE82 Choose edit button and then new entries Enter the message type, basic type and SAP release in their corresponding Save data

columns.

Step 4: Create function Module for outbound processing The steps for creating a function module have been described in our earlier posts. Here is a brief about the steps.

Open the function builder to create our new function module Create the segments as global data and code the function module to pass the Activate the function module

application data to the corresponding segments.

Step 5: Maintaining the Attributes of a Function Module Use transaction code BD51 to maintaining the Attributes of a Function Module (Like the settings for dialog possible etc) Step 6: Assign function module to the basic Idoc Use Transaction code WE57 and then assign the function module to various objects as per our requirements. This step is the ALE registration for the function module. Step 7: Assigning a Process Code This step is used to assign a new process code to the new function module. This enables the function module to be identified from the partner profiles defined in the IDoc Interface when an IDoc of the new message type is received.

Enter transaction code WE42 Enter process code and a description. Choose the Processing with ALE and

Processing by function module options and save your entries. In the maintenance screen assign the inbound function module to the process code.

Choose new entries In the detail screen enter Process code, Module fame, Idoc fame, Application Save Enter transaction code WE42 again

Object fame etc


Go back to maintain the inbound process codes and choose the Logical Choose change mode and select new entries Enter the message type and process code Save

message navigation.

Step 8: Defining a partner The new basic type must be entered in the partner profiles before being used. Use transaction code WE20 to create partner profile. Partner number, partner type, Partner function, message type, permitted agent and process code are the important fields to maintain in inbound partner profiles. These are the common steps involved in creating a new basic type Idoc. The other steps you need to do after this may be

Create Logical System Create RFC destination Using of test tool for IDOC

You might also like