on 07-12-2010 8:44 AM
Hi Gurus,
We are restricting two users for profitcenters in Tcode:FB60. For this i have grouped the two users in Tcode GS01 as ZUSERSPC_RS And also we grouped profit Centers in Tcode GS01 as ZPC1000_RS and GL accounts as "ZGLALL "
And in Tcode:OB28 i have created a new set under that prerequisite i gave
"BKPF-TCODE = 'FB60' AND BKPF-USNAM IN ZUSERSPC_RS AND BSEG-HKONT IN ZGLALL"
and in Check
BSEG-PRCTR IN ZPC1000_RS
With this i am unable to restrict those users to that particular Profitcenters and also others to post in to those profit centers.
Please help me in giving solution as that no other users are able to post and only those two users have to post in that particular profit center.
Kind Regards,
Sumanth
HI,
when displaying your validation rule in OB28 use "extras / expert trace / set breakpoint". Make your test postings again and see the field content for your validation to trace whats the problem.
Best regards, Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When running in debug, make sure that the breakpoint has stopped for the GL line and not the vendor line. In addition to looking at bseg-prctr, look at bseg-koart, for example. Make sure the koart value is 'S' (GL Account). If the value is 'K' (Vendor), press F8 to continue and the debugger should stop on the breakpoint again - this time for the offsetting line. The vendor/K line will not have a profit center value, but the GL account/S line should.
Regards,
Shannon
If you want to block all users except two from posting to particular profit centers, then I would suggest the following:
Prerequisite:
SYST-TCODE = 'FB60' and BSEG-PRCTR IN ZPC1000_RS and BSEG-HKONT IN ZGLALL
Check
SYST-UNAME in ZUSERSPC_RS
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You forgot something the field SYST-UNAME User Name
BKPF-TCODE = 'FB60' AND
SYST-UNAME in ZUSERSPC_RS.BSEG
BSEG-PRCTR IN ZPC1000_RS.BSEG
Have you created the set in BSEG with GS01
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nandu,
You need to define two steps in the validation as below:-
First Step:-
Prerequisits:-
SYST-TCODE = 'FB60' AND BSEG-HKONT IN ZGLALL AND
BSEG-PRCTR IN ZPC1000_RS
Check:-
SYST-UNAME IN ZUSERSPC_RS
Message:-
Your custom error message to show that current user is not allowed for this profit center.
Second Step:-
Prerequisits:-
SYST-TCODE = 'FB60' AND BSEG-HKONT IN ZGLALL AND
SYST-UNAME IN ZUSERSPC_RS
Check:-
BSEG-PRCTR IN ZPC1000_RS
Message:-
Your custom error message to show that current user is not allowed for this profit center.
In above ZGLALL = List of the relevant G/L account, ZUSERSPC_RS = List of the users allowed for posting to the specific profit centers, ZPC1000_RS = List of that specific profit centers.
Also activate this validation for your company code in OB28.
Let me know in case you need anymore help on this.
Regards,
Gaurav
Hi Nandu,
You need to define two steps in the validation as below:-
First Step:-
Prerequisits:-
SYST-TCODE = 'FB60' AND BSEG-HKONT IN ZGLALL AND
BSEG-PRCTR IN ZPC1000_RS
Check:-
SYST-UNAME IN ZUSERSPC_RS
Message:-
Your custom error message to show that current user is not allowed for this profit center.
Second Step:-
Prerequisits:-
SYST-TCODE = 'FB60' AND BSEG-HKONT IN ZGLALL AND
SYST-UNAME IN ZUSERSPC_RS
Check:-
BSEG-PRCTR IN ZPC1000_RS
Message:-
Your custom error message to show that current user is not allowed for this profit center.
In above ZGLALL = List of the relevant G/L account, ZUSERSPC_RS = List of the users allowed for posting to the specific profit centers, ZPC1000_RS = List of that specific profit centers.
Also activate this validation for your company code in OB28.
Let me know in case you need anymore help on this.
Regards,
Gaurav
Hi Nandu,
Just check that you have defined the set using the reference field as below:-
ZUSERSPC_RS with reference as table SYST field UNAME
ZPC1000_RS with reference as table BSEG field PRCTR
ZGLALL with reference as table BSEG FIELD HKONT
I have checked this in IDES and it is working.
Regards,
Gaurav
Hi Gurus,
Please help me how to restrict user postings in profir center through FB60
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Authorization to post to certain Profit Center can even be done through User Roles. Kindly restrict all othe users through Authorization Object. Add the PC in the role of the user.
Hope it works.
Regards,
Jaymin R. Bhatt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
5 | |
4 | |
3 | |
2 | |
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.