The previous example included an "out of the box" CONF32 SAP IDOC. While the idea of being able to integrate with SAP out of the box is extremely compelling, the reality is it just isn't realistic to expect an out of the box IDOC for each integration scenario that your organization is interested in. Most organizations will attempt to use the out of the box IDOCs before looking to build a custom IDOC. When forced to build, there are a few options that SAP Developers have:
Extend existing IDOCs.
Copy an IDOC structure and modify as you see fit.
Start a new IDOC from Scratch.
Extending an IDOC involves keeping an IDOC structure intact, but adding additional segments that are required in your scenario. This is an ideal solution when you are only missing a few segments and want to leverage SAP's existing efforts.
If SAP has an IDOC that is somewhat similar to your scenario, you can copy that existing structure and then add or remove segments as required.
While SAP does provide a rich...