Interview questions for enhancements in ABAP
1. Enhancements
* Will enhance the sap functionality in customer name space.
* Customer name space-> (z or y)
2. Modifications
* Will enhance the sap functionality in sap name space.
* Name should not start with z or y.
3. Types of enhancements
1. Implicit and Explicit enhancements {enhancements}
2. Customer exit. {enhancements}
3. Badi {enhancements}
4. User exit {modification}
4. Implicit enhancement
* Implicit point is available at the starting or at the last of program.
* Subroutines, function modules etc.
5. Explicit enhancement
* Explicit point & section are available at any line.
* Point - It will not give default implementation.
- You can only add additional codes, you can't replace the existing code.
* Section - It will give default implementation
- You can change or replace the existing code.
6. 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.
7. BADI
- Badi is an enhancement. we enhance the sap functionalities in customer name space.
- Business add ins.
- It is based upon oops concept (Interface and classes).
- SE18 - Badi def.
- SE19 - Badi impl.
- There are 2 types on Badi
* Classic Badi - no enhancement spot - default create class.
* New Badi (kernel Badi) - have enhancement spot - give class name.
8.User exits
* User exits are modifications. we enhance the SAP functionalities in SAP namespace.
* They are only available in SAP SD module.
* They are available in the form of subroutines.
* The most important user exits related to sale order are available in program MV45AFZZ.
* X - New data.
* Y - Old data.
* Update indicator
- I (insert).
- U (update/change).
- D (delete).
9. What is enhancement spot?
* Explicit enhancement.
* Enhancement spots are containers for explicit enhancement options.
10. What is the use of SAP internal, Multiple use, Filter depend?
* SAP Internal
- It can be used by only SAP.
* Mutiple use
- Multiple use Badi can be used for multiple implementations.
- Check box is checked then it is multiple use.
- Check box is unchecked then its single use.
* Filter
- In BADI's filters give you a chance to call specific implementation based on filter value.
- Actually, it is available whenever you have multiple implementations for one BADI definition.
Comments
Post a Comment