Skip to Content

Default Payroll area is determined Wrong for Infotype 0001

Jul 10, 2017 at 07:00 PM


avatar image
Former Member


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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Jul 11, 2017 at 03:46 AM

Hi Divya,

Quick things which you can check

1. Custom enhancement in user-exits or BADIs

2. Dynamic configuration if any



Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

Volker Binder Jul 11, 2017 at 07:32 AM

and check feature ABKRS (tcode PE03)

Show 4 Share
10 |10000 characters needed characters left characters exceeded

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.


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.

tcode PE03, check "Decision tree"

looks like this:

gxtep.png (12.0 kB)

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.