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 EXITS

Former Member
0 Kudos

HI ALL

What is USER EXISTS and where we will use this.

Thanks,

SrikanthN

7 REPLIES 7

Former Member

Former Member
0 Kudos

anversha_s
Active Contributor
0 Kudos

hi,

hi

USER EXITS->

1. Introduction:

User exits (Function module exits) are exits developed by SAP.

The exit is implementerd as a call to a functionmodule.

The code for the function module is writeen by the developer.

You are not writing the code directly in the function module,

but in the include that is implemented in the function module.

The naming standard of function modules for functionmodule exits is:

EXIT_<program name><3 digit suffix>

The call to a functionmodule exit is implemented as:

CALL CUSTOMER.-FUNCTION ❤️ digit suffix>

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

CUSTOMER EXITS-> t-code CMOD.

As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.

Among others, this enhancement technique has the advantage of

being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,

customer, and so on)

instead of a two-level landscape (SAP, customer) as with the customer exits.

You can create definitions and implementations of business add-ins at any level of the system landscape.

To unify enhancements of the SAP Standard you can migrate customer exits to business add-ins.

http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm

*****************

n order to find out the user exits for any tcode,

1. get the developement class of the tcode from SE93.

2. Now goto transaction SMOD and press F4,

3. give in the Deve class in the dev class and Press ENTER

this will show u the exits for any tcode.

or execute this report

http://www.erpgenie.com/sap/abap/code/abap26.htm

which gives the list of exits for a tcode

http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm

For information on Exits, check these links

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

http://www.sapgenie.com/abap/code/abap26.htm

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

http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction

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

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

http://www.sappoint.com/abap/userexit.pdfUser-Exit

rgds

anver

Former Member
0 Kudos

User Exits are a method whereby the end user can add extra functionality or

change to a certain degree the way that SAP performs certain functions.

How are they implemented ?

User Exits are implemented in such a way that unlike changes to SAP

standard code, they will survive across upgrades and hot pack applications.

They are also User Objects and can therefore be implemented without the

need of requesting an SSCR from SAP.

Within the standard SAP programs at key points are calls to function

modules starting with 'EXIT_'. These function modules generally accept as

input parameters structures containing for example the entire Order Header

(VBAK) of the sales order just entered, or perhaps a table of the Order

Items. These function calls are placed at points such as just before the

Order is saved or just before it is printed and so on.

These function modules contain a single include statement. The name of this

include is in the User domain and starts with Z. This enables it to be

edited without the need for an SSCR and also prevents it being overwritten

during upgrades.

Once this include has been created and activated, and the user exit is

activated the User exit becomes functional.

Implementing a User Exit.

User Exits are implemented using the transaction code 'SMOD'. Enter this in

the command line and press the Enter key. This will then show the SMOD

parameter screen:

User Exits are assigned a project name which begins with Z. Having entered

the relevant name in the 'Project' field, click the Create (or Change)

button as applicable.

When you are creating a new project, the projects attribute screen will be

displayed. This allows you to enter a title for the project and allows

access to the Enhancements (User Exits) that you want to assign to the

project and the components that you wish to use within those enhancements.

This screen allows you to enter a description of the project. Once you have

done this, click the save button. You will be asked as usual to assign a

development class and create a transport.

Once the transport has been created you can then go on to assign the

enhancements that you wish to use to the project.

Former Member
0 Kudos

Hi namubri,

1. For SD Module :

Program Name : MV45AFZZ

Form routine : FORM USEREXIT_DELETE_DOCUMENT.

Form routine : USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.

and etc.

This FORM Routines,

are called at specific points

from standard program.

2. Previously there were only user-exits.

3. Then came the concept of customer-exits.

4.

user exits were nothing but

subroutines

FORM/PERFORM

called from standard programs.

5. The FORM defintion was placed inside

an empty include file.

6. So It was called EVERYTIME.

and we need to MODIFY/REPAIR the

standard include .

7. Then it came with concept of customer-exit

8. It consists of calling a FUNCTION MODULE,

which is called only if

the user-exit is ACTIVATED (other wise not called)

In this case, the code in put inside

a pre-defined Z include.

*----


9. Functionality of both is same, howerver

we can note the following important differences

a) Customer exit is called only if activated.

(hence, it does not waste resources)

b) in customer exit, REPAIR does not happen

to the standard include.

regards,

amit m.