09-29-2010 11:32 AM
Hi,
We have so many plants in group company and with different order categories. When a user runs the tcode:COFC he is able to see all the plants and orderswithin the company. We want to restrict the access to specific order category and plants.
I have use the authorization objects C_AFFW_TWK C_AFKO_AWK but I did not get any successs.
Please suggest
Thanks
09-29-2010 12:25 PM
Check if the user gets a * (all plants access) from the roles in which he has related transactions like CO14, CO03, ........
09-29-2010 12:25 PM
Check if the user gets a * (all plants access) from the roles in which he has related transactions like CO14, CO03, ........
09-29-2010 1:28 PM
09-29-2010 1:34 PM
09-30-2010 1:24 AM
Hi,
there is no authorization check executed during selection of records from table AFRC. That report is really simple. It reads records from AFRC restricted by selection screen and displays result in ALV. Therefore the only way how to add additional authorization check is to extend that report using enhancement framework or direct modification. If you are on NetWeaver platform then you can use enhancement framework. There is only one point which you can use. It's the beginning of subroutine list_entries_alv. The problem is that if user does not select checkbox List Display then this subroutine is not executed and there is no suitable enhancement point. So you can try to set up variant for this transaction to always use List Display and hide it from users.
Cheers