/SAPAPO/OM_CHARACT_MODIFY - Change Characteristics in liveCache
ROGBILLS - Synchronize billing plans PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This module is used to change the characteristics of I/O nodes and activities in the liveCache.
Parameters:
- IT_CHARACT_REQS: Table with characteristic requirements
- IT_CHARACT_VALS: Table with characteristic value assignments
- IT_CHARACT_HEADERS: Characteristic headers - key fields of the objects for which the characteristicswill be changed. Entries in it_charact_reqs and it_charact_vals for which this header table containsno entries, will be ignored. Activities can only have characteristic value assignments. Any entries in the it_charact_reqs will be ignored.
- IV_METHOD: Method with which the characteristics will be changed. Valid methods are:
- Standard method gc_do_nothing (initial) and gc_change: For all objects specified in the characteristicheaders, the characteristics will be changed to the specified characteristic requirements and characteristicvalue assignments. If no characteristics or value assignments are specified for an object, the existingones will be deleted. Otherwise, the specified characteristics are created for the object, and any existing ones will be created by the new ones
- gc_delete: Regardless of the contents of the characteristic tables, the characteristics for the objects specified in the characteristic headers are deleted
- gc_change_actual and gc_delete_actual: As previously, specifying the "actual" methods also makes it possible to change the characteristics of objects that belong to an order that has already been confirmed.
Example
Notes
Possible liveCache error messages If an LC_COM_ERROR or LC_APPL_ERROR error (exceptions) occurs while this module is being processed, all changes made in the liveCache are always completely reversed.
- 2 = om_object_locked: A lock required on a liveCache object could not be acquired
- 3 = om_object_out_of_date: Object changed by a parallel transaction
- 34 = om_invalid_method: Invalid method; only the methods listed above are valid
- 43 = om_invalid_activity: The activity specified in the header table does not exist in the liveCache
- 152 = om_invalid_io_mode: An I/O node object specified in the header table does not exist in the liveCache
- 266 = om_order_is_already_confirmed: The object whose characteristics will be changed belongs toan order that is already confirmed. To change a method anyway, the method must be defined as gc_change_actual or gc_delete_actual
- 305: The object category specified in the header table is not supported. Only the object categories activity and I/O nodes (gc_om_object_activity, gc_om_input_node, gc_om_output_node) are supported.
Further information
Parameters
ET_RCIS_ATP_INFO
IS_GEN_PARAMS
IT_CHARACT_HEADERS
IT_CHARACT_REQS
IT_CHARACT_VALS
IV_METHOD
IV_SIMSESSION
Exceptions
LC_APPL_ERRORLC_COM_ERROR
LC_CONNECT_FAILED
Function Group
APO/SAPLOM_PLANNINGCPI1466 during Backup General Material Data
This documentation is copyright by SAP AG.
Length: 4148 Date: 20120525 Time: 041124 triton ( 157 ms )






