Skip to Content
avatar image
Former Member

How to create Confirmation Item QUANTITY during Runtime

Hi Experts,

I am trying to create Confirmation ITEM with QUANTITY during runtime.

I have successfully created item using CRM_ORDERADM_I_MAINTAIN_OW however it doesnot have scheduling_i structure which hold QUANTITY. I tried with CRM_ORDER_MAINTAIN_MULTI_OW. getting following error, I tried with CRM_SCHEDLIN_I_READ_OW it creating quantity on CRM Confirmation screen.

Can you pls tell me how to get quantity.



The current application program detected a situation which really should not occur. Therefore, a termination with a short dump was triggered on purpose by the key word MESSAGE (type X)

ls_fund_h         TYPE  crmt_fund_h_com,
        ls_cla_h          TYPE  crmt_cla_h_com,
        ls_lawref_h       TYPE  crmt_lawref_h_com,
        lt_lawref_h       TYPE  crmt_lawref_h_comt,
        ls_orderadm_i     TYPE  crmt_orderadm_i_com,
        lt_orderadm_h     TYPE  crmt_orderadm_h_comt,
        lt_chngproc_i     TYPE  crmt_chngproc_i_comt,
        ls_chngproc_i     TYPE  crmt_chngproc_i_com.

        ls_entry            TYPE  crmt_guid_handle,
        lv_dummy            TYPE  crmt_msgtext,
        lv_vona_kind_copy   TYPE  crmt_boolean,
        lv_count            TYPE  i,
        ls_msg_handle       TYPE  balmsghndl,
        ls_exception        TYPE  crmt_exception_logical_ke
        lv_subrc            TYPE  sy-subrc.

        <ls_order_item>   TYPE  crmt_order_items.

* check correct call
  ADD 1 TO gv_recursive_call.
  ADD 1 TO gv_maintain_active.
      recursive_call              = 1
      call_without_order_maintain = 2
      OTHERS                      = 0.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 16, 2010 at 08:13 AM

    Did you solve the problem?

    Add comment
    10|10000 characters needed characters exceeded