SAP Function RP_CHECK_VACANCY - Check if vacancy exists and is not completely reserved or staffed

Parameter Reference Type Length Default Optional Text
P4002_BEGDA P4002-BEGDA D 8
T750X_OBJID T750X-OBJID N 8
T750X_OTYPE T750X-OTYPE C 2 'S' X

Parameter Reference Type Length Text
SUBRC SYST-SUBRC I 4
T750X_BEGDA T750X-BEGDA D 8
T750X_ENDDA T750X-ENDDA D 8

Functionality
This function module carries out two checks:
1. If the position transferred is marked vacant in table T750X.
2. If there is a period within which the vacancy is already completely
occupied or reserved.

Description
The function module returns the following value:
SUBRC = 1, if there is no entry in T750X for the vacancy.
SUBRC = 2, if vacancy is already completely occupied or reserved ina period which overlaps with P4002_BEGDA-31.12.9999.

Description
Parameters T750X_BEGDA and T750X_ENDDA specify the first periodin which the vacancy is completely occupied or reserved. Thisperiod overlaps with interval P4002_BEGDA-31.12.9999.

Description
Parameters T750X_BEGDA and T750X_ENDDA specify the first periodin which the vacancy is already completely occupied or reserved.This period overlaps with interval P4002_BEGDA-31.12.9999.

Description
Starting date of a period ending on 31.12.9999.During this period, the system checks whether the vacancy is completelyreserved or occupied using table T750X.

Description
Object ID of vacancy against which the check is to be performed intable T750X.

Description
Object type of vacancy against which check is to be performed in T750X.
Only object type 'S ' is supported in T750X at present.

Value range
Only 'S ' is allowed.