/SAPAPO/OM_ACT_GET_BY_ORDER - Get Activities for Orders
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
For the order keys (UIDs) in IT_ORDER, all corresponding activities are determined that overlap withthe time interval [IV_START_TIME, IV_END_TIME]; these activities are returned in ET_CAP_REQS as specified with the parameter IV_CAP_REQS_ON_RES_ONLY.
If IV_GET_ALL_PEG_PARTNERS = 'X', then the activities of orders that are pegged to the the orders from IT_ORDER are also included.
If IV_GET_ALT_MODES = 'X', the appropriate alternative modes for the activities are returned in ET_ALT_MODES.
The parameter IV_IO_SEL controls how much information about the activities' input and output nodes is returned in the table ET_IO:
- If IV_IO_SEL=GC_NO_IO, no I/O node information is returned in ET_IO.
- If IV_IO_SEL=GC_ALL_IO, the I/O nodes of all activities are returned.
- If IV_IO_SEL=GC_INPUTS_ONLY, only input nodes are returned.
- If IV_IO_SEL=GC_OUTPUTS_ONLY, only output nodes are returned.
- If IV_IO_SEL=GC_MASTER_OUTPUTS_ONLY, only master output nodes are returned.
The parameter IV_CONSTR_SELECTION controls how much information about constraints between the activities is returned in the table ET_CONSTR:
- If IV_CONSTR_SELECTION = GC_NO_CONSTR, no constraint information is returned in ET_CONSTR.
- If IV_CONSTR_SELECTION = GC_INSIDE_CONSTR, only those constraints are returned in ET_CONSTR that exist between two activities from the selected activities.
- If IV_CONSTR_SELECTION = GC_ALL_CONSTR, all those constraints are returned in ET_CONSTR for which at least one activity is included in the selected activities.
The parameter IV_PEG_SELECTION controls how much information about pegging relationships between the activities is returned in the table ET_PEG:
- If IV_PEG_SELECTION = GC_NO_CONSTR, no pegging information is returned in ET_PEG.
- If IV_PEG_SELECTION = GC_INSIDE_CONSTR, only those pegging relationships are returned in ET_PEG that exist between two activities from the selected activities.
- If IV_PEG_SELECTION = GC_ALL_CONSTR, all those pegging relationships are returned in ET_PEG for which at least one activity is included in the selected activities.
You can use the parameter IV_CAP_REQS_ON_RES_ONLY to specify that, of the selected activities, only those activities dispatched to resources are returned in ET_CAP_REQS.
ET_RC contains return codes for orders with processing errors.
Example
Notes
Return codes (see table ET_RC):
- om_invalid_order: Order does not exist
Further information
Parameters
ET_ALT_MODESET_CAP_REQS
ET_CONSTR
ET_IO
ET_PEG
ET_RC
IS_GEN_PARAMS
IT_ORDER
IV_CAP_REQS_ON_RES_ONLY
IV_CONSTR_SELECTION
IV_END_TIME
IV_GET_ALL_PEG_PARTNERS
IV_GET_ALT_MODES
IV_IO_SEL
IV_PEG_SELECTION
IV_RPM_GET_VIRTUAL_INPUTS
IV_SIMSESSION
IV_START_TIME
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_PLANNINGTABLEGeneral Data in Customer Master BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 5197 Date: 20120525 Time: 035847 triton ( 144 ms )






