cancel
Showing results for 
Search instead for 
Did you mean: 

CHARM authorizations

Former Member
0 Kudos

Dear all:

Is it possible to achieve the following in charm:

1) Restrict the change of status of a document like SDHF? I mean, if the document has the status XXX, only certain users could change it through actions to XXY.

2) Restrict the access to a document if it has a certaing status? For example, the document SDHF has status XXX, and only certain users can access to it in change mode, others users only should be allowed to access it in display mode.

Thank you very much in advance!

Federico.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Federico,

it is very much possible... if you are using the SAP Gui UI, you can use an implementation of BAdI CRM_ORDER_AUTH_CHECK. If you are using the webdynpro UI you will have to do a WD enhancement.

Hope this helps.

Best regards,

Stéphane.

Answers (2)

Answers (2)

Former Member
0 Kudos

Federico,

I can contribute to how we acheived your first situation.

Each user status has a corresponding authorization key - you can see this in SPRO under Service Desk - Status Profiles. Then what you do is assign these keys to the appropriate roles in the B_USERSTAT and B_USERST_T authorization objects.

For example, you want only Role A to be able to move a record from status X to status Y. Therefore, in Role A, you give them the authorization to Delete (Act=06) status X (via Authorization key from status profile) and Set (Act=01) status Y (also via Authorization key).

Hope this helps!

Michele

raguraman_c
Active Contributor
0 Kudos

Hi,

Yes, it is possible to restrict status change of documents.

You can achieve this by creating custom Authorization objects (Using SU21) and assign it in agains the status in transaction CRMBS02.

Your second requirement can also be fulfilled with the above procedure.

Hope this solves your problem.

Feel free to revert back.

-=-Ragu