cancel
Showing results for 
Search instead for 
Did you mean: 

Document type authorization

Former Member
0 Kudos

Dear Experts,

Kindly provide me with your valuable inputs in the following regards:

Suppose there are two groups of users, Group A and Group B. Both the groups using the same document type for instance Document type- XYZ.

I want to give authorization in such a way that Group A will not have access to the document with document type XYZ created by Group B and vice versa.

Regards,

Shynu John

Accepted Solutions (1)

Accepted Solutions (1)

Makal
Active Contributor
0 Kudos

Hi

As suggested by Irin,

You can have one document type & two "Authorization Group" codes to sagrigate document access between Group A & Group B.

For this to work, ensure that in your configuarion for document types has been configured properly. I mean go to,

IMG>Cross-Application Components>Document Management>Control Data>Define Document Types , see the details (CTRLSHIFTF2) of your document type. In the next screen, in the Field Selection tab, make Authorization Group entry as "Required entry".

Now after this configuration, you decide which users belong to Group A & Group B. You need to have two Authorization Group as suggested by Irin. Say for example 000A & 000B. For the users who belong to Group A, for their SAP log in id, you create authorizations & for the object C_DRAW_BGR you enter 000A for Group A users & for Group B users enter 000B . This solves your purpose.

Group A user when creates document, in CV01N, he'll have to enter 000A in the Authorization group* field. And then this document will only be accessible to Group A. Similarly it applies to group B.

I hope it solves your issue.

Former Member
0 Kudos

Hi,

Further you have to maintain which Authorization code belongs to which user outside the system.. In standard, there wont be a pull down list where the user can select the Authroization group.

So the user should remebr his Authorization code.

Regards

Aby

Former Member
0 Kudos

Hi Amaresh,

Thank you for your inputs.

Also explain to me how to create authorization groups.

Regards,

Shynu John

Former Member
0 Kudos

Hi Shynu,

We can give authorization group as we want.It is only maintain in authorization objects and nowhere else.

If user try to enter auth grp system checks it against its authorization object,If it is present he can enter the same and can access the documents with this auth grp(system also checks other auth objects like status,edit,create,display) etc.

so bottom line is auth grp is free field(no F4 help) in DMS and maintained at auth object levels against user.

Regards

Abhijit

Makal
Active Contributor
0 Kudos

Hello Shynu John

refer my last post:

IMG>Cross-Application Components>Document Management>Control Data>Define Document Types , see the details (CTRLSHIFTF2) of your document type. In the next screen, in the Field Selection tab, make Authorization Group entry as "Required entry".

Once you have done this.

Follow this:

For the users who belong to Group A, for their SAP log in id, you create authorizations & for the object C_DRAW_BGR

To carry out this step, you need to discuss with your BASIS cosnultant or Securities consultant.

Authorization Group should be entered against the object C_DRAW_BGR . It's text entry. The user should remember this text (i.e. authorization group code), as it can not be searched by pressing F4 in CV01N.

Go to t-code PFCG and open the role created for the user, for whome you want to give access to this document type & authorization group combination.

Click on Authorization tab, click on Change Authorization Data

In the next screen, drill down in Document Management , then expand Authorization for authorization groups. here you enter the "Authorization group" code . Once you are done, click on Shift+F5 then save & come out.

Like this you can do the same execrise for the other SAP logon ids.

Now in CV01N, when you create new document, you must enter the "Authorization group" code that you entered in roles & authorization.

I hope it's clear to you now.

Good luck.

Makal
Active Contributor
0 Kudos

Dear Shynu John

Is it fixed? let me know.

Thanks

Former Member
0 Kudos

Hi Amaresh,

The problem is still not resolved.

Let me explain you the issue.

Suppose there are two users (User A and User B) in two different authorization groups using the same document type "XYZ".

Is it possible to provide authorization in such a way that the document created by User A will be available to User B in display/change mode. Note that User A and User B belong to different authorization groups.

Regards,

Shynu John

Makal
Active Contributor
0 Kudos

Shynu John

What you can do is, give same Authorzation group to both users for the document type XYZ.

According to your requirement, say, if you want user A to have all rights (create/change/delete) then configure your roles & authorization for the user A accordingly. Now say, you want user B should have display option for this document type. What you can do is, in the roles authorization configuration for userB, you can give authorization group that you have given to user A & in C_DRAW_TCD object, you can give authorization only for display.

But keep in mind, user B can only display the documents created by user A , he can't create doc.

I want to suggest you something, which might solve your issue. I suggest you to have two document types, say, ABC & XYZ

You have two different authorization groups, say, GRP1 & GRP2 .

Now while creating roles & authorization for user A & user B, ensure that both have, GRP1 & GRP2 authorization groups.

Then for user A, give all rights for the object C_DRAW_DOK for Doc type ABC & give only display rights for doc type XYZ .

Similarly you do it for the object C_DRAW_TCD .

The same way, you do for user B.

Now both people can access both the document types. But user A can create/change/delete doc type ABC & display doc type XYZ. Similarly user B can create/change/delete doc type XYZ & display doc type ABC.

I hope this helps you.

Best Regards

Amaresh Makal

Former Member
0 Kudos

Hi Amaresh,

Thanks for your valuable inputs. points awarded.

The problem is I dont have the luxury to create any more document types as there are already 230 different document types.

Is it possible to assign different authorization groups to one document type?

For example, consider document type XYZ. Can this document type be assigned to different authorization groups eg.GR1, GR2 etc. such that all the users in the different authorization groups can create the document using document type XYZ but users in one auhtorization group will not be able to change the document created by the user in another authorization group though they may have the rights to view the documents created by other. note that the document type is the same.

Now I think I have put my requirement in the correct way.

Regards,

Shynu

Makal
Active Contributor
0 Kudos

Hi Shynu

Please read my comments below:

Is it possible to assign different authorization groups to one document type?

Yes it is possible.

For example, consider document type XYZ. Can this document type be assigned to different authorization groups eg.GR1, GR2 etc. such that all the users in the different authorization groups can create the document using document type XYZ but users in one auhtorization group will not be able to change the document created by the user in another authorization group

This is also possible.

though they may have the rights to view the documents created by other. note that the document type is the same.

This is not possible. Because create/change/display/ delete rights will be at document type level not at the authorization group wise.

With authorization group, you are creating an extra layer of security. It's a combination of document type & authorization group which decided the rights for a particular user to a particular document type.

create/delete/change/diaply rights are done at the document type level not at the authorization group level.

Say USER 1 belong to authorization Group GR1 & USER 2 belong to GR1 & GR2 both. USER 1 has rights to create/change/display/delete the document type XYZ & USER 2 has rights to display the document type XYZ .

This way USER 2 can see the document created by the people belonging to GR1 group (incluing the documents created by USER1 ). But remeber *USER 2 * will not be able to create document.

Bottom line is, rights to create/change/display/delete a documents is controlled by the authorizations created at document type level not at the authorization group level.

Thanks

Amaresh Makal

Former Member
0 Kudos

Hi,

Why dont you use ACL to achieve the required restrictions.

regards

Surjit

Former Member
0 Kudos

Thank you Amaresh,

Points awarded.

Can you please explain to me how to create User Groups in ACL. This may help me solve my problem.

Former Member
0 Kudos

Hi Surjit,

Please explan to me how to create user groups in ACL.

Regards,

Shynu

Former Member
0 Kudos

Hi,

Usergroups can be created from EasyDMS, cFolders or cProjects.

DMS doesnot have a UI to create and edit usergroups.

usergroups should have an entry in table aco_group, for DMS to display them in Authorizations tab.

you can read SAP Easy Document Management User guide to get more information.

Regards

Surjit

Makal
Active Contributor
0 Kudos

Shynu

Go through the following links, They'll help you.

[Control Document Browser and ACL customization|http://wiki.sdn.sap.com/wiki/display/PLM/ControlDocumentBrowserandACL+customization]

[New Functionalities in ERP 2005|http://wiki.sdn.sap.com/wiki/display/PLM/NewFunctionalitiesinERP2005]

[Easy DMS - User Groups|http://wiki.sdn.sap.com/wiki/display/PLM/EasyDMS-UserGroups]

[Manual Actvities for customization|http://wiki.sdn.sap.com/wiki/display/PLM/ManualActvitiesfor+customization]

I hope these links will help you.

Good luck.

Amaresh Makal

Former Member
0 Kudos

good and useful information

Answers (3)

Answers (3)

Former Member
0 Kudos

ACL option available. Help required

Former Member
0 Kudos

Hi,

use the field authorization group.

Create an authorization role for each group and give different values for the authorization object C_DRAW_BGR, maybe 000A for group A and 000B for group B.

All DIRs only accesed by group A must have 000A in the filed authorization group and all DIRs only accesed by group B must have 000B in the filed authorization group.

regards Iring

Former Member
0 Kudos

create two doc type........................and restrict the access, why u want to make it as only one doc type?

this is wht the logic i could find....................

any comments by other???

regards

surya