Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sap User Exit for Functional Consultant

116 views

Published on

The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications.

User Exits is slot provided by SAP in SAP standard program.
User exits (Function module exits) are exits developed by SAP.
Code for the function module is written by ABAP Developer .
Developer does not write code directly in functional module , but in the INCLUDE that is implemented in the functional module.

Published in: Education
  • Be the first to comment

Sap User Exit for Functional Consultant

  1. 1. Mail us: businessconsulting007@gmail.com
  2. 2. SAP User Exit Concept For Functional Consultant
  3. 3. Why User Exit ?
  4. 4. User Exit  The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications.  User Exits is slot provided by SAP in SAP standard program.  User exits (Function module exits) are exits developed by SAP.  Code for the function module is written by ABAP Developer .  Developer does not write code directly in functional module , but in the INCLUDE that is implemented in the functional module.
  5. 5. Business Scenario – Need to add field in Menu  Need one field name in “Utilities” named “Object Navigator”
  6. 6. Business Scenario  After User Exit Logic:
  7. 7. Type of User Exit  Function Exit  Menu Exit  Field Exit  Screen Exit
  8. 8. Function Exit  Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits.  When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated.
  9. 9. Function Exit Example When user is creating Vendor and saving it, system should display a popup saying that “This Vendor belong to (Country Name)”
  10. 10. Function Exit Example  Now During saving Vendor details a popup is coming
  11. 11. Menu Exit  Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add- on applications.  SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
  12. 12. Menu Exit Example  Need one field name in Utilities named “Object Navigator”
  13. 13. Menu Exit Example  After User Exit Logic:
  14. 14. Field Exit  Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field.
  15. 15. Field Exit Example  Field name “Region” need to be change to “State”
  16. 16. Field Exit Example  Field name change to “State”
  17. 17. Screen Exit  Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
  18. 18. Screen Exit Example Need a additional Tab in Purchase Order item named as “Customer Data” came with some required information like Id, Age and Name
  19. 19. Screen Exit Example  A new Tab “Customer Data” came with some required information
  20. 20. How to find User Exit Method 1: 1. Execute the transaction for which you need to build user exit 2. Copy PACKAGE name. 3. Go To the transaction SMOD and find User Exit with the help of package name Method 2: 1. Go To transaction SE93 -> Enter the T. Code for which you want to search User Exit. 2. Copy PACKAGE name 3. Go To the transaction SMOD and find User Exit with the help of package name. There are some other methods also to search USER EXIT in SAP
  21. 21. How to find User Exit
  22. 22. How to find User Exit
  23. 23. How to find User Exit
  24. 24. How to find User Exit 1 2 3
  25. 25. How to find User Exit
  26. 26. How to find User Exit
  27. 27. How to find User Exit
  28. 28. Step by Step User Exit Implementation 1. Enter the transaction VA01
  29. 29. Step by Step User Exit Implementation 2. Go to menu System and select sub item status. We will get the name of the program as (SAPMV45A).
  30. 30. Step by Step User Exit Implementation 3. Go To SE38 Editor and type the program name as SAPM45A. And select subobjects – attributes radio button and press Display. Note the package name. In this case, it is VA
  31. 31. Step by Step User Exit Implementation 4. Go To - SMOD Transaction (SMOD is used to find the enhancements and user exits.) Here if we enter the enhancement name it results the list of user exit names. But we don’t known the Enhancement name so press the Utilities > Find menu option. Excecute
  32. 32. Step by Step User Exit Implementation 5. Select correct User Exit
  33. 33. Step by Step User Exit Implementation 6. Functional Module
  34. 34. Step by Step User Exit Implementation 7. We go to CMOD Click on Save and then on “Enhancement assignments)
  35. 35. Step by Step User Exit Implementation 8. Now enter your enhancement name, click on Save and then on “Components”
  36. 36. Step by Step User Exit Implementation 9. Now double click on the required function exit
  37. 37. Step by Step User Exit Implementation 10. Now double click on INCLUDE and write the code for USER EXIT

×