
Custom IDOC configuration steps:
1) Logical system
3) Save the changes and logical system is created.
2) Create RFC Destination:
2) Select ABAP Connection and click on create button to create RFC destination a new screen will open where enter Target host in technical setting.
3) Create Port:
1) Tcode to create port is WE21 where different ports to create transactional Port select transactional RFC and click on create button to create port.
2) A new popup window will open where we have to select own port name and enter port name and click on continue.
4) Create Segment
TCODE for create segment is WE31
5) Basic Type
Tcode for creation of basic type is WE30.
Enter object name and click on create button and enter required details and click on Continue.
6) Message type
In these I have used the below function modules:
MASTER_IDOC_DISTRIBUTE: to collect data and create Idoc in ready to dispatch step.
Tcode to create partner profile is WE20
1) Enter TCode WE20 for partner profile creation where a new
screen will open where
Select Partner type LS partner type and click on create to create partner profile.
2) A new
screen will open where we need to fill partner no and partner type and agent
Details.
3) After that add message type in outbound parameters and save the partner profile.10) Output:
1) Execute the above report it will trigger IDOC and also gives IDOC number in pop up window.
2) After execution you can check the status of IDOC in WE02 where enter IDOC number generated and click on execute button.
GREEN - indicates IDOC
processed successfully.
RED - indicates error in
IDOC processing.
0 Comments