Ansicht
Dokumentation

WFD_RES_MOD_TIMESPEC - Adds Time Specification to a WFD Resource

WFD_RES_MOD_TIMESPEC - Adds Time Specification to a WFD Resource

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module will add a new time specification to the resource with the given key. The-IS_TIMESPEC_DATA structure (WFD_TIMESPEC_INPUT_DATA type) contains three sub-tables. Depending on the internal resource type (which is set at resource creation), only certain time specification are allowed, and only the corresponding sub-tables will be considered.

For Resource/Capacity Input Type Internal personnel resourceand External , working time based capacity, the accepted time inputs are (No overall capacity):

  • Time interval [from, to] (Sub-table TIMEINT_LIST)
  • Time Rules (Sub-table RULE_TAB)

For Resource/Capacity Input Type External, equally distributed capacity, the accepted time inputs are (Capacity for each interval):

  • Time interval with capacity (Sub-table CAPA_AVAIL_LIST)

For Resource/Capacity Input Type External, overall capacity, Overall capacityis mandatory - the field CAPACITY must be filled. The accepted time inputs are:

  • Time interval [from, to] (Sub-table TIMEINT_LIST)
  • Time Rules (Sub-table RULE_TAB)

Example

Notes

After calling this function use WFD_TRANSACTION_COMMIT to commit the data.

Further information





Parameters

ET_MESSAGES
ET_RETURN
IS_ADMIN_RECORD
IS_TIMESPEC_DATA
I_RESOURCE_KEY

Exceptions

Function Group

WFD_RESOURCE

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1887 Date: 20240523 Time: 132817     sap01-206 ( 35 ms )