/SAPAPO/OM_ACT_GET - Get Activities for Activity GUIDs

CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Functionality

The capacity requirements of the activities with keys (GUIDs) in IT_ACT are returned in ET_CAP_REQS.

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 import parameter IV_CAP_REQS_ON_RES_ONLY to include only those activities that are dispatched to resources.

ET_RC contains return codes for activities with processing errors.

Example

Notes

Return codes (see table ET_RC):

  • om_invalid_activity: Invalid activity GUID

Further information


Parameters

ET_ALT_MODES
ET_CAP_REQS
ET_CONSTR
ET_IO
ET_PEG
ET_RC
IS_GEN_PARAMS
IT_ACT
IV_CAP_REQS_ON_RES_ONLY
IV_CONSTR_SELECTION
IV_GET_ALT_MODES
IV_IO_SEL
IV_PEG_SELECTION
IV_RPM_GET_VIRTUAL_INPUTS
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_PLANNINGTABLE

CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.


Length: 4346 Date: 20120525 Time: 035816     triton ( 88 ms )