CRM權限分析

1. Scenario:

At your customer you have created your own Work Centers and/or navigation links. The functional and/or technical consultant has done all configuration and coding and on your development system the new functionality seems to work fine. The functional SAP CRM consultant has tested the functionality (he has broad authorization access in the SAP CRM system e.g. no restrictions on authorization object UIU_COMP as it contains * for all authorization fields).

In this example a new navigation link has been added, called “Upload Broadcast distribution List

Custom Navigation link in SAP CRM

Now that the unit and integration testing has taken place he will probably ask the authorization team to include access to the new navigation link in the existing PFCG authorization roles. As such, the authorization administrator will probably perform an ST01 authorization trace to find out the relevant authorization values, especially related to the object UIU_COMP.

The trace log showed following result (the test was of course performed with a user that actually WAS able to use the new functionality –so probably tracing was done for the functional SAP CRM consultant at that point in time).

The authorization administrator now logically added the relevant values for this authorization object UIU_COMP in the existing or new PFCG authorization role, but during UAT testing (user acceptance testing) the key-user testing the new functionality still does NOT see the new functionality (navigation link). What’s happening?

2. Definition of the Inbound Plugs

Inbound/outbound plug definitions are defined in customizing using the following path:

SPRO >> Customer relationship Management >> UI Framework >> Technical Role Definition >>Define Work Area Component Repository

Inbound & Outbound plug definition in SAP CRM

I select the relevant Component name:

SAP CRM Component Name - Inbound Plug

For this component I now check the inbound plug definitions:

SAP CRM Component & Window Name

Here I can see that the inbound plug is defined as “Display” instead of “DISP”.

Now there’s your problem. For the authorization field INBOUND PLUG (COMP_PLUG) ST01 tracing does not always show the correct value in your trace. Personally I have seen that in most cases the value shown for the field COMP_PLUG the system already shows capital letters. .e.g. DISPLAY vs Display. Already in that case you would have an issue when entering DISPLAY as a value in your PFCG authorization role. In this scenario it’s even worse: the trace log shows me the value DISP instead of “Display”.

So to solve this particular issue I should set the following:

SAP CRM PFCG role - UIU_COMP - Inbound Plug

My 2nd tip: make sure that all SAP CRM consultants ALWAYS define the inbound plugs in CAPITAL letters. This already saves you a lot of trouble!

3. Quick Way to find back all defined inbound plugs in your system

In table CRMC_UI_COMP_IP you will be able to find back the exact “inbound plug” definition as it has been set in customizing.

If you know the component name you can easily find back the relevant entry in this table.

In a previous post I already explained how you can find back the component & View name.

In this case my component name is: ZCST_BROADCAST

SAP CRM - Table CRMC_UI_COMP_IP

Executing this selection shows me the relevant entrie(s).

CRMC_UI_COMP_IP

If you do an export of the complete table into MS Excel I guess you can do a cross-check on which Inbound Plug definitions are not maintained properly and adjust customizing in that case!
Please note that if you perform this action in customizing you clearly also need to change your impacted PFCG Authorization roles.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章