Ansicht
Dokumentation
/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 CurrencyThis documentation is copyright by SAP AG.
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:
- Orders, activities, and input nodes are read with the function module /SAPAPO/OM_ORDER_GET_DATA.
- Orders, activities, and input nodes are sorted.
- 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_RCET_SPP_FORECAST_HEADER
ET_SPP_FORECAST_LINE
IS_GEN_PARAMS
IT_SPP_ORDER
IV_END_TIME
IV_START_TIME
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_SPPSUBST_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 )