Ansicht
Dokumentation

PAY_BG_FORS_030 - Example with New Procedure

PAY_BG_FORS_030 - Example with New Procedure

ABAP Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

This step explains how to print an employee's leave data in individual fields.

You want to print the leave entitlement for an employee for the leave type Standard annual leave (01) for the current year. Leave entitlement is stored in field ASP in the table VA. In the field Identifier you enter the combination standard annual leave/ current year. The leave entitlement should only be printed on the first page of the form in line 16 from column 69.

In this case, the following entry is required:

Page type Position  Tab.  Tabellenfeld  Ident.  Print length
FP         16/069    VAC   ASP           YA01    10

The key according to which the identifier is composed, appears as follows:

  • 1st and 2nd position:
  • Y* (all years)

The cumulated leave data for all employees from the beginning of their period of employment in the enterprise, (differentiated according to leave type) is displayed.
  • YA (current year)

The leave data for all employees for the current year, (differentiated according to leave type) is displayed.
  • YP (Previous years)

This table contains the cumulated leave data of previous years for all leave types, and is differentiated according to leave types.
  • PA (current period)

The leave data for all employees for the current period is displayed. It contains no fields for remaininf leave days (RSA, RSG, RST).
  • 3rd and 4th position:
  • Leave type, for example 01, for standard annual leave or ** for all leave types.

The following fields exist for the VAC table:

Field Description
ATR Number of leave days requested
GLT Number of leave days used
ASP Existing leave entitlement
RSA Number of leave days that can be carried over
RSG Number of leave days deductible
RST Number of existing leave days (= RSA + RSG)

RST
  1. In the form editor, choose Individual fields -> Create.
  2. Complete the fields as described in the example.
RST

If you want to print the text of a leave type, you must enter 01 in the field Conversion. As a result, the text (for example, leave entitlement) is printed, rather than the leave type key (for example, 02)






ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4046 Date: 20240523 Time: 211209     sap01-206 ( 45 ms )