cancel
Showing results for 
Search instead for 
Did you mean: 

When we use User Exit & Customization in case of Idocs

Former Member
0 Kudos

Hi All,

When we will use User Exit Concept & when we will use Custom development Fields for One IDOC

In case of when i want to have some extra fields to my standard Idoc

Regards

Vamsi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

User Exits

SAP uses an User Exit (SMOD/CMOD) in order to make an enhancement of customers a lot more convenient. There are very many user exits available within SAP.

When using an user exit, the system does NOT become modified what happens when you start changing SAP for your needs.

So, it is very interesting to make use of all options, that leave the SAP system as unmodified as possible. Therefore, you should always check the available user exits in the area for your needed enhancements.

Check these links on User Exits

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sap-img.com/abap/what-is-user-exits.htm

http://www.planetsap.com/userexit_main_page.htm

http://www.easymarketplace.de/userexit.php

http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html

http://sap.ittoolbox.com/documents/popular-q-and-a/debugging-a-user-exit-or-program-3022

http://help.sap.com/saphelp_nw04/helpdata/en/81/8c5738ee806b0ee10000009b38f889/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/5c/8db0be555411d189660000e829fbbd/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50...

Custom development Fields for One IDOC

With the use of WE30/31 you can add the coustmized fields in the standard IDOCs. You need to add the segment to include the Business Specific fields.

You need to use the User Exists to read/ process these Custom IDOC segments and fields.

For e.g

check User exit : EXIT_SAPLV56K_001 ( in the include LV56KF0B )

and BADI : BADI_V56K

Thanks

Swarup

former_member184619
Active Contributor
0 Kudos

hi Krishna,

User-Exits are used to add some extra functionality in the existing.

Example: - you want to calculate tax/interest on click of a particular button in existing SAP screen. then you find the user-exits for that transaction and put the required code in that user-exit.

and custom development for IDOC is required when you are not getting the desired input/output from the existing fields of IDOC. Then u add additional Segment/fields in IDOC.

Sachin

Former Member
0 Kudos

Hi,

User-Exits are used to add some extra functionality in the existing.

Can you please give an example by taking the Idoc case??

Regards

Vamsi

former_member208856
Active Contributor
0 Kudos

Hi,

When you want to send some data which is not in the structure of idoc.

First you will extend the structure of that idoc basic type.

Second you will use the user exit for filling data into that strucutre.

Regards,

Sandeep Kaushik

Former Member
0 Kudos

an existing IDOC where u have extended the IDOC to have one more segment. hence inside this exit u can populate the value for the fields in ur custom segment

Former Member
0 Kudos

Hi,

For example,

In case of MATMAS IDoc, there is E1MBEWM which has a currency field and u need to convert this currency from EURO to USD.

U can write the logic in the user exit

Regards,

Shabari