on 09-02-2014 6:41 AM
Dear All,
We have a requirement i.e. User should be able to see only authorized entities when he/she press F4 on any field like Company code,Customer number,Sales Organization etc.. in any standard screen of SAP transaction codes.
For Ex: we have 3 company codes 1000,2000 and 3000. Assume user is authorized for 1000 only. If user presses F4 on BUKRS field in any screen, it should show only 1000 as possible entry.
Is there any way to address this issue. Please help....
As other users said, from my experiece, you will need to put custom validation code in search help exit. It will perfom authorization checks of the user.
If you do search on "search help exit", you will get a few hints on SDN.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Once you press F4 against the Company Code field from search option, in Drop Down list on the TOOL BAR there is an icon INSERT IN PERSONAL LIST. Place the mouse on the Company Code which you want and then click on the INSERT IN PERSONAL LIST. Also Click on Personal Value List after choosing Company Code of your choice in Insert Personal List. Don't forget to click on KEEP Button. Kindly note, this is only valid for that particular user only where you are exercising your insert personal list.
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Lakshmipathi,
Ya this is one option we can try as u have mentioned. But this option cannot solve the basic business requirement of "user should not be allowed to view the details of the other company codes which he is not authorized".
As per your solution user can always go and select the complete list option. Hence we are looking for a enhancement or any other program level restriction to control this.
Please suggest on these lines.
Hi Sudhir,
For standard programs i am afraid you can't restrict it via authoriztion. Check any user exits are available related to F4 help in the program.But not sure as most of the times F4 is assigned directly from dictionary structures.
you can create Company code restriction via roles and authorizations so that user wont be able to process the data with that company code.But still entries will come in F4.
Regards,
Kannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As of my knowledge, you can't restrict the entry in F4 list via authorization.
In standard, you can use the favorite list while pressing F4 or you may can go for your own development.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can't say what will be the coding.. For coding part, you have to sit with your abap team.
I can give you only logic for the coding.
You need to fetch the value for the particular user from role
User ID - Role - Authorization Object - Value.
Only this value will show when the user will press F4 for the correspond field. A smart abaper can do the coding on search option.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.