/SAPAPO/OM_PEGID_GET_SURPLUS - Gets Output Nodes with Surplus Quantity

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Functionality

This function module delivers all excess coverage for the planning objects or pegging areas transferredin the table IT_PEGAREA for the time interval [IV_START_TIME; IV_END_TIME[. An excess coverage can be a receipt where the quantity is not completely pegged to other orders.

Planning will attempt to reduce the quantity of these material receipts. For this purpose, the following conditions must be fulfilled:

  • The order is not fixed
  • The lot sizing procedure allows reduction

Example

Notes

Error codes to be queried (see table ET_RC):

  • GUID of peg area not available: OM_INVALID_PEGAREA

Further information


Parameters

ET_RC
ET_SURPLUS_NODES
IS_GEN_PARAMS
IT_PEGAREA
IV_END_TIME
IV_SIMSESSION
IV_START_TIME

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_PLANNING

Addresses (Business Address Services)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.


Length: 1073 Date: 20120525 Time: 045045     triton ( 66 ms )