OB52 based on Company Code

http://forums.sdn.sap.com/thread.jspa?threadID=1093611&tstart=79141

 

1. Remove access to OB52
2. Create a maintenance view similar to V_T001B specific for each company.
3. Create a TCODE for each of these views.
4. Use this TCODE for authorization assignment.

 

This should be simple but your number of views would be increasing with respect to the number of companies.

 

 

OB52 based on Company Code   http://www.sapsky.com/html/2006-10/312.htm

 

Allowed OB52 based on company code

[日期:2006-10-18]来源:sap-img  作者:sapsky[字体: ]

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). 

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值