on 03-01-2012 5:33 AM
Hello,
May i ask help on how i can un-subscribe a user to my SAP Easy DMS? the user subscribe to my document, but he recently leave our company, need him to un-subscribe to my DMS document.
hope for your help.
Thank you
Hi,
regading your question I think that you are talking about the ACL function in a DIR and how to remove this individual ACL permission of a colleague leave the company.
In this case you would have to remove the ACL permission for the document info record. To remove authorizations manually from a document info record I can only provide you a sample report called Z_ACL_DELETE_FOR_DIS.
*&---------------------------------------------------------------------*
*& Report Z_ACL_DLETE_FOR_DIS
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT Z_ACL_DLETE_FOR_DIS.
TABLES: draw.
DATA: lt_draw TYPE draw OCCURS 0 with header line.
WRITE:/1 'LIST OF DIRs WITH ACLs DELETED' COLOR COL_HEADING INTENSIFIED ON,
/2 ' DIR KEY ' COLOR COL_HEADING.
SELECTION-SCREEN BEGIN OF BLOCK dms_block10 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_dokar FOR draw-dokar MEMORY ID cv2,
s_doknr FOR draw-doknr,
s_doktl FOR draw-doktl,
s_dokvr FOR draw-dokvr.
SELECTION-SCREEN END OF BLOCK dms_block10.
SELECT * FROM draw INTO TABLE lt_draw
WHERE dokar IN s_dokar AND
doknr IN s_doknr AND
doktl IN s_doktl AND
dokvr IN s_dokvr.
LOOP AT lt_draw.
Delete from DMS_GUID where dokar = lt_draw-dokar and doknr = lt_draw-doknr
and doktl = lt_draw-doktl and dokvr = lt_draw-dokvr.
if sy-subrc = 0.
write:/ lt_draw-doknr,lt_draw-dokar ,lt_draw-dokvr, lt_draw-doktl.
endif.
ENDLOOP.
Please note that this report is not a standard officially released report. Please note that this is just a proposal which might help so delete unwanted ACL entries in your document info records.
You can find a documentation about these new features in the SAP Help Portal (help.sap.com):
> SAP ERP Central Component > Cross-Application Components > Document Management > Document Management
> Authorization Objects for Documents > Access Management Using Access Control Lists.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.