cancel
Showing results for 
Search instead for 
Did you mean: 

Creating VDSK1 to restrict Payroll Area in PT60 Schema transaction

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

0101P0001-BUKRS02 
0102P0001-ABKRS02 
0103P0001-BTRTL04 
0104P0001-KOSTL0604

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

0 Kudos

Hi Tausif, Really well explained and thanks for that !!!!! We Have multiple payroll areas in this scenario. How can we build it for multiple payroll areas? --> should we update the Org Key we created in 0001 Org assignment also for that employee? Thanks in Advance Regards Krishna.Ch

Former Member
0 Kudos

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

0 Kudos

Hi Tousif, Pls tell me how to give points..because i couldn't find any button here to give points.. But the effort you made is 100/100 for me. Thank you so much.. Regards Krishna.Ch

Former Member
0 Kudos

Dear Khrishna,

You are most welcome.. hope it solved your problem.

Please login to this discussion forum, select this discussion and click correct answer and select high rating for this discussion.

Thankx,

Tausif

0 Kudos

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

Former Member
0 Kudos

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.

0101P0001-BUKRS0200
0102P0001-ABKRS0200
0103P0001-BTRTL0400
0104P0001-KOSTL0604

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)

01401

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

Former Member
0 Kudos

buddy found pictorial guide...hope this will help...

http://scn.sap.com/docs/DOC-30482

enjoy.. thankx for the points

0 Kudos

Hi Tausif, I have some confusion regarding HR-Authorization.  we have built authorizations through Personnel area till now as i mentioned earlier. Now along with personnel area we have to build it though Org unit.. Can u pls trough some light on this.. Regards Krishna

Former Member
0 Kudos

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

0 Kudos

Hi Tausif.., How Can i use Personnel Area and Emp sub group along with Org unit in Structural authorizations..pls help regards Krishna

Answers (1)

Answers (1)

rajasekhar_reddy3
Active Contributor
0 Kudos

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

0 Kudos

Hi Sekhar, Yes..we are building HCM security through Personnel Areas till now. But this is not working for PT60. so We are trying to secure it through Payroll Areas. We are in search of the exact way to do it. Thanks Regards Krishna.Ch