New field in Auth Object: AUTHORITY-CHECK required?

Question: Hello,

I added a new field to an authorization object and i am wondering if the standard SAP code will still perform the authority check, even though the object has been changed, or will i have to ask our ABAP team to add an AUTHORITY_CHECK statement in the code.

Thanks.

Answer:
I would guess that it will still perform the check but not on your new field - I am hoping that you don't mean you have added a field to a standard object!

If the object and the code calling it via the authority-check statement are bespoke code, then yes you will need to specifically mention this new field in your code

Answer:
If you used SU21 to add the field to an SAP standard object ( you should not have ) SAP should have warned you of all the places in the code that might get effected, you then need to open a repair for all the code effected and add the field and in many cases fild the field you want to contol on is not available at the call.

You may also experience all your authorization checks for that object to fail. The kernel sends back several codes, one is for a mis-match of fields and calls, the receiving code does not make a distinction it just interprets it as not authorized.
You should Remove your addition and find another way to perform you check.
_________________
John A. Jarboe
Copyright ?2007 - 2008 www.jt77.com