on 04-08-2009 6:06 PM
When incrementing my payroll control record I am getting a hard error, message PG 508 - Payroll has not been run successfully for all personnel numbers. In my development and QA systems the message is a warning message and not a hard error and thus I can return through the message and complete the exiting of my payroll control record. In my production environment the message is a hard error thus I am not able to complete the exit of my payroll control record. Is there a setting that determines whether message PG 508 is a hard error or a warning?
Hi David,
If you check the code in program MP52XF00 you will see where the message is being raised:
CALL FUNCTION 'TR_SYS_PARAMS' "QNOK109736
IMPORTING "QNOK109736
system_client_role = l_client_role "QNOK109736
EXCEPTIONS
OTHERS = 3.
* Ist der Mandant Produktiv?
IF l_client_role = 'P' OR sy-subrc <> 0. "QNOK109736
*Die Abrechnung ist noch nicht für alle PersNrs erfolgreich durchgeführt
MESSAGE e508. "QNOK029749
ELSE. "QNOK109736
MESSAGE w508. "QNOK109736
ENDIF. "QNOK109736
As you can see, the output of function module TR_SYS_PARAMS determines whether the message is an error or a warning.
If you client is set as a production environment (transaction SCC4) or no client role is specified then an error is returned else it's a warning as in your Q environment. Please check with your BASIS administrator for the same.
Advisable not to change it. Also refer note 645722 for some more insight.
Regards,
Adi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Contd to VK
u can have a look of incorrect personnel numbers thru tocde PA03 PY Area
in the menu EDIT feild u will get a pop up window there u can get it
if u want to chage the feilds of IT0003 check the tcode PU03
if it is in Bulk try RPUTRBK0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This message occurs when in IT0003 the Payroll Correction field is ticked for one or more employees.
This happens in case the payroll was run for an employee, then his record was changed by changing the status of control record to Released for correction and then the payroll was not run for this employee again.
You can have the list of incorrect personnel number from the T-code PA03.
Run payroll again for these employees and then do the exit.
It is correct system behaviour. In productive client this message is error message and in other clients this is waring message.
VK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
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.