Ansicht
Dokumentation
/SAPAPO/OM_PEGID_SELECT_ORDERS - Get Orders with I/O Nodes in Pegging Area
PERFORM Short Reference Addresses (Business Address Services)This documentation is copyright by SAP AG.
Further information
Functionality
This module gets the I/O nodes that are in the specified pegging areas, determines the keys of the orders to which they belong, and gets their data.
The I/O nodes are determined in the same way as in module OM_PEGID_GET_IO; the import parameters used to filter the I/O nodes are described there.
The additional import tables IT_TO_PEGID and IT_TO_CATEGORY enable you to specify lists of pegging areas. If these tables are filled, only those orders are returned that have an output node in one of the specified pegging areas and that have one of the specified categories.
Additional Selection Options
Only the component ADD_TOPORDERS is used from the structure IV_ADDITIONAL_SEL_OPTIONS described in OM_PEG_CAT_GET_ORDERS. This component determines which order keys are returned if the selected I/O node belongs to a suborder:
Value | Constant | Meaning | |
---|---|---|---|
' ' | gc_om_suborders_only | Key of the suborder | |
'X' | gc_om_add_toporder_info | Keys of suborder and top order | |
'O' | gc_om_toporders_only | Key of the top order |
If other components from the selection structure are used, an error is created in the return code table (see below). The order keys are returned despite this.
Notes
Error Handling and Troubleshooting
Possible return codes:
- 38 = om_invalid_pegarea:
The specified pegging area does not exist in liveCache.
- 307 = om_sel_option_not_supported:
The selected selection option is not supported by this module.
Parameters
ET_ORDERET_RC
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_PEGID
IT_TOPORDER_EXCLUDES
IT_TO_CATEGORY
IT_TO_PEGID
IV_ADDITIONAL_SEL_OPTIONS
IV_END_TIME
IV_IONODE_PEG_SEL
IV_SIMSESSION
IV_START_TIME
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_PLANNINGBAL_S_LOG - Application Log: Log header data RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 3563 Date: 20240424 Time: 054147 sap01-206 ( 52 ms )