AUTHORITY-CHECK OBJECT (权限object) ID (权限项目) FIELD = (全限值). 例: AUTHORITY-CHECK OBJECT 'F_BKPF_BUK' " 「F_BKPF_BUK」→会计凭证 ID 'ACTVT' FIELD '03' " 操作「03」→显示 ID 'BUKRS' FIELD '1000'. " 公司代码「1000」 三、FOR USER
AUTHORITY-CHECK OBJECT auth_obj[FOR USER user] ID id1{FIELD val1}|DUMMY [ID id2{FIELD val2}|DUMMY] ... [ID id10{FIELD val10}|DUMMY]. Addition: Effect This statement checks whether anauthorizationis entered in theuser master recordof the current user or of the user specified inuserfo...
AUTHORITY-CHECK checks for one objectwhether the user has an authorizationthat contains all values of f (seeSAP authorization concept). You must specify all authorizations for an object and a also a value for each ID (or DUMMY ). The system checks the values for the ID s by AND-ing them...
ID就是权限对象里面控制的字段。可以使用SU21查看各权限对象下的ID 通俗点,就是骗小孩子玩呢。。。那玩艺basis给配置的,就好像你有个自行车,我也有个,但是你的在门岗那登记了,你就能顺利通过。我这个就是没权限。。。一点用都没有。。。
sap中权限对象authority-check语句intro to chapter 12abap简介.pdf,The AUTHORITY-CHECK Statement ‘S_DEVELOP’ ‘DEVCLASS’ ‘YLJS’ ‘OBJTYPE’ ‘OBJNAME’ ‘P_GROUP’ ‘ACTVT’ Reacting to the AUTHORITY-CHECK Statement AUTHORITY-CHECK OBJECT ‘S_DEVELOP’
Addition 1 ... WITH AUTHORITY-CHECK Effect If this addition is specified, the authorization of the current user to execute the called transaction is checked using the followingauthorization objectsbefore the transaction is called: The authorization object S_TCODE. ...
权限对象(Authorization Object) 权限字段(Authorization Field) 允许的值(Field Value) 1.1权限对象:权限对象是权限的最小处理单位。 GUI 的Activity权限,GUI中允许的操作。 文件的访问权限。 用户管理权限 特殊用途的数据库 二、AUTHORITY-CHECK命 最多可以写10个项目,但是要尽量避免多写。可读性可比较差。
AUTHORITY-CHECK OBJECT auth_obj[FOR USER user] ID id1{FIELD val1}|DUMMY [ID id2{FIELD val2}|DUMMY] ... [ID id10{FIELD val10}|DUMMY]. Addition: Effect This statement checks whether anauthorizationis entered in theuser master recordof the current user or of the user specified inuserfo...