on 02-12-2013 12:55 PM
Hi Experts,
As we were trying to restrcit PT60 schema transaction through Personnel Area.., it is not working. then we came to know that the control can be built through Payroll Area for PT60 using P_Orgin (VDSK1-Organizational Key).
When we were going through to control this scenario using the following SAP documentaion.
http://help.sap.com/saphelp_erp60_sp/helpdata/en/16/b8b83b5b831f3be10000000a114084/frameset.htm
--> came across the instance for P_ORGIN as below
INFTY = <Blank>
SUBTY = <Blank>
AUTHC = <Blank>
VDSK1 = 0001TIMEXXX
How to create the Mentioned VDSK1 field. Which fields are being consumed from 0001(Org Assignment Infotype) for the mentioned Org Key.
Pls provide us some inputs to enable us to solve the Problem.
Regards
Krishna.CH
Hello there,
If you have to use P_ORGIN to restrict user to run PT60 for particular personnel area, then use personnel area element of P_ORGIN auth object, this must work. If not, please check the role.
secondly, to restrict based on payroll area, use following link to define formula to add/append payroll area to org.key...
http://help.sap.com/saphelp_erp60_sp/helpdata/en/17/4bba3b3bf00152e10000000a114084/content.htm
Then use this org.key in P_ORGIN.
Both must work....
Thank you
MTA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tausif, Thanks for the reply.. If i take this information for P_Orgin input.. 1)should I create the Org key VDSK1 with combination(PERSA,PERSG,PERSK etc) or can i build it with only Payroll area 2)Not getting the RULID feature presented here. Can you pls throw some light on this issue. Thanks in Advance!!!!! Regards Krishna.Ch
Dear Khishna,
you may use any combination as per the requirement.
We use following.. it has company code, payroll area, personnel subarea, and cost center. This gives good control over authorization; that is using P_ORGIN, you can not only give authorization based on personnel area but can add restriction based on company code or company code,payroll area or company code, payroll area, subarea, .
01 | 01 | P0001-BUKRS | 02 | |
01 | 02 | P0001-ABKRS | 02 | |
01 | 03 | P0001-BTRTL | 04 | |
01 | 04 | P0001-KOSTL | 06 | 04 |
with above formula your org key will look like 02Z10002183012,
02 - first two character of company code
Z1 - payroll area
0002 - personnel sub area
183012 - cost center
at P_ORGIN you may use following combination to restrict employee using wild card (*):
02* -- > employee of company code 0200
02Z1* --> employee of company code 0200 and payroll area z1
02Z10002* --> employee of company code 0200, payroll area z1 and personnel subarea 0002
Hope this will help...
Cheers..
Tausif
Dear Khrishna,
After you change the combination/formula (to generate the organization key) org key at employee record will not update automatically, you have to manually update org key at each org assignment record exists at infotype 0001.
All you have to do is; open each employee record, press enter (to update the org key) and save. You have to update all previous records of the employee.
For example: Suppose employee hired in 1980 then you have to open each organization assignment (0001) record since 1980, press enter (to update the org key) and save.
If you will not update previous record of 0001; if record 0001 org key is not matched with authorization org key then definitely user will not see all records in infotype 0001.
To update employee record, you may use BDC program (Batch Data Communication).
Important: before you update org assignment, backup infotype 0003 record, updation will trigger retro accounting.
I hope this helps, if helpful, do not forget to give points .
Thankx
Tausif
Hi Tousif, That is very informative..but some where i missed the connectivity between the tables like T527,T527A,T527O. How can i create the Rule in T527 and how can i realte it to other tables.. what are the hirarchy levels in T527O. when we build the key in T527A we dont give any values there except the length and Offset.Is that the base behind forming the Key. Pls elaborate this concept little.. Thanks in Advance!!!! Regards Krishna.Ch
Dear Krishna,
I thought you have already implemented it.
anyways.. let me try again step by step.
T527A, create your rule as per requirement. See below, I set creation rule no 01 with the defined combination company code (first two character), payroll area, personnel subarea and cost center.
01 | 01 | P0001-BUKRS | 02 | 00 |
01 | 02 | P0001-ABKRS | 02 | 00 |
01 | 03 | P0001-BTRTL | 04 | 00 |
01 | 04 | P0001-KOSTL | 06 | 04 |
At table T527
set 01 as validation rule no, use default/validation = 4 and 01 is the creation rule that you have defined above.
Please note: We are using default/validation as 04 because we dont want validation (no need to configure T527O)
01 | 4 | 01 |
T527 is linke with T527A using creation rule no.
Pe03 feature VDSK1, if you want to use same rule for your whole company and have only one country grouping then create node MOLGA, define your molga no (international 99), and define validation rule that you have created in T527.In our case, its 01.
now goto PA30, put employee number, select infotype 0001, press change, press enter, it must overwrite the org. key.
You may use following link, if you would like to have pictorial tutorial.
Hope this will help...
Tausif
buddy found pictorial guide...hope this will help...
http://scn.sap.com/docs/DOC-30482
enjoy.. thankx for the points
Hi,
If you would like to use Org. Units in Authorization, you need to go with other type of authorization called Structural Authorization.
Check the details below:
http://www.abaphr.com/structural-authorizations-in-sap-hr-with-gotchas/
Trust this is an helpful answer.
Thank you,
Tausif
Hi,
Do you mean running of time evaluation should be based on Personnel areas ?
Please check the below thread
http://scn.sap.com/thread/3228105 |
Regards,
Raja Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.