on 09-05-2013 2:59 PM
We are using ACL functionality in easyDMS and it's working properly.
We need to set an initial authorization in case of creating a folder (doctype FOL) as described in discussion
http://scn.sap.com/thread/657747
I implemented FM 'CVAUTH_SET_INITIAL_AUTH' and ' CVAUTH_SET_AUTHORIZATIONS' in Badi DOCUMENT_AUTH01.
But the authorization set here is overwritten afterwards by SAP Standard, so it's not working.
At which place do we have to set initial authorization ?
Attached you can see the coding in Badi DOCUMENT_AUTH01.
Dear Stefan,
from my point of view maybe the method AFTER_SAVE or BEFORE_SAVE in BADI DOCUMENT_MAIN01 would be a place to put your logic for initial ACL.
Another useful BADI could be EASYDMS_MAIN01.
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.
Hi Gents, I've had a few attempts to do this using the Document BAdi's and never got it quite right but I just had success using DOCUMENT_MAIN01 method BEFORE_SAVE. I'm still testing it but I called:
Check for a buffered value as used by the GUI but not EasyDMS.
CVAUTH_LOOKUP_DOCREFBUFFER
If no buffered value
CVAUTH_SET_INITIAL_AUTH
CVAUTH_LOOKUP_DOCREFBUFFER
CVAUTH02_CREATE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
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.