Ansicht
Dokumentation

HRIQ_RFC_GET_ROOM_OCCUPANCY - Get Room Reservation Plan

HRIQ_RFC_GET_ROOM_OCCUPANCY - Get Room Reservation Plan

CPI1466 during Backup   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module determines the reservation plan for a room (IV_ROOM_ID) in a given period. The function module returns the reservation plan in the ET_OCCUPANCY_DATES table. It also returns a table containing the business events (ET_EVENTS) taught on the reserved dates.

Determining the Period:
  • The function module first reads the specified week (IV_WEEK). If the week is set to its initial value,
  • the function module reads the current week (IV_CUREENT_WEEK). If the current week is set to its initial value,
  • the function module determines the period by reading the start and end dates.

Example

You want to display the reservation plan for room 50015001 in the current week. The IV_CURRENTWEEK control parameter is set to 'X', and the IV_ROOM_ID value is 50015001. The reservation plan is listed in the ET_OCCUPANCY_DATES table.

If you want to display detailed information on the business events that are scheduled on the reserved dates, you can use function module HRIQ_RFC_GET_EVENT_DETAILS. The EVENTS import table of function module HRIQ_RFC_GET_EVENT_DETAILS corresponds to the return table of this function module (ET_EVENTS).

Notes

Further information





Parameters

ET_ERRORTAB
ET_EVENTS
ET_OCCUPANCY_DATES
EV_CURRENTWEEK
IV_BEGDA
IV_ENDDA
IV_ISTAT
IV_PLVAR
IV_READCURRENT_WEEK
IV_ROOM_ID
IV_WEEK
IV_YEAR

Exceptions

Function Group

HRPIQ00RFCSCHEDULES

Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1917 Date: 20240523 Time: 095807     sap01-206 ( 40 ms )