Ansicht
Dokumentation

/SAPAPO/OM_MIXIN_ATP_DELTAS - Merge ATP Delta Objects with Time Series

/SAPAPO/OM_MIXIN_ATP_DELTAS - Merge ATP Delta Objects with Time Series

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

Functionality

For time interval [IV_START_TIME; IV_END_TIME[, this function module provides all I/O nodes with the property specified in IV_IONODE_PEG_SEL for the planning objects or pegging areas specified using table IT_PEGAREA. In R/3 terminology, this corresponds to a stock list/requirement list for the specified planning segments.

If you want to select output nodes according to their characteristics, you can specify characteristic criteria for finding output nodes in IT_CHARACT_REQ_OUTNODE. Like the previous parameter, IT_CHARACT_VAL_INPNODE can be used to select input nodes according to their characteristics.

To determine the data, all input nodes in the pegging network which use a material from a given planning object, and all output nodes that produce or procure material for this planning object, are read together and sorted by requirement time or availability time. I/O nodes for planned activities and orders are not taken into account.

You can also determine the characteristics of I/O nodes that are outputted for input nodes in table ET_CHARACT_REQ_INPNODE and for output nodes in table ET_CHARACT_VAL_OUTNODE.

Fixed pegging relationships between the individual I/O nodes are written to table ET_FIXPEG.

Data will only be read if the caller has specified an export table for it. The performance of this function module can be significantly improved if you choose not to fill all export tables.

If you want to decide dynamically which export tables to fill, the caller needs to specify all export tables. The caller can then use import structure IS_EXCLUDE_EXPORTS to decide dynamically - in other words, during runtime - which export tables NOT to fill. For each non-relevant export table, the boolean flag has to be set to gc_true ('X').

Example

Notes

Error codes to be queried (see table ET_RC):

  • Pegging area GUID not found: OM_INALID_PEGAREA

Further information





Parameters

ET_RC
IS_GEN_PARAMS
IT_MIXIN_TAB
IT_ORDERID_TAB
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_ATP

RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2375 Date: 20240420 Time: 030321     sap01-206 ( 54 ms )