Function Module Exits

<< Click to Display Table of Contents >>

Navigation:  All About ABAP Technique > English > ABAP Tutorial > ABAP Workbench Tools > Enhancement > Customer Exits >

Function Module Exits

Objective

Function Module Exits

Transaction code

CMOD - Project Management of SAP Enhancements

Support

Video Customer_Exits_MM01_MM02

 

Within these pages will be exemplified how to insert Code on a program that has the SAP Customer exits with type of the "Function Module exits", examples of t-Code that used are "BC425_18".

 

1. Open t-Code CMOD

2. Insert project name "ZCBC1801" and Click Create.

abap_tutorial0148

 

3. Type the short text

abap_tutorial0147

 

4. Click "save" then press the button "Enhancement Assignments"

5. Insert Enhancement from Object that has been found on SMOD, that is "SBC18E01"

abap_tutorial0146

*Object "SBC18E01" is sought with use "Find Customer Exits" technique

 

6. Click "save" then press the button "Components"

abap_tutorial0125

 

7. Double Click "EXIT_SAPBC425_FLIGHT18_001"

abap_tutorial0145

 

8. Double Click include "ZXBC425G18U01" then press Enter

 

abap_tutorial0124

 

9. Press the button "Yes" and save in Local Object or Development Class accordance with the requirements

abap_tutorial0144

 

10. As simple check then write syntax message box

abap_tutorial0143

*FLIGHT is import variable  that available in function module "EXIT_SAPBC425_FLIGHT18_001"

 

11. Activate Program

12. Then press the button "Back" twice for back to the screen as below

abap_tutorial0125

 

13. Click "Display/Change" then press the button "Activate"

 

14. Then test using t-Code "BC425_18"

Create Data Sample

 

15. Insert the value as bellow then press enter or press the button "Display"

abap_tutorial0140

 

16. If message box appears as bellow then Function Module Exits has been successfully created.

abap_tutorial0126

 

17. Finish

 

Notes : If not appear then do step 5 with another object that has been found