Demo On Enhancement Framework
Demo On Enhancement Framework
Restrict users (sales persons) to view or change Sales order data - Using
Enhancement framework:
Example Scenario:
One sales person can’t see or change another sales person’s sales orders.
Sales person1 (user 1): lz8xzf Owner for Sales order no: 174.
Step2: In order to implement any of these Source code enhancements, you need to be in ‘change
Enhancement mode’ (the spiral icon available in the editor).
Step3: Go to EDIT option in the menu and choose Enhancement Operations -> Show
implicit Enhancement Options
All Implicit Enhancement option will be displayed. All yellow lines indicate Implicit
Enhancement options. In ABAP programs, implicit enhancement options are predefined
at the following places:
Step6: Here Editor will be enabled to write the code. Write your own code save and
activate it.
Step 7: Once the development is completed you can test the scenario.
When Sales person (lzn4rm) tries to Open Sales order no 174, it gives error message ’Access Denied’.