Ansicht
Dokumentation

/SAPAPO/OM_SPP_FORECAST_GET - Get SPP Forecast Orders

/SAPAPO/OM_SPP_FORECAST_GET - Get SPP Forecast Orders

rdisp/max_wprun_time - Maximum work process run time   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module enables you to read SPP (Spare Parts Planning) forecast orders. SPP_FORECAST_GET can read SPP forecast orders (order type gc_om_spp_forecast) only.

SPP forecast orders have the following special properties:

  • Defined structure: For each order object, there are n schedule lines, each with an activity and an input node.

  • All input nodes have the same ATP category and the same ATP category type.

  • All input nodes are in the same pegging area.

  • There is only one SPP forecast order for each pegging area.

  • SPP forecast orders are not involved in pegging, do not update the ATP time series, are not copied to SAP systems using CIF, and do not trigger alerts.

The function module /SAPAPO/OM_SPP_FORECAST_GET works as follows:

  1. Orders, activities, and input nodes are read with the function module /SAPAPO/OM_ORDER_GET_DATA.
  2. Orders, activities, and input nodes are sorted.
  3. SPP orders are constructed from orders (headers), together with activities and input nodes (precisely one activity and input node for each schedule line).

Example

Notes

Further information





Parameters

ET_RC
ET_SPP_FORECAST_HEADER
ET_SPP_FORECAST_LINE
IS_GEN_PARAMS
IT_SPP_ORDER
IV_END_TIME
IV_START_TIME

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_SPP

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1971 Date: 20240426 Time: 234924     sap01-206 ( 29 ms )