cancel
Showing results for 
Search instead for 
Did you mean: 

Which option to choose-idoc user exit or copy standard idoc?

xinjiang_li
Active Participant
0 Kudos

Hi gurus,

We are using idoc technolody to implement the interface between R3 and 3rd party system via PI.

Most of idocs are inbound processing, and it seems standard idoc can't meet our all requirements.

So we are considering the option:i choose doc user exit or create new idoc by copying standard idoc.

Which way do you like better?What are the advantages and disadvantages of them?

Any help will be appreciated.

BTW, our customer will upgrade their R3 4.7 system to ECC6.0 after this project the next year.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

User Exit is better approach instead of creating new idoc.

User Exit :

Userxits allow us to add our own functionality to SAP standard program

without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.

All Userexits start with the word USEREXIT_...

FORM USEREXIT_..

z..

ENDFORM.

User exits are primarily used in the sales and distribution component. You can find an overview of user exits as well as a description of those user exits that exist in SD in the SAP Reference IMG under Sales and Distribution ->System Modification -> User exits.

Advantage: In principle, customers can modify anything they want that is found in the include (tables, structures, and so forth).

Disadvantage: SAP cannot check the individual enhancements themselves which often leads to errors in the enhancement process

refer this blog

http://sap.niraj.tripod.com/id21.html

regards,

ganesh.

Edited by: ganesh.nijampudi on Nov 3, 2011 5:41 AM

Edited by: ganesh.nijampudi on Nov 3, 2011 5:41 AM

Former Member
0 Kudos

Definitly use the user-exits.

if you need more fields in the structure then you can extend the standard IDOC. There are normally user exits which are called for each segment and you can add or read the data from those with no problems.

This is what it is for and if you read the documentation and any blogs you can find it is pretty simple.

If you start copying and changing standard IDOC processing routines then you will have problems when you upgrate.