Fonction SAP BAPI_GET_PAYSLIP - Generate Remuneration Statement for Employee in SAPscript Format

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPI7004-PERNR N 8 Personnel number
PAYSLIPVARIANT BAPI7004-PAYSLIP_VARIANT C 14 Variants of remuneration statement program
SEQUENCENUMBER BAPI7004_RL-SEQUENCENUMBER N 5 Sequential number from directory of payroll results

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

Paramètre Reférence Long. Facultatif Description
PAYSLIP BAPI7004_PAYSLIP 134 Remuneration statement in SapScript format

Functionality
The function module returns the remuneration statement for a personnelnumber in SAPScript format.
The payroll result to be printed is entered using the sequence number.The form is specified using the variant name for the remunerationstatement program.

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
I 3G 824 No form exists
E 3G 827 No authorization for reading the payroll
results.

Description
For more information on the meaning of the personnel number, refer tothe documentation for the personal number dataelement.

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 the payroll results directory in cluster CU inthe database table PCL2.

Description
Remuneration statement in SapScript format.