2013 Dec 05 6:10 AM
Dear Team,
Our requirement is to restrict the document creation based on Lab/Office in CV01N.
For that we have created a Authorization Object with the fields ACTVT,DOKAR and LABOR in SU21.
Basis team has created Role and assigned this Authorization Object(Z_DRAW_LAB),Users needs to be restricted in PFCG.
But when we try to create document for the restricted user in CV01N, it is allowing to create the document irrespective of the authorization.
Why it is allowing to create the document..?
Thanks & Regards
P.Thangaraj
2013 Dec 05 6:34 AM
There is a standard authorization object C_DRAW_TCD -> use DOKAR level restriction for document types
I believe it can be used to restrict the access based on Create/Change/Display and based on Document Types in the system.
If they already have this role then by using a custom role will not restrict the current access.
You can co-ordinate with your basis & Fxnl to analyze these roles.
Hope it helps
2013 Dec 05 6:18 AM
Hi
Can you please start debugging and put a break point at Authoriation object statement and check the same
Nabheet
2013 Dec 05 6:34 AM
There is a standard authorization object C_DRAW_TCD -> use DOKAR level restriction for document types
I believe it can be used to restrict the access based on Create/Change/Display and based on Document Types in the system.
If they already have this role then by using a custom role will not restrict the current access.
You can co-ordinate with your basis & Fxnl to analyze these roles.
Hope it helps
2013 Dec 05 6:48 AM
Hi Byju
We r trying to restrict the user with Lab/Office and not Document type. The Document type will be same for all the users and full authorization has been given for the same.
2013 Dec 05 6:56 AM
You can use BADI DOCUMENT_AUTH01 method CHECK_AUTHORITY for the same
There are many BADI's available like DOCUMENT_MAIN01.
Nabheet