Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Authorization Object in Z Table

Former Member
0 Likes
7,355

Hi All,

I have created a Z table and I need to create and assign an Authorization group to the table. The requirement is like, say, if there are 10 users who belong to this particluar Authorization group, then 5 users should be given display and change authorization. And the remaining 5 users should be given only display authorization & no change authorization.

Any body please let me know how to do this.

Thanks,

Neethu.

Hi All,

I have created a Z table and I need to create and assign an Authorization group to the table. The requirement is like, say, if there are 10 users who belong to this particluar Authorization group, then 5 users should be given display and change authorization. And the remaining 5 users should be given only display authorization & no change authorization.

Any body please let me know how to do this.

Thanks,

Neethu.

7 REPLIES 7
Read only

Former Member
0 Likes
3,081

Hi,

try this way..

go to sell-> enter table name > go to table maintainance generator>gop to menu --> Environment

>Authorization>assign Authorization Group.

for same authorization gorup making some people Display & some for Maintainace will not happen.

if you want like that you need two authorization gorups or Custome code inside the table maintinace to make display

Regards,

Prabhudas

Read only

Pawan_Kesari
Active Contributor
0 Likes
3,081

>

> I have created a Z table and I need to create and assign an Authorization group to the table. The requirement is like, say, if there are 10 users who belong to this particluar Authorization group, then 5 users should be given display and change authorization. And the remaining 5 users should be given only display authorization & no change authorization.

>

Assuming users are accessing the table content using SM30 (or SM30 parameterised transaction) you can use authority object S_TABU_DIS to control change mode. User who are suppose to change content should have authority object S_TABU_DIS with following values in their role.

S_TABU_DIS

ACTVT = 02

DICBERCLS = AUTH_GRP

for display only

S_TABU_DIS

ACTVT = 03

DICBERCLS = AUTH_GRP

Where AUTH_RP is authorization group assigned to table

Regards,

Pawan.

Edited by: Pawan Kesari on Aug 9, 2010 4:17 PM

Read only

Former Member
0 Likes
3,081

Hi,

You can assign the custom authorizaiton group as below:

SE11->Table name->Change->Menu-Utilities->Assign Authorization group.

Make sure you have the relevant authorization to the users for this custom authorization group(For few change and for few display only). This can be done by the Basis person. So get in touch with him to assingn the authorization to the custom auth grp.

Thanks

Shiva

Read only

Former Member
0 Likes
3,081

hi,

You can assign the authorisation group to Ztable using SE54 or Table maintainance option in Ultilities.

Once the authorisation group is created , then S&A team will be adding the users to the list. this will be including the roles.

pradeep

Read only

Former Member
0 Likes
3,081

Hi Neethu,

You have to write some ABAP Code to handle the requirement.

You can Use the table Events for your requirement.

GOTO se11 -> Table Name-> display>Utilites> Table Maintenance Genrator >Environment> Modification-->Events.

Than click on New Entries and u select any event(trough f4) and write code inside it.

I think it will solve the purpose.

Thanks

Arbind

Read only

0 Likes
3,081

Hi,

You have to write some ABAP Code to handle the requirement.

You could handle this requirement with ABAP, but you don't have to. Pawan's suggestion will use the standard authorisation concept and generated maintenance screen without additional ABAP.

Regards,

Nick

Read only

former_member193284
Active Participant
0 Likes
3,081

Hello Neethu,

you can do this by creating a maintenance View. There you can specify authorization group. Now its job of the basis person to give access for a group of users to access this table. you can just inform the basis guy about the authorization group and tell him for which users you want display & change access.. he will assign roles to these users and then assign them to this auth obj.

Hope this helps you.

Thanks