Customer exit in ABAP.

 Customer Exit.

* Customer exit is an enhancement. We enhance the SAP functionality in customer namespace (Z or Y).

* There are 3 types.

        > Function module exit / Function exit.

        > Menu exit.

        > Screen exit.

Function module exit.

* It allows us to add your code to SAP programs with the help of function modules.

* Syntax: CALL CUSTOMER-FUNCTION 'three-digit number'(000 to 999).

* Example CALL CUSTOMER-FUNCTION '001'.

Menu exit.

*  Menu exit allows us to add menu items to the menu of SAP programs.

*  These menu items have function code that begins with "+"(a plus sign).

*  We can perform customer specific functionalities on these menu items.

Screen exit.

* Screen exit allows us to add fields to the screen of SAP programs with the help of customer sub screen.

* SAP provides sub screen areas within a standard screen.

* The customer sub screen is called within the standard screen flow logic.

* Syntax to call customer sub screen into standard screen - CALL CUSTOMER-SUBSCREEN 'sub screen area' including 'program name' 'customer sub screen number'.

* Example- CALL CUSTOMER-SUBSCREEN 'custscrn2' INCLUDING 'SAPLXT' '2000'.

Important points

* One customer exit can only be assigned to one project at a time.

* SMOD - Transaction code to find customer exit.

* CMOD - Transaction code to implement a customer exit.

* MODSAP - Table to find a customer exit.

* MODACT - Table to find a project for a customer exit.


Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).