Allowed OB52 based on company code

博客介绍了配置并测试新交易代码ZOB52_000X的步骤。首先配置过账变体,接着复制视图V_T001B并修改选择条件,然后在SE54创建生成对象,最后在SE93创建新交易代码并设置参数,完成后可测试该代码显示指定过账变体。
If you have several company codes and want your users only to be able to open and close periods
(transaction OB52) belonging to their posting period variant (=company code).[@more@]

First you configure the Posting Variant :-

1) FI- FI Global Settings - Document - Posting Periods - Define Variants for Posting Periods

2) FI- FI Global Settings - Document - Posting Periods - Assign Variants to Company Code

Second Step:-

Goto SE11 copy the view V_T001B to ZV_T001B_000X (000X indicate the Posting Variant)

In Change mode, tabstrips Selection Conditions Insert line 2 with

Table Field Name Operator Comparative Value AND/OR
T001B BUKRS EQ '000X' AND

Save your entries

Third Step :-

Goto SE54, Options Generated Objects -> Create

Authorizations Group FC31
Function Group Z00F0
Maintenance Type One Type
Overview Screen 65
Single Screen 0

Final Step :-

Goto SE93, Create a new transaction code ZOB52_000X

Start object - Transaction with parameters (parameter transaction)

Transaction SM30, Tick Skip initial screen

Name of screen field Value
VIEWNAME ZV_T001B_000X
UPDATE X

Save your entries.

Now, test your new transaction code ZOB52_000X which will only display the
Posting Variant that you have define in your table view.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/46681/viewspace-786624/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/46681/viewspace-786624/

当你在本地使用`git push --force origin`命令强制推送时,可能会出现"You are not allowed to force push code to a protected branch on this project"错误。这意味着你尝试推送到一个受保护的分支,不允许这类操作。为了解决这个问题,你可以通过git管理后台关闭该项目分支的保护状态。你可以使用管理员账号登录git中的项目,然后进入setting -> repository -> protected branches,找到受保护的分支并取消保护。这样你就可以再次尝试推送代码了。 <span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [git push错误:You are not allowed to force push code to a protected branch on this project](https://blog.youkuaiyun.com/lizz861109/article/details/127556835)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *3* [Git push代码报错:you are not allowed to push code to protected branches on this protect](https://blog.youkuaiyun.com/tengqingyong/article/details/114632973)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值