Ansicht
Dokumentation

/SAPAPO/OM_TSTREAM_GET_BY_RES - Get Time Stream Data of Resource

/SAPAPO/OM_TSTREAM_GET_BY_RES - Get Time Stream Data of Resource

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Further information

@0P@Time Stream

Functionality

Gets the time stream of a resource in liveCache.

In contrast to most other liveCache Modules, OM_TSTREAM_GET_BY_RES returns a single resource per liveCache call only.

It returns the time stream defining the actual work periods and capacity supply of the resource. This information is combined from the resource's shared time stream (which can apply for other resources also) and, if applicable, the private time stream containing specific work period information for this resource only.

The time stream's work peroids are returned in the export table ET_TIMESTREAM. In addition to the standard work period fields of the time stream the structure of the table records contains three additional fields. These are no longer relevant for the application.

Notes

Error Handling and Troubleshooting

The only possible return code is:

  • 47 = om_invalid_resource
    A resource with the specified key does not exist in liveCache.




Parameters

ET_RC
ET_TIMESTREAM
IS_GEN_PARAMS
IS_TIME_INTERVAL
IT_TIME_INTERVAL
IV_RESOURCE
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_RESOURCE

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1918 Date: 20240426 Time: 051709     sap01-206 ( 48 ms )