610 likes | 918 Views
CUSTOMER EXITS. Bonus material for 201 ABAP Interview questions http://www.201interviewquestions.com/books/abap.htm Material Code : BM01 Author : P.Renjith Kumar Genie Press. Different types of Customer exits. The main customer exits are Function Module exits
E N D
CUSTOMER EXITS Bonus material for 201 ABAP Interview questions http://www.201interviewquestions.com/books/abap.htm Material Code : BM01 Author : P.Renjith Kumar Genie Press
Different types of Customer exits The main customer exits are • Function Module exits • Screen exits • Menu exits • Field exits
Purpose of Exits Function Module Exits • Generally for making the validation in the standard transaction code field(s) Screen Exits • For adding the sub-screen in the standard transaction code Menu exits • To enable or disable the menu-bar in standard transaction code Field exits • To validate a particular screen field in standard transaction code
Dummy Project Transaction code CO11N. Requirements • Add a new sub-screen to give the provision to user for entering the HR data and save in standard table to show the information in COOIS standard transaction code. • Validate the field Execution start date should not be more than 1 week from today’s date.
Searching the Function Exits • First take the program name of the standard transaction code. • Now come to se38 and give that name to check package
STEP I Tcode SMOD
Dbl click STEP V
STEP VI Dbl click
ANOTHER WAY TO FIND FUNCTION MODULE EXITS • Go to se38 and give the program name and click the menu utilities find in source code • Now give Call customer in the search string • And process as next slide
Dbl click Required Screen
Dbl Click Required Screen
Now come to SMOD and proceed as STEP I and STEP II
HOW TO FIND SCREEN EXIT • Proceed as mentioned in STEP I and STEP II
Process flow • Do as per STEP IV
Click Here
Field exits • Go to transaction code RZ10 and check in instance profile whether abap/fieldexit parameter value is yes or not. • Now go to standard transaction code and take the data element , screen name and screen no • Now come to se38 run the program RSMODPRF.
Click STEP I Transaction code RZ10
STEP II Press Display Or Change
If it is not there create the new parameter Check the parameter value
Now come back and save the profile Now go to standard transaction code and take the data element, screen name and screen no Here the standard transaction code is CS03