Fonction SAP BAPI_WFRES_CHANGEAVAILMULTI - Change Availability Period of a WFM Resource

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADMIN_RECORD BAPI_WFM_ADMIN_RECORD u 35 Administrative Data
TESTRUN BAPI_WFM_TESTRUN-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Long. Facultatif Description
INVALID_RESOURCES BAPI_WFM_RESOURCE_STRUCT 32 X Resource
RESOURCE_TIMERANGE BAPI_WFM_RESOURCE_TIMEINT 48 Resource with Change Period
RESOURCE_TIMESPEC BAPI_WFM_RES_TIMESPEC 180 X Description of a Time Specification
RETURN BAPIRET2 548 Return Parameter
TIMESPEC_TIMEINT BAPI_WFM_TIMESPEC_TIMEINT 48 X Time Interval for Time Specification

Functionality
This BAPI enables you to change the time availability for an existingresource. The temporal availability of a resource includes, forexample, the work schedule, and attendances and absenses. Using thisBAPI, this data can be transferred from an existing HR system to theWFM Core. The time specifications can be defined in the WFM Core. Theprocess for changing the time specifications involves 2 steps. In thefirst step, the existing time specifications within the change periodare deleted. In the second step, the time specifications that weretransferred are updated.
If an error occurs during processing, processing is continued but thedata is not updated.

Description
Administrative information about users, date, system and applicationcategory.

Description
This parameter ensures that the data is not updated. Processing isperformed as usual, but after that all data is removed from the memory.

Description
A list of invalid resources is compiled in this table.

Description
The resources to be changed are transferred to this table. For eachresource, it can also be defined whether it is a global resource. Thismeans that this resource is then visible to all applications. Thevalidity date is used to define which period is affected by thechanges. This controls the delete operation.

Description
Attributes of the time specifications that do not relate to time aretransferred to this table. In this case, the key for the timespecification is a GUID.

Description
This table contains all the error messages that occurred duringprocessing.

Description
The validity interval for each time specification is transferred tothis table.

772049Short dump in report RPTWFMIF