Sunday, 29 April 2012


IDOC Inbound flow steps:
1. Creation of segment (WE31)
2. Basic idoc type creation (WE30)
3. Message type creation (WE81)
4. Assign message type to basic idoc type (WE82)
5. Creating Function module (SE37)
6. Assign Function module to logical system (WE57).
7. Define input Method for Inbound function module (BD51).
8. Creating process code (WE42).
9. Generating the Partner Profile (BD64).
10. Partner profile (WE20)
Create Segment type
Go to t code WE31:
Provide the Segment name: Z1SRQTEV




Click on Create button

Provide short description and field names to we are received data from outbound idoc.






Click on save button














Click on back button find the segment definition is created

Basic idoc type creation:
Go to  WE30:
Provide object name:ZHRRQTEV01
 
Click on create button
Provide description and create new radio button
Click on enter
Click on create





Provide segment type and min and max numbers after click one ok button
Click on save button


MESSAGE type creation:
Go to transaction code: WE81
Click on display change button popup is shown like below click on ok
Click on new entries tab







Provide message type and short text
Click on save button
Message type is created


ASSIGN MESSAGE TYPE TO IDOCTYPE
Go to transaction code: WE82
Click on display change button
Click on new entries tab





Provide message type and basic type and Realease
Click on save button
CREATE FUNCTION MODULE
Go to transaction code:SE37
Provide function module name: ZFHR_PT_CATSDB_APRISO12
Click on create button

Provide  function group name and short text
Click on save button
Create function module
Import, export, tables and source code
ASSIGN FM TO LOGICAL MESSAGE
Go to transaction code WE57
Click on display and change button
Click on new entries
Provide Function module name, function type, basic idoc type message type and direction
Click on save button
DEFINE INPUT M METHOD FOR INBOUND FUNCTION MODULE
Go to transaction code :BD51
Click on display and change button
Click on new entries
Provide Function module name and input type
Click on save button






CREATING PROCESS CODE
Go to transaction code: WE42
Click on display and changes button
Click on new entries
Provide process code and description
In processing type select the second radio button
Click on save button the below popup is shown
Click ok
Provide Function module name:


Click on save button
Click on logical message tab
Click  on new entries tab
Provide message type
Click on save button
Process code is created
Generating partner profile
Click on display and changes button
Click on create create model view tab
Click on ok button
Our creating view is shown like below
Click on add message type tab
Click on ok
After modal view is shown like below




Select our modal view and go to Environment->Generate partner profile tab
Click on execute button
Our message type is successfully created message is shown









No comments:

Post a Comment