on 07-10-2017 8:00 PM
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.
and check feature ABKRS (tcode PE03)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
Hi Divya,
Quick things which you can check
1. Custom enhancement in user-exits or BADIs
2. Dynamic configuration if any
Regards
Sounak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.