Ansicht
Dokumentation

/SAPAPO/OM_TIMING_PATTERN_GET - Get Net Timing Pattern

/SAPAPO/OM_TIMING_PATTERN_GET - Get Net Timing Pattern

rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using the times specified in IT_TIME, and in accordance with IV_FORWARD, this function module calculates the start or end times for multiple series of operations This module is designed for mass processing, which means that you can enter multiple start or end times. The IT_TIME count field must be filled accordingly.

The operations are in the table IT_RESOURCE_TIME. An operation is specified by the GUID of its resource (RESUID), its net duration (PROC_TIME), and a buffer time (BUFFER_TIME) after which a follow-on operation can start. The USE_EFFICIENCY flag defines whether the efficiency of the resource can be used to calculate the net duration of the operation. The attribute ACT_NUM defines the order of the operations. If IV_FORWARD is the same as GC_FALSE, the content of the field IT_TIME-TIME is interpreted as the start times of the operations; otherwise it is interpreted as the end times. The parameter IV_BUFFER_TIME contains the buffer time that must run before the first operation can start. The calculation of the times includes all buffer times, even those before the first operation and after the last operation.

New start times and end times are always calculated, independently of the values of the field IV_FORWARD; these times can then differ from the default in IT_TIME-TIME. The new times are interpreted as follows: the output table ET_TIMES contains the start times or end times of each activity. These activities can be identified by the field act_num. The count field specifies the entry in IT_TIMES to which each entry belongs. If the time specified in IT_TIME is an end time (IV_FORWARD = GC_TRUE), breaks can mean that the calculated end time falls before the specified end time. This can also apply to start times in IV_TIME (IV_FORWARD = GC_TRUE). In this case, the calculated start time can fall after the specified start time.

Example

Notes

Possible return codes:

  • om_invalid_resource: Invalid resource GUID

Further information





Parameters

ET_RC
ET_TIMING_PATTERN
IS_GEN_PARAMS
IT_HORIZON
IT_RESOURCE_TIME
IV_BUFFER_TIME
IV_FORWARD
IV_INCLUDE_LAST_CYCLE
IV_SIMSESSION
IV_START_ON_SHIFT
IV_SYNC_SHIFT

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_RESOURCE

CPI1466 during Backup   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2594 Date: 20240603 Time: 220636     sap01-206 ( 122 ms )