Difference between IDOC and IDOC type?

IDOC type specifies Data Structure and IDOC is the instance based on IDOC type.

What is structure of IDOC?

IDOC has three type of records -

  • Control Record - Contains control information.
  • Data record - Contains IDOC data.
  • Status - Holds IDOC status.

How can debug runtime IDOC?

When it comes to debugging, I believe we can make use of WE19.

How do you get output from IDOC?

Data in IDOC is stored in segments; the output from IDOC is obtained by reading the data stored in its respective segments.

How do we generate IDOC in SAP?

We can generate IDOC using function module MASTER_IDOC_DISTRIBUTE.

How to reprocess error IDOC’s?

We can reprocess error IDOC's(status 51) using program RBDAGAIN.

How to reprocess edited IDOC’s?

We can reprocess edited IDOC's using program RBDAGAIE.