Entering content frame

Function documentation User Exits Locate the document in its SAP Library structure

Use

User exits offer you the possibility of accessing the processing of a generated application at specified locations and at specified times or events in order to incorporate customer-specific programs in standard procedures.

Programming these modules is not at all simple. For this reason only qualified application programmers with relevant SAP knowledge (ABAP) should be entrusted with the creation of user exits.

There are user exits which are assigned to the entire document (see User Exits for the Document Category), and those which are assigned to individual documentation elements (see User Exits for the Documentation Element). Each user exit is assigned to a processing event. If a customer-specific subroutine has been entered for an event, it will be called by the processing programs without further checking once the event is being processed.

You can use user exits to integrate external data processing into document processing. However, user exits are always specific to document categories, as they are integrated as an include into the processing program of each document. You can integrate external data independently of the document category using so-called External Data Modules.

User exits must be created as subroutines (FORM routines) in so-called includes. An include can contain several user exits.

Note

When your include has already been included in the generated application, you should use the function Program ® Check ® Main Program. You can check whether the include is error-free can be checked by generating the program.

You can find further information, for example, on generally available from routines, general global variables and printing the element list, under Important Notes About User Exits.

Caution

If you use Generator Version 2, you should refer to the deviations described in Generator Version 2.

 

 

 

Leaving content frame