Ansicht
Dokumentation

/SAPAPO/OM_PEGID_GET_REQMTS - Gets All Requirements for Planning Object

/SAPAPO/OM_PEGID_GET_REQMTS - Gets All Requirements for Planning Object

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module delivers all issue elements for the planning objects or pegging areas transferred in the table IT_PEGAREA for the time interval [IV_START_TIME; IV_END_TIME[. In R/3 terminology, this corresponds to a stock/requirements list for the planning segments transferred. Input nodes of deallocated activities and orders are not determined.

It is often the case that the planning functions are entered because all sales orders, planned independent requirements etc should be examined. For this purpose, all planning objects that belong to the material number, product group etc are first collected an put in an internal table. This table is transferred to this module (via the table IT_PEGAREA) which then determines the accompanying issue elements and returns them via the table ET_REQMTS.

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_REQMTS
IS_GEN_PARAMS
IT_PEGAREA
IV_END_TSTAMP
IV_SIMSESSION
IV_START_TSTAMP

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_PLANNING

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1592 Date: 20240426 Time: 165729     sap01-206 ( 40 ms )