Ansicht
Dokumentation

LTRS_RESOURCE_REG - Register a resource

LTRS_RESOURCE_REG - Register a resource

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function calls other functions to perform the following actions:

  • Check the resource elements, the resource element types (roles), and the resource type;
  • Check if the number of resource element types satisfies the number specified in the resource type components;
  • Get the resource's identification number and register the resource;
  • Update the following tables: resource, resource execution qualifications (for example, working areas), resource status, resource structure; one record will be added for each new resource element;
  • Update each resource element. And for workers update the respective resource element type (role).

If all the checks are completed and no problems are detected, the function registers the resource.

Example

Notes

Further information

Most of the checks are performed by the function LTRT_RESOURCE_REG_CHK.

The other functions involved are: LTRS_ELEMENT_TYPES_QTY, LTRS_RESOURCE_QUALIF_PREPARE, LTRS_RESOURCE_QUALIF_BUILD, LTRS_RESOURCE_STS_LOG_INS, LTRS_RESOURCE_LOG_INS.





Parameters

IT_ELMNT_ROLES
I_DEVICE
I_ELMTY
I_LOCAT
I_PRSDV
I_RSLOC
I_RSTYP
I_WORKER
O_BAD_ELMNT
O_BAD_ELMTY
O_BAD_QTY_ELMTY
O_MISSING_ELMTY
O_RSRCE

Exceptions

ASSIGNED
EMPTY
FAILED
ILLEGAL
NOT_ALLOWED
NO_LOGON
NO_OBJECTS_FOR_OBJECT
OBJECTS_MISMATCH

Function Group

LTRS_SERVICES

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1816 Date: 20240604 Time: 071119     sap01-206 ( 38 ms )