Ansicht
Dokumentation

/SAPAPO/OM_PEGID_GET_IO - Get I/O Nodes in Pegging Area

/SAPAPO/OM_PEGID_GET_IO - Get I/O Nodes in Pegging Area

ROGBILLS - Synchronize billing plans   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Further information

@0P@liveCache Pegging Area

Functionality

This module gets the I/O nodes that are in the specified pegging areas.

The import table IT_PEGID_DESC_CHAR contains the keys of the pegging areas whose I/O nodes are to be extracted. You can use the component DESCCHARID to filter the I/O nodes for each pegging area by certain descriptive characteristics. The following values have a special meaning:

Value Description
0 Ignore descriptive characteristics of the I/O nodes
-1 Select only I/O nodes without descriptive characteristics

The import table IT_PEGAREA (pegging area keys without descriptive characteristics) should no longer be used and is supported only for reasons of downward compatibility. Only one of the tables IT_PEGAREA and IT_PEGID_DESC_CHAR can be filled at a time.

Import Parameters for Filtering the I/O Nodes

You can use various optional import parameters to filter the I/O nodes identified for the specified pegging areas. An I/O node must meet all specified filter criteria before it can be selected.

The parameter IV_IONODE_PEG_SEL restricts the selection to particular I/O nodes:

Value Constant   Meaning
0 gc_io_peg_all_ionodes   All I/O nodes (no restriction)
3 gc_io_peg_all_avail   All output nodes with surplus
4 gc_io_peg_all_defic   All input nodes with deficit
5 gc_io_peg_all_in   All input nodes
6 gc_io_peg_all_out   All output nodes
7 gc_io_peg_all_defect   All I/O nodes with surplus of deficit
8 gc_io_peg_all_pr_in   All input nodes involved in the pegging
9 gc_io_peg_all_pr_out   All output nodes involved in the pegging
10 gc_io_peg_all_pr_ionodes   All I/O nodes involved in the pegging

The time interval defined by [IV_START_TIME, IV_END_TIME[ specifies the time period in which the requirement or availability time of the I/O nodes has to be located (the time interval of continuous nodes must overlap with the specified time interval).

The tables IT_CHARACT_REQ_OUTNODE and IT_CHARACT_VAL_INPNODE define pattern requirements and value assignments for pegging areas by which the selected I/O nodes are filtered.

The following import tables defined lists of permitted values for properties of an object associated with the I/O node. If one of these tables is empty, there is not filtering by this property:

Parameter Name Meaning
IT_ORDER_TYPES Valid order types for the associated top order
IT_CATEGORY Permitted ATP categories for the I/O node
IT_ORDER_STATUS Permitted order confirmation status (ORDER_CONFIRM_STATUS) for the associated top order
IT_EXT_FIXED Permitted external fixing indicators for the I/O node
IT_TOPORDER_EXCLUDES I/O nodes that belong to this top order are not selected
IT_ORDER_REQTIME Permitted availability times of the associated top order
IT_SUPPLY_AREA Permitted supply areas of the associated iPPE

Export Tables

This module gets the extended information for the selected I/O nodes, their characteristics, and the peggings that touch them. Data not needed should either not be requested or excluded using table and field excludes.

From Release 5.0, this module can provide dynamic peggings, as well as fixed. This is controlled using the parameter IV_PEGARC_TYPE_SEL:

Value Constant   Meaning
0 pat_initial   Do not get pegging edges
1 pat_dynamic   Get dynamic peggings only
16382 pat_all_fixed   Get fixed peggings only (default)
16383 pat_all_arcs   Get all peggings

The dynamic peggings are returned in the export table ET_FIXPEG (possibly with the fixed peggings). The name of this table remains unchanged, for reasons of compatibility.

Notes

Error Handling and Troubleshooting

Possible return codes:

  • 38 = om_invalid_pegarea:
    The specified pegging area does not exist in liveCache.
  • 275 = om_pegarea_and_pegdescchar:
    The import tables IT_PEGID_DESC_CHAR and IT_PEGAREA cannot both be used at the same time.




Parameters

ET_CHARACT_REQ_INPNODE
ET_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_GET_PHANTOMS
IV_IONODE_PEG_SEL
IV_PEGARC_TYPE_SEL
IV_SIMSESSION
IV_START_TIME

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_PLANNING

CPI1466 during Backup   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 10968 Date: 20240425 Time: 130307     sap01-206 ( 89 ms )