Recently I have done an implicit enhancement for PO screen.
We know there is a tab for "Personal Settings" in PO screen.
Every user has permission to change this setting.
Recently I Found a discussion for that also to restrict that.
I make this for an explicit enhancement with help of our ABAPer.
I want to share this.
First you have to find the function for the personal settings
Just go to ME23N, move the mouse courser to Personal settings, then just press F1
You can see the pop-up box as shown as above.
Now follow the steps.
Step 1:
Go to ME23N Screen.
Go to System (In MENU Bar) -> Status
Find the program, The program is SAPLMEGUI. Double click on this program. Just press "FIND" (Not Ctrl+F, you have to press the Binocular on application bar) and write there "MEPERS" (Its for personal Settings). Then press enter.
You will see the above screen. Go to bottom of this screen, you will find this as above screen.
Copy the LMEGUICJL.
Step 2:
Open LMEGUICJL include in t-code SE38 in display mode.
And Click on spiral symbol (Enhance) as shown below.
After clicking Enhance the screen will be as below.
Step 3:
Now go to EDIT on menu bar then select ENHANCEMENT OPERATION - SHOW IMPLICIT ENHANCEMENT OPERATION.
After clicking the above option we can find arrow symbol below method IF_COMMAND_MM-EXECUTE
STEP 5:
Right click on that line anywhere and choose ENHANCEMENT IMPLEMENTATION->CREATE
After that Create new implementation as shown as below.
Give the Name and Description and save into a TR.
Then select newly one and press "CONTINUE"
Now our needs to place in this Enhancement.
Step 6:
Place the relevant code as shown below figure.
We can restrict as many user as we want own logic.
Step 7:
Click Activate as below screen.
Then whenever the user will click in personal settings, he will get the below information message and he will not able to change the settings.
TO CHANGE THE CODE LATER
RIGHT CLICK ON ENHACEMENT ->ENHANCEMENT IMPLEMENTION ->CHNAGE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |