Ansicht
Dokumentation

RPBS08H0 - Data supply on pers. benefits; employees, elect. off. holders compos.

RPBS08H0 - Data supply on pers. benefits; employees, elect. off. holders compos.

Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Query objectives

The program generates data of form 08 (Data supply about personal benefits and employees, elected office holders) and displays them as required by the form.

The program generating form reads the data of documents created from HR payroll data and the infotypes of the employees (0001, 0008, 0176, 2001).

The program does not aim at reproducing the print format of form 08 but to supply data based on which you will be able to fill in the form adequately.

Selection screen

Parameters on the initial screen are as follows:

  • G/L account: selection option for G/L account numbers. You have to fill it in case of debugging only.
  • Begin – end date: Here you have to specify the posting dates of documents the program should use. Spanning over year end is not possible.
  • Company code: selection option for company code
  • Business area: it is a selection field, that is you can specify one, more or all business areas.
  • Employee's personnel number: selection option for the employee's personnel number. If no value is specified, you only limit the range of employees by the company code and the business area.
  • In thousand HUF: In this checkbox, you can specify whether you want the data to be displayed rounded to thousand HUF or exactly.
  • Documents independently from status:If you leave this checkbox empty, you will only process documents with status 50 ('Documents posted') from among the ones described in chapter 2. This is the standard mode. If you select this checkbox, you will process documents irrespective of their status. In this case, it is recommended to enter exact document numbers in Document number selection.
  • Document number: Selection option for document number. If you do not fill this field, you will process all documents fulfilling the criteria described in chapter 2. If you check field Documents independently from status, it is recommended to enter (or exclude) exact document numbers in this field.
  • Details by key numbers:If this field is selected, those rows of the result table where there are key number intervals (table T5HPBS74) will be displayed in separate table rows instead of a single row. This way of operation does not result from the legal prescriptions regarding the filling of the form, but is a significant help for understanding data.
  • Key number wage type code: In parallel with program development, the storing of the employees' key number valid in a specific month in the Number field of the wage type with the code /KUL in the sample company has been added to the payroll process. The wage type code is included in this parameter.
  • Reference document number:The program processes documents accounted in HR with the characteristic specified here (mandatory parameter).
  • Document type:The program processes documents accounted in HR with the characteristic specified here (mandatory parameter).

Program operation

The program only processes accounting documents with the following characteristics:

  • Run type: 'PP'-
  • Document type: value entered on the selection screen
  • Reference document number: value entered on the selection screen

From among the documents with the characteristics above, only those will be processed that have the status 50 (Documents posted), but you can also run the program in a way that it processes documents irrespective of their status. You can select one of the two different functions by using the selection field Documents independently from status on the selection screen.

In order to be able to create the amount data of the form, you will need the documents accounted in HR based on HR payroll data. In the absence of them, you cannot create the data of the form.

The program goes through the item lines of HR payroll documents selected for processing based on the posting date. You can define for each item the G/L account to which it shall be posted. The program only processes an item if it has to be included in one of the columns according to table T5HPBS75.

After specifying the column, you have to define the item line in which you have to include the specific document item.

If you can determine the sequence number of the item line from table T5HPBS74 based on the employee's way of employment and key number, the given item will be included in that table line.

Otherwise, the program checks whether the sequence number of the item line can be determined based on table T5HPBS77. If it can, the item will be included in the table line indicated there.

Having processed all document items, the program creates the total lines based on table T5HPB.

After collecting data, the program displays the result table.

If you cannot specify a table sequence number based on either table T5HPBS74 or T5HPBS77, the employee is included in the error list.

When determining an employee's key number, the program first checks the employee's payroll result for reading the key number stored there in the technical wage types. If the key number stored during payroll cannot be found in the payroll result, the program reads these data from the employee's infotype 0008.

Headcount determination algorithm

The staff data means the statistical average staff on the payroll (proportionally reduced according to working time).

When specifying headcount, the program calculates with an accuracy of 3 decimals.

Since only full-time or part-time employees are included in the table, only those periods are considered in the headcount data when the employees' way of employment (P0176-ANSTT) was T, N, R or Y.

In headcount determination, the date interval specified on the selection screen for the employee will be examined.

Within this interval, only those subintervals are handled in which the employee

  • had infotypes 0000, 0001, 0007 and 0176
  • belonged to the Company code and Personnel area (Business area) specified on the selection screen
  • was active (P0000-STAT2 = '3')
  • was on the payroll: the first digit of his/her statistical code (P0176-STKOD) included in infotype 0176 is numeric (between 0 and 9)

In a subinterval, the number of days the employee spent in each way of employment (field P0176-ANSTT: full-time, part-time, others) is determined based on the infotype 0176, and this number of days has to be reduced proportionally for the length of the date interval. The value received has to be also adjusted according to the requested daily working hours of the employee (P0007-ARBST).

According to legal regulations, when determining the number of days spent in a specific way of employment, the long-term absences of the employee also have to be considered, i.e. the length of subintervals has to be reduced with the days spent in long-term absence by taking into account that the length of long-term absence has to be extended with the rest-days and paid public holidays directly following the absence.






Addresses (Business Address Services)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 8495 Date: 20240520 Time: 141345     sap01-206 ( 143 ms )