这段时间。。瞎忙,都没时间总结了
另,此Authorization Object和彼Authorization Object(分析权限)是不同的
我也很纳闷,为啥俩都这么叫。。其实另外的一个叫Authorization
哎,算啦~看来是我之前的理解有问题。
好,开始。
TCODE:SU21
首先呢,建立一个Object Class,规定个类。
然后,新建Authorization Object。
看看这里,Class里面填的是Object Class
Field Name:9ZCOM_CODE,9开头就是被权限相关的IO
也可以自己建,我这里就自己建了俩,咋加,点下面的Field maintenance或者到菜单里找。
这里的Data element,不多说了啊,SE11维护。
就是指定一下这个字段的类型。
还有个Conversion for authorization fields allowed,类似于ALPHA
Automatic conversion
If the authorization object includes a setting permitting automatic
conversion, the conversion will be executed when authorization data is
entered that matches the conversion attributes of the corresponding
authorization field.
This means that when creating authorizations, a number can be entered
directly (instead of "0003", you can just enter "3", for example). When
the authorizations are saved, the number is automatically converted to
"0003". This is necessary, as the language command AUTHORITY-CHECK
checks the value "0003".
然后保存就行了,这样就等于创建成功。
使用方法:
PFCG,新建一个Role,到里面维护
这样,就可以在里面限制权限啦~~
哦了,到此为止~所有权限相关的事儿差不多都记完了。
总结下:
权限相关
权限变量
授权对象
分析权限
用户角色