Ansicht
Dokumentation
HR_IN_NEXT_RPT_CTGRY - Next Roster Point category for Roster/Res. cat
ABAP Short Reference General Material DataThis documentation is copyright by SAP AG.
Functionality
This function module generates a description for a roster point ID. The function module generates this description based on:
- Reservation category of the roster point
- Number of roster points of that reservation category
This description determines the total number of roster points of a reservation category in a roster ID. The function module generates the description as follows:
- It calls function module RH_STRUC_GET to retrieve valid roster points of a roster ID.
- It then calls Read Infotype for Object Set / Read All Infotypes of an Object function module (RH_READ_INFTY) to retrieve the description of the roster points of a reservation category.
- The description of a roster point is the conjunction of its reservation category and the number of roster points of that reservation category. The function module reads the roster point that has highest number of roster points. It then increments the number of roster points part by one and conjugates it with the reservation category.
Example
Consider a roster ID R1 that has following roster points:
- RP1 with reservation category as SC and description as SC-1
- RP2 with reservation category as ST and description as ST-1
Consider you create a roster point RP3 of reservation category SC. The function module generates the description for this roster point as SC-2.
Notes
Further information
Parameters
ET_ROSTERPOINTSEV_NEXT_RES_CAT
IV_RES_CAT
IV_ROSTER
Exceptions
NOTHING_FOUNDNO_PLVAR_FOUND
Function Group
HRPBSINROSTER_UTILSRFUMSV00 - Advance Return for Tax on Sales/Purchases CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 1997 Date: 20240523 Time: 100414 sap01-206 ( 37 ms )