/SAPAPO/OM_SPP_FORECAST_GET - Get SPP Forecast Orders

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This 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:

  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

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.


Length: 1821 Date: 20120525 Time: 090441     triton ( 98 ms )