Purpose:
To take a look at failing PLM authorizations in ESH_TEST_SEARCH
Overview:
You may find that in your PLM scenario your search fails when you run a search via ESH_TEST_SEARCH
To Proceed:
Run the programme: ESH_TEST_SEARCH (se38)
In Expert mode
and select
Debug Authorization
Your PLM scenario throws up some red indicators in authorisation trace as follows:
Please note the following:
In PLM the ordinary material authorization objects M_MATE_MAN, M_MATE_MAR and M_MATE_MAT are not sufficient.
Users must also be authorized for authorization object PLM_SPUSR or PLM_TRUSR. The complete authorization check is like:
M_MATE_MAN AND M_MATE_MAR AND M_MATE_MAT AND ( REST )
Where REST is
PLM_SPUSR_MAT OR ( ( PLMB_USER_GRANT OR PLMB_USER_GROUP ) AND NOT PLMB_USER_WITHDRAW ) OR ( PLM_TRUSR_MAT AND NOT PLMB_OBJ_ACC_MAT )
It is not sufficient that the user has authorizations M_MATE_MAN, M_MATE_MAR and M_MATE_MAT.
In addition at least one of the checks in REST must also pass successfully.
USER_AUTHORITY:
If you make the above changes to your users authorization then you will have to run USER_AUTHORITY to ensure that the changes get indexed.