Ansicht
Dokumentation

LTRM_EGO_SUBSCRIPTION_SERVICE - ECO Subscription and Unsubscription

LTRM_EGO_SUBSCRIPTION_SERVICE - ECO Subscription and Unsubscription

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function is responsible for determining ECO subscription/unsubscription in the following cases:

  • Resource logoff or deactivation - In both cases, the resource should be unsubscribed from all ECOs.
  • Soft allocation to dynamic ECO (e.g.Semi-system guided) - In this case, resources are subscribed to the ECO on the basis of the available tasks and resource capacity.
  • Task status change - At each change of status of tasks associated with ECOs, subscription and unsubscription must be evaluated.

The mandatory import parameters are site resource, resource type, a table of the relevant ECO definitions and a table of the existing resource subscriptions to the ECOs . Additional parameters are used as follows:

  • Resource status in the case of resource logoff or deactivation
  • ECO identification for soft allocation to dynamic ECO
  • Resource and resource type switch for switched resources
  • Task statuses for task status change

The function exports the subscription/unsubscription recommendations and a table of all existing subscriptions of ECOs for which subscription must be performed. These are actually the locked records of LEGOR.

The function raises an exception in the following cases:

  • Unavailable ECOs
  • No relevant capacity combinations exist for the resource

Example

Notes

Further information





Parameters

ET_LEGOR
ET_SUBSCRIPTION
IT_EGOS_BY_OBJECTS
IT_LEGOD
IT_LEGRS
IV_EGOID
IV_EGOTY
IV_LOCAT
IV_RSRCE
IV_RSRCE_SWITCH
IV_RSSTS
IV_RSTYP
IV_RSTYP_SWITCH

Exceptions

EGOS_NOT_AVAILABLE
NO_COMBINATIONS_FOR_RESOURCE

Function Group

LTRM_EGO

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

Length: 2511 Date: 20240523 Time: 064722     sap01-206 ( 45 ms )