on 05-31-2015 2:33 PM
Dear DMS Experts,
I have a scenario, where we want to restrict users based on Document Types based on Depts. in our company.
For example, for Admin Dept, I want to have a Main Doc, Type ADM and then Sub Documents as AD1, and AD2 and in the same way FIN as main Finance Doc. Type and FN1, FN2, FN3 as its sub doc. types.
Now AD1 and AD2, should not able to create documents under FIN, as its superior document.
What is the best possible way to achieve this scenario.
Thanks
Adnan
Though could not fully follow the requirement, I understand it as authorization checks for DMS users for CV01, CV02 depending upon the field LABOR (Department). You need to develop a solution with the help of an ABAPer with BAdi DOCUMENT_MAIN01 using methods like BEFORE_READ_DATA or BEFORE_SAVE etc. If needed you need to make a Z authorization object (SU21) for DRAW-LABOR field.
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adnan,
I understand your requirement as you like to control the authorization with respect to superior documents.One dept are not to use the superior document of other document.
But as per my understanding the auth object C_DRAW_TCD, C_DRAW_TCS will not control the superior document authorization you may require to check the superior document type and validate it BEFORE_SAVE. If your scenario is valid business scenario.
Another suggestion to control documents are using document browser and creating folders for each dept and control the folders with status as dept use C_DRAW_TCD, C_DRAW_TCS auth object . So when the users wants to create a document under its department they can create under there folders which can be controlled in standard authorization of DMS and more easy for user since the features are similar to windows browsers.
Please revert if you requre any more help on this.
Rgds,
Nayeem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Nayeem,
Yes you are right about these C_DRAW_TCD, C_DRAW_TCS Auth Objects do not restrict in relations to superior documents,
regarding your suggestion about making Folders, can you please elaborate on it, means, if i create Folders based on number of dept, how to control using status.
Thanks
Adnan
Hi Adnan,
I had similar requirement from client.
Business scenario: Business want to have folders for each dept and creates document under that and they dont want other dept to create document in their folders.
Soln: We have used standard functionality of DMS:
One document type - Folder (Fol) and status (as Dept). - Status Controlled through Auth object.
And create dept folder(Using Status) under the public folder of document browser which can be visible only for the dept users and users can create documents under that.
Pre req: You need to activate the document browser option in customization.
Rgds,
Nayeem.
Dear Nayeem/Jogeswara
I really appreciate your prompt responses to this query. Let me tell you, i have taken help from Our Abaper and used a BADI - ZDOCUMENT_MAIN01 at Before-Save, and using table we have restricted the depts = document types wise. Thanks indeed for your support.
Now I have another query, that is, while testing i have created lots of test DIRs, how do you manage all test DIRs , do you archive them eventually. Your Suggestions and feedback are welcome.
Thanks
Adnan
Dear Nayeem,
Thanks once again for your response. Well actually I have created all the DIRs in DEV and lots documents now showing up as we have tested lots of scenarios, now is there any possibility that we can delete these test documents from DEV.
I once tried to archive couple of documents, by marking them for deletion and then following some commands from SARA, but they were read, then archive file was written, but unfortunately do not get archived, but may due to some missing customization or error.
Any help will be greatly appreciated.
Thanks
Adnan
Dear Nayeem,
You understood correctly, after putting the deletion flag, it will show up in the report CV04n, unless we remove the * from Mark for deletion field.
Now , can you please suggest or guide if we want to archive all these unwanted documents, because thats the only way we can archive these documents and then they will not show up in our CV01N, CV02N, CV03N etc.
Thanks
Adnan
Dear Nayeem/all,
Thanks for response. Yes you are right we can not delete directly and also i do not want to delete from tables. Actually i wanted to do archiving from SARA transaction, may be someone can respond if they have worked on SAP Archiving for CV_DVS Object.
Regards
Adnan
Dear Experts,
Please suggest if there is possibility to achieve this within DMS or is there any alternative to have hierarchy and at same time, authorizations based on Document Type are also implemented.
Thanks
Adnan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
14 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.