Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User exit basics

Former Member
0 Kudos

Hi all,

plz clarify me the following.

1.can we able to use customexit and userexit interchangeably?

2.define field exit,screen exit and menu exit

Thanks

Message was edited by: raja gurrala

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Last one doubt.

U said that userexits are <b>technically called modification.</b>means modifying the standard program if we add our code to this?

So at Upgradation this userexit amy not go into newer version right?

14 REPLIES 14

FredericGirod
Active Contributor
0 Kudos

Hi Raja,

if your question is: is it possible to create your own user-exit where you would like ... the answer is NO.

User-exit/ field-exit ... are define by SAP in special location.

Rgd

Frédéric

Former Member
0 Kudos

Frederic,

I am a bit new to user exits.

I wud like to have some crystal clear clarification on basic terms.

My first question was:

Some use term custom exit and some use user exit..then my Q Is that OK to use or they have different meanings?

and what about the term Enhancements?

0 Kudos

Hi

Refer the earlier posts on the userexits.

abdul_hakim
Active Contributor
0 Kudos

Hi Raja,

<b>User exits</b> are empty subroutines that SAP Developers have provided for you.You can fill them with ur own source code.<b>Technically this is a modification.</b><b>Customer exits</b>(FM exit,menu exit,screen exit) are includes in customer name space which is placed in FM whose name starts with CALL CUSTOMER.You can fill them with your own source code.<b>Technicall this is a enhancement.</b>Suppose the Customer exits and User exits provides you same sort of functionality in ur application then you can use either else you cannot...

<b>It is not correct to use User exit for Customer exit and viceversa...</b>Regards,

Abdul

Message was edited by: Abdul Hakim

Message was edited by: Abdul Hakim

Former Member
0 Kudos

Abdul,

Thanks for ur reply..

See i worked out on an userexit.

<b>Exit_saplmeko_001</b> ...i think it is called Function exit i added my code to this in an include which was there inside this.

<b>Is it Uexit or Custom exit..?</b>Any how it falls under one category and <b>give an exmaple</b> to check for another one..

Thanks in advance

Message was edited by: raja gurrala

0 Kudos

Exactly this is a customer exit.

user exit will look something like:

&----


*& Form USER_EXIT_SALES_AREA_DETERMINE

&----


  • The internal table vber contains all the sales *

  • areas for which the customer will be created *

  • This routine is called from the routine *

  • VERTRIEBSBEREICHE_ERMITTELN after the standard determination *

  • has filled the internal table *

----


FORM USER_EXIT_SALES_AREA_DETERMINE.

ENDFORM. " USER_EXIT_SALES_AREA_DETERMINE

This subroutine is empty you can fill with your own source code.This is what called user exit.

Regards,

Abdul

Message was edited by: Abdul Hakim

Message was edited by: Abdul Hakim

Former Member
0 Kudos

HI

Can anybody explain the following terms.

<b>I am not getting clear idea from documentation</b>..

1.Field exit

2.Menu exit

3.Screen exit

4.Function exit.

Thanks in advance

0 Kudos

Hi,

<b>1.Field Exit</b>Helps you to popup certain messages when user performs certain action on the standard field.

<b>2.Menu Exit.</b>

Adding additional menu entries to the standard menu.

<b>3.Screen Exit.</b>

Adding additional screen fields to the standard screen.

<b>4.Function Module exit.</b>

Contains include in customer namespace with which you add ur own source code..

REgards,

Abdul

Former Member
0 Kudos

Hi abdul,

Thanks again..

Menuexit is for adding menu items ? or new menus ?

Cud u please provide some detaild info on Field exit?

adding fields to exist screen means creating subscreen adding field to it etc?

I heard funtion exits intermingled with MEnu exits?

cud u please clarify the above all...

Thanks,

Raja

0 Kudos

Hi

Menu exit means adding menu entries to the SAP Standard menu.

Regarding field exit assume that u have a field in a standard program called customer no.If the user enters any wrong entry then you would like to popup certain message u can achieve this thru field exit.

Let it be a Menu exit or Screen exit it is mingled with Function module exit.There wont be any sense in having the former without the latter..

Hope this will clarify your doubts..

Regards,

Abdul

Former Member
0 Kudos

Thank u very much abdul..

Kindly provide an [<b>b]example which i can try...</b>

for <b>Field exit?</b>Kindly clarify the term <b>Enhancement</b>

So that i can close my thread..

0 Kudos

The function module for the <b>field exit</b> will starts with CALL FUNCTION FIELD_EXIT_*

Eg: <b>FIELD_EXIT_EIGXX</b>, check this in se37

You can check for this in the program..

<b>Modification</b> means making changes to the standard which requires Key.

<b>Enhancement</b> means adding some additional features to the standard which doesnt requires any key.

Regards,

Abdul

Message was edited by: Abdul Hakim

Former Member
0 Kudos

Last one doubt.

U said that userexits are <b>technically called modification.</b>means modifying the standard program if we add our code to this?

So at Upgradation this userexit amy not go into newer version right?

0 Kudos

Hi Raja,

Even if you add a WRITE statement to the subroutine it is a modification since the object in SAP Namespace has been modified.

At upgrade this user exit will go into the newer release.

You don't need to worry about it.

Because if SAP Plans to have new user exit then they will put it in a new include..

Regards,

Abdul