Sunday 20 January 2013

Reprocessing and Function Module Testing of Idocs.


In an Idoc there are mainly three segments. Control record (EDIDC), Data record (EDIDD) and Status record (EDIDS). Idoc can have many data and status records but there can be only one Control record.

To reprocess an Idoc, first we have to know the status of it. For that we have to execute the Tcode WE02/WE05 which displays the entire Idoc list and from there you can find the Idoc which you have to reprocess.

Steps to fallow:

  1. We02/05 --> Display all Idocs --> Your Idoc --> Status Record (if the Idoc is successfully processed the status would be 03 for Outbound Idoc and 53 for Inbound Idoc).
  2. BD87 --> Idoc inbound process (Keep the cursor on it) --> Process.

You will encounter some scenario where you have to find the function modules used in Idoc to test why the Idoc is not getting triggered or not getting reprocessed. In those scenarios fallow the above steps to know the status. And to know the function modules we have to fallow the below steps.

Steps to fallow:

  1. WE20 --> Partner Type -->In inbound parameters select the message type (double click) --> Process Code (Double Click) --> You will find the function module (Identification).
  2. We19 --> Inbound function module -->Select call in debugging mode --> You will enter the debugger.

No comments:

Post a Comment