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 problem,

Former Member
0 Likes
1,097

Can any one explain me how to create a new field for a authorizaion

object

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,072

HI,

Go to SU21.

Select a module/class where you would like to create the authorization object.

select the object in which you need to add new field. [you can add only to existing custom 'Z' auth.object].

In change mode you can add new activities into the selected object.

Regards

Subramanian

12 REPLIES 12
Read only

Former Member
0 Likes
1,072

Creating Authorization Fields

In authorization objects, authorization fields represent the values to be tested during authorization checks.

To create authorization fields, choose Tools ® ABAP Workbench ® Development ® Other tools ® Authorization objects ® Fields.

To create a authorization field:

Choose Create authorization field.

On the next screen, enter the name of the field. Field names must be unique and must begin with the letter Y or Z.

Assign a data element from the ABAP Dictionary to the field.

If desired, enter a check table for the possible entries. For more information about check tables, see Link to the check table. The link provides possible field values. You can also define a value range by way of the area with which a field is associated.

For more information about AUTHORITY-CHECK, see the keyword documentation of the ABAP Editor.

You can often use the fields defined by SAP in your own authorization objects. If you create a new authorization object, you do not need to define your own fields. For example, you can use the SAP field ACTVT in your own authorization objects to represent a wide variety of actions in the system.

check....

http://help.sap.com/saphelp_nw04s/helpdata/en/52/67168c439b11d1896f0000e8322d00/content.htm

Read only

Chaitanyat
Participant
0 Likes
1,072

Hi,

You can create a new field foran Authorization Object in the transaction/s 'SU21' or SU22 for maintaining the Auth.Objects.

Regards,

Chaitanya

Read only

0 Likes
1,072

Hi all ;

How to add an authorization object created; to a profile without using PFCG

Regards

sanjeev.S

Read only

0 Likes
1,072

Hi all ;

How to add an authorization object created; to a profile without using PFCG

Regards

sanjeev.S

Read only

Former Member
0 Likes
1,073

HI,

Go to SU21.

Select a module/class where you would like to create the authorization object.

select the object in which you need to add new field. [you can add only to existing custom 'Z' auth.object].

In change mode you can add new activities into the selected object.

Regards

Subramanian

Read only

0 Likes
1,072

Hi thanks for ur prompt reply ,

can you please tell whats the procedure for copying the authorization object to

another object. so that i can make changes in that object.

for eg P_C_CK object

contains following feilds

KONNR Individual PF account number

AUTGR HR-CH: Authorization group for PF accounts

PKKLV HR-CH: Pension fund : Authorization level f

and i want to include new field under the object P_C_CK

So how can i make to changes to include new feild. How to copy P_C_CK to new

customizing object

I want your kind help in this regard

Read only

0 Likes
1,072

HI,

If you are not able to find an option to copy, then, create a new one with the required fields.

Regards

Subramanian

Read only

0 Likes
1,072

check SU21 , pick right module after that create a new one .

Regards

prabhu

Read only

0 Likes
1,072

thanks for ur kind suggestion

i have created a new object . Now i want to assign that object to a profile

so what will be the procedure for it

regards

sanjeev.S

Read only

0 Likes
1,072

I have created a new profile in su02 and tried to that assign that object

I had given the object name ; but i dont know how to give authorization

for that object

Please give ur valuable suggestions

regards

sanjeev.S

Read only

0 Likes
1,072

Hi,

I have not assigned an authority object to a profile. It is done by the security folks.

You write your abap code for the authority-check.

Give the object name to the functional contact, they will take care of assigning proper profile to this object.

Regards

Subramanian