10-10-2008 11:14 AM
Hello all
am trying to add one field to an object.
i went to su21 and selected the object in change mode but am not able to add one more field as the
field tab is grayed out .
Can you please suggest how to add field
10-13-2008 5:41 AM
Hi Sagar,
Please follow the below procedure to add a field to an existing auth. object.
1. Run transaction SU21.
2. Double click on the authorization object you desire to modify.
3. In the pop up window, click 'F5'.
4. Go to "Authorization fields", click on an empty field and then press F4.
5. Double click on authorization field that you want to add, it will be added into the authorization object .
6. Click Save button.
Thanks,
Saby..
10-10-2008 11:28 AM
Hi,
you have to perform the 'where used' check first (pops up automatically when changing to edit mode), then it will work.
b.rgds, bernhard
10-10-2008 5:49 PM
Here's the info from the pop-up information dialog
Creating and changing authorization objects Note that when creating authorization objects, the structure of the object must be planned exactly. Changes to the structure are very complicated. If, for example, you want to change authorization fields for an object, this is only possible after all authorizations the object uses and all calls of the AUTHORITY-CHECK language commands have been deleted. o The authorization object must be deleted and recreated, if you want to remove fields from the object. o You can add authorization fields to the object if the object is no longer used. Only then can the corresponding fields accept data.
Hope it helps.
Gp.
10-13-2008 5:41 AM
Hi Sagar,
Please follow the below procedure to add a field to an existing auth. object.
1. Run transaction SU21.
2. Double click on the authorization object you desire to modify.
3. In the pop up window, click 'F5'.
4. Go to "Authorization fields", click on an empty field and then press F4.
5. Double click on authorization field that you want to add, it will be added into the authorization object .
6. Click Save button.
Thanks,
Saby..
12-25-2008 3:17 AM
hi,
please guide me, how to remove the added authorization field in authorization object p_origin.
thanks
satya
12-25-2008 8:52 AM
tables tobj.
data : itobj type standard table of tobj,
wtobj type tobj.
parameters : p_OBJCT like tobj-OBJCT.
select * from tobj into table itobj where OBJCT = p_OBJCT.
loop at itobj into wtobj.
if wtobj-FIEL8 ne ' '.
wtobj-FIEL8 = ' '.
modify tobj from wtobj.
endif.
endloop.
12-25-2008 9:04 AM
Do you really think that is a good idea? (apart from the terrible performance of the coding)