Skip to Content
avatar image
Former Member

Dump ( Assertion voilated) -'CRM_ORDER_MAINTAIN_MULTI_OW'

I have added a field on Ui Screen , now iam trying to fill with

CRM_ORDER_MAINTAIN_MULTI_OW but iam geeting dump " Assertion violated"

1. field added to CRMD_ORDERADM_H.

below is the code.

ls_orderadm_h-guid = is_status_wrk-guid.
ls_orderadm_h-zz_segment = 'THTU'.
insert ls_orderadm_h into TABLE lt_orderadm_h.

ls_field_names-fieldname = 'ZZ_SEGMENT'.
INSERT ls_field_names INTO TABLE ls_input_fields-field_names.

ls_input_fields-ref_handle = '0000000000'.
ls_input_fields-ref_kind = 'A'.
ls_input_fields-ref_guid = is_status_wrk-guid.
ls_input_fields-objectname = 'ORDERADM_H'.
INSERT ls_input_fields INTO TABLE lt_input_fields.

CALL FUNCTION 'CRM_ORDER_MAINTAIN_MULTI_OW'

EXPORTING

iv_collect_exceptions = lt_exception
changing
CT_ORDERADM_H = lt_orderadm_h
ct_input_fields = lt_input_fields
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

Please let me know is there any issue in filling the structure

your help is higly appreciate

Thanks
NK

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 06, 2017 at 08:04 AM
    -1

    This error is due to incorrect date profile settings as explained in OSS note 1853316. Do the required configuration changes as indicated in the said note.

    Add comment
    10|10000 characters needed characters exceeded