100% found this document useful (1 vote)
245 views10 pages

Function Exits

Function exits allow customers to add custom logic at defined points in SAP transactions. The SAP developer determines where function exits are called and which data is passed. They create function modules for the exits with documentation. Function exits are used to enhance transactions. Customers implement the exits by creating ABAP source code for the function module that is assigned to their implementation project. The function exit source code can then call additional programs or include other includes.

Uploaded by

api-3738703
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
245 views10 pages

Function Exits

Function exits allow customers to add custom logic at defined points in SAP transactions. The SAP developer determines where function exits are called and which data is passed. They create function modules for the exits with documentation. Function exits are used to enhance transactions. Customers implement the exits by creating ABAP source code for the function module that is assigned to their implementation project. The function exit source code can then call additional programs or include other includes.

Uploaded by

api-3738703
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Function Module Exits

1
Definition

Function exits allow the customer to implement additional logic in a


transaction. The SAP application developer determines the points in
a transaction at which function exits are called, and which data is to
be transferred. He creates the appropriate function modules with
short text, interface and documentation. The functionality provided for
a function exit is described in the accompanying SAP documentation.

2
Objectives

• Knowing when to apply Function exits.


• Using an enhancement consisting of Function exit along with
a Program Exit.

3
Program Enhancements

4
Function Exits-Define

Calling and Creating Function Modules

PROGRAM < program_name>.


.
.
.
CALL CUSTOMER-FUNCTION '001'.
.
.
.

FUNCTION-POOL SAPLX<name>.
.
.
.
FUNCTION exit_< program_name >_ 001.
.
.
.
ENDFUNCTION.
R

5
Function Exits-Implement

Assigning SAP Enhancements to Customer Projects

Project Management
System Help

Project
Change
components Project Management
System Help

Function module exit


exit_<prog>_001
Edit
components Function Builder
System Help

FUNCTION exit_<prog>_001.
...
INCLUDE zxaaau01
.
ENDFUNCTION.
Choose
object ABAP Editor
System Help

*INCLUDE zxaaau01.

6
Function Exits-Structure

7
Function Exits-Source Code

8
Function Exits-Summary

9
Thank You

10

You might also like