Вы находитесь на странице: 1из 15

STANDARD IDOCS Working on Outbound side 1) ALE communication settings Defining the logical system using SALE Assign

the logical system to client using SALE Create the remote connection using SM59 2) Create the idoc settings Step 1: Create the model view using BD64 Go to BD64-------Click on Change

Click on Create model view tab

Provide the text and technical name

ENTER Now select the created model view-

Click on Add message type tab--------Provide the required details------Enter Note: DEBMAS is the message type to carry the customer details

Click on ENTER--------SAVE

Step 2: create the port using WE21 Go to WE21

Select the TRFC-----Click on Create tab

Note: Generate port name radio button gives the system generated port number Own port radio button will gives the port with our own name

SAVE

Step 3: create the partner profile using WE20 Go to WE20

Select Partner Type LS-----Click on Create tab

Click on SAVE Now click on Create outbound parameters tab

SAVE

Note: Output mode Transfer IDoc Immed: The idoc will be dispatched immediately after it is created if this mode is selected It will give the status code 03 Collect IDocs : Idoc will not be dispatched even after it is created It is with status code 30 and ready to dispatch

To dispatch these type of idocs, program RSEOUT00 need to executed So that the status code will be changed to 03 from 30 Now all the settings to send the standard idoc with customer details are completed Step 4: Execute the T.code BD12 Go to BD12-----Provide the customer,mestyp,receiver

Execute(F8)

Enter

Click on ENTER With the above 2 screens, Idoc was created successfully Step 5: Now to check the idoc Goto WE02 or WE05

Execute

Idoc was dispatched successfully. Now go to the receiver (Inbound) side to post this data into their system (Example: here 810)

Working on Inbound side Note: all the above settings (SALE,SM59,WE21) are also required in inbound system, but since we are working in the same system having sender and receiver, so need not do the same Now log on to the client 810 Step 1: Go to WE20-----select Partner type LS---Click on Create tab

Save

Provide the message type and process code

SAVE Note: Process code is used to identify the function module to process the received data from sender system i.e this identified function module will have the CALL TRANSACTION to post the data Ex: DEBM for XD01(Customer)

CREM for XK01(Vendor)

Note: Before sending the data from sender system, all these settings need to complete in the receiver system,other wise the received idoc will be with error status code(51).

Testing Now go to the sender system(800) Execute the T.code BD12 to send the customer details Check the idoc wheather dispatched or not using WE02 or WE05 Idoc Status code should be 03 for successful dispatch

Now go to receiver(Inbound) system Execute the t.code WE05

Execute(F8)

Idoc is posted successfully.

IDOC TEST TOOL FOR PROCESSING WE19 is the T. Code to re-process the idoc in outbound side and inbound side by changing the data in the segments of the idoc Re-processing is required whenever there is an error with the idoc creation(Outbound) or Posting(Inbound) Note: For each re-processing of the idoc with WE19,one new idoc with new idoc number Will be generated BD87 is the t. Code to re-process the idoc by changing the content of the segment without generating the new idoc number In general, we used this in inbound side.