2008 Nov 06 1:36 AM
Hi gurus i have this problem when i use this function
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_ACTIVITY_H = lt_newactiv
IT_STATUS = lt_status
IT_SERVICE_OS = lt_just
CHANGING
CT_INPUT_FIELDS = lt_inpfields
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5.
IF sy-subrc EQ 0.
i want to edit the field listcode of the structure subject wich is inside of the table lt_just, i fill the listodefield with 'A2ZIC-0R70O703' but when i want to see the result in the transaction
crmd_bus2000126 in the result field it is not updated by this function what should i do ? thanks
2008 Nov 06 3:52 AM
Hello,
Try in this way
delete adjacent duplicates from y_ct_input_fields.
call function 'CRM_ORDER_MAINTAIN'
exporting
it_appointment = p_it_appointment
importing
et_exception = lt_exeption
changing
ct_orderadm_h = y_lt_orderadm_h_temp
ct_orderadm_i = p_it_orderadm_i
ct_input_fields = y_ct_input_fields
exceptions
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
others = 5.
What ever the you want to modify pass the value to y_ct_input_fields
2008 Nov 06 3:00 PM