/SAPAPO/OM_PEGID_GET_IO - Selects I/O Nodes in liveCache Pegging Areas
CPI1466 during Backup General Material DataThis documentation is copyright by SAP AG.
Functionality
For the time interval [IV_START_TIME; IV_END_TIME[, this function module delivers all I/O nodes withthe property specified in IV_IONODE_PEG_SEL to the planning objects or planning areas from table IT_PEGAREA.In R/3 terminology, this corresponds to a stock/requirements list for the planning segments specified. You can use parameter IV_ORDER_TYPE to optionally restrict the selection of I/O nodes to an order category.
If you want to select output nodes dependent upon characteristics, you can enter characteristic requirementsfor each pegging area in IT_CHARACT_REQ_OUTNODE and these are used to search for suitable output nodes. Likewise, IT_CHARACT_VAL_INPNODE can be used for the selection of input nodes dependent on characteristic values.
To determine the data, all input nodes in the pegging network that consume a material from a certainplanning object and all output nodes that produce or procure material for this planning object are readtogether and then sorted according to the requirements time or availability time. I/O nodes are not determined for descheduled activities and orders.
In addition, you can determine the characteristics of the I/O nodes that are issued in table ET_CHARACT_REQ_INPNODE for input nodes and table ET_CHARACT_VAL_OUTNODE for output nodes.
Fixed pegging relationships between the individual I/O nodes are written to table ET_FIXPEG.
Data is only read if the initiator has specified an export table. This significantly improves the performance of this function module if you do not want all export tables to be filled.
If you want to decide dynamically which export tables should be filled, the initiator has to name allexport tables. The initiator can then use import structure IS_EXCLUDE_EXPORTS to decide dynamically(that is, at runtime) which export tables should NOT be filled. For each export table that is not relevant, the Boolean flag must be set to gc_true ('X').
Example
Notes
Error codes to be read (see table ET_RC):
- GUID of pegging area not available: OM_INVALID_PEGAREA
Further information
Parameters
ET_CHARACT_REQ_INPNODEET_CHARACT_VAL_OUTNODE
ET_CONTI_IO
ET_FIXPEG
ET_IONODES
ET_IONODES_CONF
ET_POSITIONS
ET_RC
IS_EXCLUDE_EXPORTS
IS_EXCLUDE_FIELDS
IS_GEN_PARAMS
IT_CATEGORY
IT_CHARACT_REQ_OUTNODE
IT_CHARACT_VAL_INPNODE
IT_EXT_FIXED
IT_ORDER_REQTIME
IT_ORDER_STATUS
IT_ORDER_TYPES
IT_PEGAREA
IT_PEGID_DESC_CHAR
IT_SUPPLY_AREA
IT_TOPORDER_EXCLUDES
IV_END_TIME
IV_IONODE_PEG_SEL
IV_PEGARC_TYPE_SEL
IV_SIMSESSION
IV_START_TIME
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_PLANNINGGeneral Material Data CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 5616 Date: 20120525 Time: 044903 triton ( 133 ms )






