Ansicht
Dokumentation
OHAWFORS030 - Example with New Procedure
Addresses (Business Address Services) Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
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) |
- In the form editor, choose Individual fields -> Create.
- Complete the fields as described in the example.
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)
BAL Application Log Documentation ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 4046 Date: 20240523 Time: 171859 sap01-206 ( 44 ms )