‎2006 Jul 14 7:14 AM
hello frnds,
I hv to add a authority check in a program, please let me know if you have any idea abt the authority object for the field 'CDPOS-OBJECTCLAS'.
Thanks & Regards,
Navneet Chaubey
‎2006 Jul 14 7:18 AM
Refer to this link for Authorization Checks in Your Own Developments
1. Create an Authorization Field
2. Create an Authorization Object
3. Programming Authorization Checks
http://help.sap.com/saphelp_47x200/helpdata/en/52/67167f439b11d1896f0000e8322d00/frameset.htm
check these posts:
FYI
http://help.sap.com/saphelp_erp2005/helpdata/en/ef/4aba3b3bf00152e10000000a114084/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ef/4aba3b3bf00152e10000000a114084/frameset.htm
‎2006 Jul 14 7:46 AM
Hi Kishan,
This is the last thing i can do, but first I am looking for an existing one. If you have any idea abt existing authority object for CDPOS-OBJECTCLAS plz let me know
thnx,
navneet
‎2006 Jul 14 8:33 AM
Hi navneet ,
there is no Authorization Object for this Field.
Ref Tcodes : SU20,SU22.
tables : AUTHX.
Regards
Prabhu
‎2006 Jul 14 8:49 AM
Hi!
There is no field objectclas used in authority objects. Just have a look in transaction SU20 yourself.
Maybe there is an easier approach: most 'display changes' are linked to a business transaction - if the user has the rights to change the object, then he should see the changes of this object, too.
Just don't give the users the transaction, where you can see all object classes.
One other way: check the objects of the original. So the authority to display customers can be linked with objectclas DEBI.
Regards,
Christian