Ansicht
Dokumentation

/SAPAPO/OM_ALERTS_IN_ORDER_NET - Gets (Indirect) Alerts in Order Network

/SAPAPO/OM_ALERTS_IN_ORDER_NET - Gets (Indirect) Alerts in Order Network

BAL_S_LOG - Application Log: Log header data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Further information

@0P@liveCache Alerts

Functionality

Returns the alerts for the network of the specified orders and pegareas. This provides a top-down list of alerts which impact the production of these orders.

The liveCache alert modules are not intended for general use and should only be called by the PP/DS Alert Monitor.

The module returns only alert types which are listed in the IT_ALERTID table. The parameters IV_START_TIME and IV_END_TIME restrict the selection of I/O nodes to the time interval [iv_start_time, iv_endtime[.

Alert selection by order

For every order listed in IT_ORDLIST the alerts are determined as follows:

  • Determine the input nodes (requirements) of the order within the specified time interval.
  • Determine the output nodes (receipts) which cover these requirements and report their alerts.
  • Obtain the orders to which the output nodes belong and repeat this algorithm subsequently for these orders.

Alert selection by pegarea

For every pegarea listed in IT_PEGLIST the alerts are obtained this way:

  • Collect the output nodes of the pegarea that are either contained in the specified time interval or cover an input node therein.
  • Obtain the alerts for the orders of these output nodes.
  • Repeat this procedure subsequently for all pegareas that are used by these orders.

Notes

Error Handling and Troubleshooting

Possible return code:

  • 38 = om_invalid_pegarea: The specified pegging area does not exist in liveCache.
  • 40 = om_invalid_order: The specified order does not exist in liveCache
  • 89 = om_invalid_alert_id: Invalid alert type




Parameters

ET_INPUT_NODES_ALERTS
ET_ORDALERTS
ET_OUTPUT_NODES_ALERTS
ET_OVERFLOWS
ET_RC
ET_ROOT_INPUT_NODES
ET_ROOT_ORDERID
ET_ROOT_OUTPUT_NODES
IS_GEN_PARAMS
IT_ALERTID
IT_ORDLIST
IT_PEGLIST
IV_ACTUAL_TIME
IV_ALERTS_FOR_INPUT_NODES
IV_ALERTS_FOR_OUTPUT_NODES
IV_END_TIME
IV_HIERARCHY_COUNTER
IV_RPM_GET_VIRTUAL_INPUTS
IV_SIMSESSION
IV_START_TIME

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_ALERTMONITOR

ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3142 Date: 20240328 Time: 110434     sap01-206 ( 51 ms )