Você está na página 1de 7

STEPS FOR IDOC & MESSAGE TYPES:-

1. Define Segment.---WE31

2. Define IDOC Type.---WE30

3. Define Message Type.---WE81

4. Link Message & IDOC Type.---WE82

Master IDOC:-
It is an internal table which consists of data to be sent from SX system to
RX system.
Suppose if we are sending 100 materials from SX to RX , then Master
IDOC will be generated for each Material. I .e. for 100 Materials. We
get 100 Master IDOCs.

Communication IDOC:-
These are the IDOCs which are defined from Master IDOC.
A Communication IDOC is an IDOC which is generated for each Reciever.

Out Bound Program:-


A program which is used to start the process of data transfer from SX to
RX.
With the help of selection screen, Master IDOC and common IDOC will
be generated.and will be sent to Receiver system.

Process Code:-
Process Code is a Function Module . It is available at Reciver side
processing code is Responsible for Receiving the Data from IDOC and
updating the Data into Database Table.
Message Type:-
Its specifies the type of the application from which IDOCS one being used.
The application may be Material Master OR Customer Master OR Vendor
Master etc

WE81 is Tcode for defining a message type.


Always IDOC type & Message type should be linjed with each other.
WE82 is Tcode used to create a link b/w Message type and IDOC type.

Examples of Message type:-


1. MATMAS:-
MATMAS01
MATMAS02
MATMAS03 IDOC Types for MATMAS Message Type.
MATMAS04
MATMAS05
2. DEBMAS:-
DEBMAS 01
DEBMAS 02
DEBMAS 03 IDOC Type for DEBMAS Message Type
DEBMAS 04
DEBMAS 05
3. CREMAS:-
CREMAS01
CREMAS02
CREMAS03 IDOC Type for CREMAS Message Type
CREMAS04
CREMASO5

Application Message IDOC Type Outbound Process


Type prog. Code
Send MATMAS MATMAS01,02,03,04,05. BD10 MATM
Material
Master Data
Fetch Master MATFET ALREQ01 BD11 MATF
Material
data
Send DEBMAS DEBMAS01,02,03,04,05. BD12 DEBM
Coustomer
Master Data
Fetch DEBFET ALREQ01 BD13 DEBF
Coustomer
Master Data
CREMAS CREMAS01,02,03,04,05. BD14 CRE1
Send Vendor
Master Data
Fetch Vendor CREFET ALREQ01 BD15 CREF
Master Data

Status of IDOCS:-
WE02 , WE05 are the Tcodes which are used to find out the status of
an IDOC.

Steps For Sending Data From Source System to Target System:-


STEP1:- Define logical system s for sending & Receiving.
GO TO SE11 Tcode
Expand Basic Settings
Expand logical Systems
Click on execute button of Define logical system
Click on new entries
Give the Sendor logical system name,description.
Give the Receiver logical system name,description.

Logical System Name


ZSX Sendor System
ZRX Receiver System

Click on Save
Click on Back

STEP2:- Assign Client to the Logical system for sendor &Receiver.

GOTO SALE Tcode


Expand Basic setting & Expand logical system
Click on Assign logical system to client
Select the client no as 800
Click on the Details button
Give the logical system name as ZSX
Click on save & click on Back
Select 810 Client
Click on details button
Give the Logical System name as ZRX
Click on Save & Click on Back

STEP3:-Maintain RFC Destination Through SM59.

Example ZSX_to_ZRX

STEP4:-Define Port.

GOTO WE21
Select Transactional RFC
Click on the Create button
Select own port name
Give some name as ZSXRX_port
Press Enter
Give the Description
Give the RFC Destination name as ZSX_TO_ZRX(Capital letters)
Click on save & Click on back
STEP5:-Maintain Output Partner Profile

IF DEFINES,
Whom to send
What to send
Where to send
How to send
Goto WE20
Select Partner type LS
Click on create button
Give the partner no as ZRX
Save it ammediately
Click on (+) symbol on outbond parameters and define
Message type as Matmes
Receiver pont as ZSXRX_pont
Select the Radio button transfer IDO immediately
Give the Basic type as MATMAS05
Click on save

STEP6:- MAINTAIN Inbound partner Profile is client 810

Go to WE20
Select the partner Type LS
Click on write
Give the partno as ZSX
Click on save immediately
Click on the + symbol of inbound parameter
Give the process codes MATM
Give the Message Type as MATMAS
Save it

STEP7:-Maintain Distribution Model

Goto BD64
Click on change button
Click on the button create Modal view
Give the Short Text, Technical name as ZSXRX_MV
Press enter
Select the save Modal view
Click on the button add Message type
Give the Sendor name as ZSx
Give the Receiver name as ZSx
Press Enter & click on save
STEP8:-Run the outbound program
Goto BD10
Give a material no
Example 1437
Give the Message Type as MATMAS
Give the logical system ZRX
Select the check box as send material in fill
Finally click on execute button
As information message will be received with message
as 1 master IDOC is generated
Press enter
One more info message is received with text as one
common IDOC is generated

STEP9: Check the status of IDOC

Go to WE02 or WE 05
Gave the direction number as one ( 1 our bond, 2
in Bond )
Click on execute
List of the IDOCS will be generated
Double click on any IDOC no
The control record, data record, status record will
displaied
IDOC 00007570747
One CTRL Record
Data record
EIMARAIM
EIMAKTM
Status record
03 Status
30 Status
01 Status
STEP :10 Checking the Status at Receiver system

Go to 810 Clint
Go to WE 02 or WE05
Gave the Direction number as 2
Click On execute
List of the IDOCS will be generated
Double click on any IDOC no
The control record, data record, status record will
displaied

Você também pode gostar