/SAPAPO/OM_SEARCH_DESC_CHAR - Gets All Input/Output Nodes for Pegging Areas with Spec. Characteristics
Vendor Master (General Section) ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
For time interval [IV_START_TIME; IV_END_TIME], this function module provides all I/O nodes with theproperty specified in IV_IONODE_PEG_SEL for the planning objects or pegging areas specified using tableIT_PEGAREA. In R/3 terminology, this corresponds to a stock list/requirement list for the specified planning segments. You can use the parameter IV_ORDER_TYPE to restrict the selection of I/O nodes to an order type.
If you want to select output nodes according to their characteristics, you can specify characteristiccriteria 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 planningobject, and all output nodes that produce or procure material for this planning object, are read togetherand 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 exporttables. The caller can then use import structure IS_EXCLUDE_EXPORTS to decide dynamically - in otherwords, 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
Return codes (see table ET_RC):
- Pegging area GUID not found: OM_INALID_PEGAREA
Further information
Parameters
ET_ORDERET_POSITIONS
ET_RC
IS_GEN_PARAMS
IT_CHARACTS
IV_EXT_OUTPUT
IV_ONLY_FIRST_HIT
IV_SIMSESSION
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_PLANNINGVendor Master (General Section) ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 2422 Date: 20120525 Time: 085210 triton ( 127 ms )






