cancel
Showing results for 
Search instead for 
Did you mean: 

Default Payroll area is determined Wrong for Infotype 0001

0 Kudos

Hi,

I am updating infotype pa0001 through the standard HR_INFOTYPE_OPERATIONS function module. I am not passing the payroll area field pa0001-abkrs in the structure.

But when the FM tries to update the infotype 1 , it defaults the payroll area to 'D2', which is configured for Germany under MOLGA 01.

Ideally it should be looking for MOLGA 10(USA).

Note Sure why this is happeneing.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member226519
Active Contributor
0 Kudos

and check feature ABKRS (tcode PE03)

former_member300568
Participant
0 Kudos

Hi Volker,

What should be the feature for ABKRS in the tcode PE03?

When i checked the Payroll area per country in SPRO i found that for Germany(MOLGA 01) in otherwise category it is maintained as "D2".

Ideally the program should fetch the ABKRS from USA Molga 10 .

PS: I am using the standard sap FM to update infotype 0001.

Any lights on this? I checked the NOte 1308988 and it is not applicable for our system.

former_member226519
Active Contributor
tcode PE03, check "Decision tree"

looks like this:

former_member193210
Active Contributor

What is the first Decision criteria in your ABKRS Feature? How many Payroll Accounting Areas (PAA) do you have in USA?

Better yet, what does your Feature look like?

In Volker's example, the first significant decision is on the Country Code (MOLGA), and the Default Payroll Area will be set depending on that value (01, 08 or **).

According to your statement, to the Query on MOLGA, you need to add return value 10 and specify the appropriate PAA. If Country Code 10 has more than one PAA, add other Decision criterias (such as BUKRS) to differentiate them.

former_member300568
Participant

Thanks Everybody.

I was able to solve this . I am writing in detail here so that somebody will benefit from this.

I was using the FM "HR_INFOTYPE_OPERATION" to move a person from one position to another position.

So while moving a person we should always go through "COP" operation so that the pernr's other feilds are carried over(copied). If we give either insert /modify the standard SAP is looking at 01 MOLGA and says the payroll area is not maintained.

former_member200388
Active Participant
0 Kudos

Hi Divya,

Quick things which you can check

1. Custom enhancement in user-exits or BADIs

2. Dynamic configuration if any

Regards

Sounak

former_member300568
Participant
0 Kudos

Hi Sounak,

I am not using any customer exit or enhancements. I am using the straight forward HR_INFOTYPE_OPERATION fm with begda endda plans and pernr to change the position of an employee.I am not passing the ABKRS too, but the standard SAP functionality checks for the payroll area under wrong country code. This doesn happen when done through foreground.