Skip to Content

Default Payroll area is determined Wrong for Infotype 0001

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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

    Regards

    Sounak

    Add comment
    10|10000 characters needed 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.

  • Jul 11, 2017 at 07:32 AM

    and check feature ABKRS (tcode PE03)

    Add comment
    10|10000 characters needed characters exceeded

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