2 weeks ago
用户想要在删除销售订单是加控制,要求要判断当前用户不能删除,想问下从哪里能获取当前用户的值或者字段,目前只能找到创建者。
Hi Tangzenan,
可以使用 cl_abap_context_info=>get_user_technical_name( )获取当前系统用户ID再进行判断。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
8 | |
6 | |
5 | |
5 | |
4 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.