cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC wrapper

Former Member
0 Kudos

what is the use of IDOC wrapper.....my compnay people go with Wrapper for all the idocs...

why do we use it....and when...

Harsha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In our compnay, as part of the error handling requirement. There's a need to send u2018Erroru2019 alert to SAP PI whenever the IDOC is in u2018Erroru2019 status. This will be triggered after each IDOC processing. In order to apply this requirement thereu2019s a need of using standard SAP User-Exits in each of standard IDOC FM, and the User-Exits must exist at the end of each IDOC processing. Thereu2019ll be an issue in order to apply the requirement:

Not all standard SAP IDOC provide a User-Exits at the end of IDOC processing.

Even if thereu2019s a User-Exits the code will have to apply to each individual exits across different SAP IDOC function module.

All of the above changes will create an inconsistencies and additional maintenance work as such the developer need to records each individual User-Exits name across different IDOC function module.

A generic approach has been developed to solve this issue (Details in slides u201CSolution Detailsu201D). Below are the objects required for this development:

IDOC processing Function Module to use across all the IDOC interface.

IDOC process code.

IDOC customize maintenance table.

Answers (2)

Answers (2)

Former Member
0 Kudos

alerts cannot capture IDOC is failure at Receiver .....but flow would be fine at XI

something like STATUS 51,etc...

Edited by: PSRK on Jun 19, 2008 1:56 PM

GabrielSagaya
Active Contributor
0 Kudos

When processing multiple IDocs, the ALE Module requires a wrapper business object as the top-level business object. The multiple IDoc wrapper business object contains an attribute that represents an array of IDoc parent wrapper business objects.

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wsadapters.jca_sap....