Ob52 Based on company code

Source: Internet
Author: User

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 shoshould be simple but your number of views wocould be increasing with respect to the number of companies.

 

 

Ob52 Based on company codeHttp://www.sapsky.com/html/2006-10/312.htm

 

Allowed ob52 Based on company code
[Date:2006-10-18] Source:SAP-imgAuthor:Sapsky [Font: large, medium, and small]

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

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
Posting variant that you have define in your table view.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.