Fonction SAP BAPI_GET_PAYSLIP_HTML - Generate Remuneration Statement for Employee in HTML Format

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPI7004-PERNR N 8 Personnel number
PAGETEMPLATE BAPI7004-TEMPLATE C 40 X Page template (page background)
PAYSLIPVARIANT BAPI7004-PAYSLIP_VARIANT C 14 Variants of remuneration statement program
SEQUENCENUMBER BAPI7004_RL-SEQUENCENUMBER N 5 Sequence number from payroll results directory
TEMPLATE BAPI7004-TEMPLATE C 40 X Background

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Messages

Paramètre Reférence Long. Facultatif Description
PAYSLIP_HTML BAPI7004_HTML 255 Remuneration statement in HTML format

Functionality
The function module returns the remuneration statement for an employeein HTML format.
The payroll result to be printed is entered using the sequentialnumber. The form is specifed using the variant name for theremuneration statement program. HTML templates can be transferred tothe module for formatting.

Description
The following messages can be returned. The messages are stored intable T100:
Type ID No. Text
-----------------------------------------------------------------------
E 3G 820 No result exists
E 3G 821 No result exists with this sequential number
E 3G 822 Form program cannot be determined
E 3G 823 Error when creating the form
E 3G 827 No authorization for reading the payrollresults.

Information
For more information on personnel numbers, refer to the documentationon the Personnel Number data element.

Description
You can store the name of the template that determines the pagestructure for the remuneration statement (for example, borders,background color, company logo).

Description
For more information on the remuneration statement display variant,refer to the documentation on the RemunerationStatement Display Variant data element.

Description
Sequential number from payroll results directory in cluster CU of thedatabase table PCL2.

Description
Here you can store the name of the template that determines the orderof the individual remuneration statement pages.

Description
Remuneration statement in HTML format.