/SAPAPO/OM_CONSTRAINT_MODIFY - Change Constraints (Relationships)
ROGBILLS - Synchronize billing plans CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
You can use this module to change constraints in liveCache.
Parameters:
- IT_CONSTRAINTS: The constraints listed in this table are created, changed, or deleted in liveCache.
- IV_METHOD: Method with which the constraints will be changed. Valid methods are:
- gc_new: The specified constraints are created in liveCache.
- gc_change: The constraints are changed in liveCache as specified in IT_CONSTRAINTS.
- gc_change_or_new: If the constraints already exist in liveCache, they are changed as specified; otherwise they will be created.
- gc_delete: The specified constraints are deleted.
This module replaces the module OM_CHANGE_EXT_CONSTR, which could only be used to create constraintsoutside of top orders. It is now no longer possible to create multiple external constraints with the same constraint key. The key consists of the following fields:
- ACTID_PRED
- ACTID_SUCC
- CONSTRAINT_TYPE
- CONSTRAINT_SUB_TYPE
- RELATION_TYPE
- MODE_REL_TYPE
- TERMINATED_BY_SUCC
- TERMINATED_BY_PRED
Example
Notes
The following lists the most important liveCache error messages. If an LC_COM_ERROR or LC_APPL_ERRORerror (exceptions) occurs while this module is being processed, all changes made in the liveCache are always completely reversed.
- 28 = Reflexive constraint: Predecessor and successor activity are identical.
- 34 = om_invalid_method: Invalid method; only the methods listed above are valid
- 43 = om_invalid_segment: At least one of the two activities to be linked by a constraint does not exist in liveCache.
- 18615 = om_duplicate_constraint: A constraint with the specified key fields (see above) already exists in liveCache.
Further information
Parameters
ET_RCIS_GEN_PARAMS
IT_CONSTRAINTS
IV_METHOD
IV_SIMSESSION
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_PLANNINGBAL Application Log Documentation Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 3276 Date: 20120525 Time: 041319 triton ( 84 ms )






