Skip to Content
author's profile photo Former Member
Former Member

Issue by the confirmation of a who

Hello Colleagues,

we got a problem with our SCM-EWM System. We set up an ERP-SCM-EWM Landscape and configured according to the rapid deployment solution guide. All looks fine, but all the time when we try to confirm the warehouse order of the inbound delivery from ERP the system issues an express document with the message "Update was terminated". (attached files)

Has anyone ever had this problem?

Thanks and best regards.

sm13.PNG (56.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Aug 18, 2014 at 06:13 PM

    Can you share ST22 Dump Analysis.

    Regards,
    Sathish

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Ulrich,

      I had gone through ST22 Dump analysis. I 100% agree with your analysis. Because of Duplicate record of /SCWM/QUAN - System is going for Dump/Run-time Error. In this case, It should go for UPDATE statement instead of INSERT statement.

      I even searched notes to fix this. I did not find any specific notes for this code. I searched with creteria using /SCWM/QUAN , SCM-EWM-WOP , /SCWM/SAPLHU_TO_UPD . I also gone through lot of notes to identify relevant one But, did not find any right note.

      My best suggestion would be dropping a message to SAP and wait for reply.

      Regards,

      Sathish

  • Posted on Aug 16, 2014 at 04:42 AM

    Hi

    There is a note available for same..Please search in market place and execute.

    Regards

    Suraj

    Add a comment
    10|10000 characters needed characters exceeded

    • hi

      Can you check is it useful and resolve ur issue.

      Number 0001022053

      Installation 0120061532 Package 4620 Note 0001233912 - Dump in UI for WT confirmation when using large no of WOs Software Component SCMEWM Status Released Date 30.07.2008

      LIMU METH /SCWM/CL_UI_TO_CONF FILL_TO_SEL_FILTER R3TR CLAS /SCWM/CL_UI_TO_CONF

      SCMEWM

      510

      510

      1022053

      *$*$----------------------------------------------------------------$*$*

      *$ Correction Inst. 0120061532 0001022053 $*

      *$ Req. Corr. Instructions 0120061532 0000925770 Note 0001093935 $*

      *$--------------------------------------------------------------------$*

      *$ Valid for : $*

      *$ Software Component SCMEWM Extended Warehouse Management $*

      *$ Release 510 To SAPK-51007INSCMEWM $*

      *$*$----------------------------------------------------------------$*$*

      *&--------------------------------------------------------------------*

      *& Object FUNC /SCWM/WHO_GET

      *& Object Header FUGR /SCWM/WHO_MAIN

      *&--------------------------------------------------------------------*

      *& FUNCTION /SCWM/WHO_GET

      *&--------------------------------------------------------------------*

      ...

      FUNCTION /scwm/who_get.

      DATA: lt_whoid TYPE /scwm/tt_whoid,

      *>>>> START OF DELETION <<<<<

      lt_ordim_o TYPE /scwm/tt_ordim_o,

      *>>>> END OF DELETION <<<<<<<

      *>>>> START OF INSERTION <<<<

      lt_whoids TYPE /scwm/tt_whoid,

      lt_ordim_o TYPE /scwm/tt_ordim_o,

      *>>>> END OF INSERTION <<<<<<

      ...

      SORT gt_whohu BY lgnum who hukng.

      RETURN.

      ENDIF.

      *>>>> START OF DELETION <<<<<

      ELSEIF NOT it_whorange IS INITIAL.

      *>>>> END OF DELETION <<<<<<<

      *>>>> START OF INSERTION <<<<

      ELSEIF NOT it_whoid IS INITIAL.

      * coding identical to iv_whoid - just in LOOP

      LOOP AT it_whoid INTO ls_whoid.

      READ TABLE gt_who ASSIGNING <who> WITH KEY lgnum = iv_lgnum

      who = ls_whoid-who

      BINARY SEARCH.

      IF sy-subrc IS INITIAL.

      IF <who>-db_lock IS INITIAL AND NOT iv_lock_who IS INITIAL.

      DELETE gt_who WHERE lgnum = iv_lgnum AND

      who = ls_whoid-who.

      DELETE gt_whohu WHERE lgnum = iv_lgnum AND

      who = ls_whoid-who.

      APPEND ls_whoid TO lt_whoids.

      ELSE.

      APPEND <who> TO et_who.

      IF et_whohu IS REQUESTED.

      READ TABLE gt_whohu TRANSPORTING NO FIELDS

      WITH KEY lgnum = iv_lgnum

      who = ls_whoid-who

      BINARY SEARCH.

      IF sy-subrc IS INITIAL.

      LOOP AT gt_whohu ASSIGNING <whohu> FROM sy-tabix.

      IF <whohu>-lgnum <> iv_lgnum OR <whohu>-who <> iv_whoid.

      EXIT.

      ENDIF.

      APPEND <whohu> TO et_whohu.

      ENDLOOP.

      ENDIF.

      IF <who>-type CA 'CD' AND "pick pack path

      <who>-topwhoid IS NOT INITIAL.

      READ TABLE gt_whohu TRANSPORTING NO FIELDS

      WITH KEY lgnum = iv_lgnum

      who = <who>-topwhoid

      BINARY SEARCH.

      IF sy-subrc IS INITIAL.

      LOOP AT gt_whohu ASSIGNING <whohu> FROM sy-tabix.

      IF <whohu>-lgnum <> iv_lgnum OR

      <whohu>-who <> <who>-topwhoid.

      EXIT.

      ENDIF.

      APPEND <whohu> TO et_whohu.

      ENDLOOP.

      ENDIF.

      ENDIF.

      ENDIF.

      ENDIF.

      ELSE.

      APPEND ls_whoid TO lt_whoids.

      ENDIF.

      CHECK NOT iv_to IS INITIAL.

      APPEND ls_whoid TO lt_whoid.

      ENDLOOP.

      IF NOT lt_whoids IS INITIAL.

      TRY.

      IF et_whohu IS REQUESTED.

      CALL FUNCTION '/SCWM/WHO_SELECT'

      EXPORTING

      iv_to = iv_to

      iv_lgnum = iv_lgnum

      it_who = lt_whoids

      iv_lock_who = iv_lock_who

      iv_lock_to = iv_lock_to

      io_prot = io_prot

      IMPORTING

      et_who = et_who

      et_whohu = et_whohu

      et_ordim_o = et_ordim_o

      et_ordim_c = et_ordim_c.

      ELSE.

      CALL FUNCTION '/SCWM/WHO_SELECT'

      EXPORTING

      iv_to = iv_to

      iv_lgnum = iv_lgnum

      it_who = lt_whoids

      iv_lock_who = iv_lock_who

      iv_lock_to = iv_lock_to

      io_prot = io_prot

      IMPORTING

      et_who = et_who

      et_ordim_o = et_ordim_o

      et_ordim_c = et_ordim_c.

      ENDIF.

      ENDTRY.

      APPEND LINES OF et_who TO gt_who.

      APPEND LINES OF et_who TO gt_who.

      SORT gt_who BY lgnum who.

      APPEND LINES OF et_whohu TO gt_whohu.

      SORT gt_whohu BY lgnum who hukng.

      ENDIF.

      CHECK NOT iv_to IS INITIAL.

      ELSEIF NOT it_whorange IS INITIAL.

      *>>>> END OF INSERTION <<<<<<

      ...

      *&--------------------------------------------------------------------*

      >>> A T T E N T I O N: P L E A S E N O T E: <<<

      >>> Correction contains additional changes that are NOT shown here <<<

      >>> Display all changes by Note Assistant Note display functionality <<<

      *&--------------------------------------------------------------------*

      *& Object METH /SCWM/CL_UI_TO_CONF

      *& CALL_WHO_GET

      *& Object Header CLAS /SCWM/CL_UI_TO_CONF

      *&--------------------------------------------------------------------*

      ...

      DATA: ls_msg TYPE symsg,

      lv_who TYPE /scwm/de_who,

      ls_who TYPE /scwm/s_whoid,

      *>>>> START OF DELETION <<<<<

      lt_who_range TYPE rsds_frange_t,

      ls_who_range TYPE rsds_frange,

      lt_selopt TYPE rsds_selopt_t,

      *>>>> END OF DELETION <<<<<<<

      *>>>> START OF INSERTION <<<<

      lt_selopt TYPE rsds_selopt_t,

      *>>>> END OF INSERTION <<<<<<

      ...

      IF iv_who IS SUPPLIED.

      lv_who = iv_who.

      ENDIF.

      *>>>> START OF DELETION <<<<<

      IF it_who IS SUPPLIED.

      LOOP AT it_who INTO ls_who.

      ls_selopt-sign = wmegc_sign_inclusive.

      ls_selopt-option = wmegc_option_eq.

      ls_selopt-low = ls_who-who.

      APPEND ls_selopt TO lt_selopt.

      ENDLOOP.

      IF NOT lt_selopt[] IS INITIAL.

      ls_who_range-fieldname = wmegc_fname_who.

      APPEND LINES OF lt_selopt TO ls_who_range-selopt_t.

      APPEND ls_who_range TO lt_who_range.

      ENDIF.

      ENDIF.

      TRY.

      *>>>> END OF DELETION <<<<<<<

      *>>>> START OF INSERTION <<<<

      TRY.

      IF et_whohu IS REQUESTED.

      *>>>> END OF INSERTION <<<<<<

      ...

      CALL FUNCTION '/SCWM/WHO_GET'

      EXPORTING

      iv_lgnum = iv_lgnum

      iv_whoid = lv_who

      *>>>> START OF DELETION <<<<<

      it_whorange = lt_who_range

      *>>>> END OF DELETION <<<<<<<

      *>>>> START OF INSERTION <<<<

      it_whoid = it_who

      *>>>> END OF INSERTION <<<<<<

      ...

      iv_lock_who = iv_lock_who

      IMPORTING

      es_who = es_who

      et_who = et_who

      et_whohu = et_whohu.

      *>>>> START OF DELETION <<<<<

      CATCH /scwm/cx_core.

      *>>>> END OF DELETION <<<<<<<

      *>>>> START OF INSERTION <<<<

      ELSE.

      CALL FUNCTION '/SCWM/WHO_GET'

      EXPORTING

      iv_lgnum = iv_lgnum

      iv_whoid = lv_who

      it_whoid = it_who

      iv_lock_who = iv_lock_who

      IMPORTING

      es_who = es_who

      et_who = et_who.

      ENDIF.

      CATCH /scwm/cx_core.

      *>>>> END OF INSERTION <<<<<<

      ...

      *&--------------------------------------------------------------------*

      *&--------------------------------------------------------------------*

      *& Object METH /SCWM/CL_UI_TO_CONF

      *& FILL_TO_SEL_FILTER

      *& Object Header CLAS /SCWM/CL_UI_TO_CONF

      *&--------------------------------------------------------------------*

      ...

      LOOP AT it_selection INTO ls_selection

      WHERE fieldname EQ 'F_TANUM'

      OR fieldname EQ 'F_TOSTAT_O'.

      IF ls_selection-fieldname EQ 'F_TANUM'

      *>>>> START OF DELETION <<<<<

      AND ls_selection-sign EQ wmegc_sign_inclusive.

      *>>>> END OF DELETION <<<<<<<

      *>>>> START OF INSERTION <<<<

      AND ls_selection-sign EQ wmegc_sign_inclusive

      AND ls_selection-low CO '0123456789'

      AND ls_selection-high CO '0123456789'.

      *>>>> END OF INSERTION <<<<<<

      ...

      *&--------------------------------------------------------------------*

      Regards

      Suraj

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2014 at 11:42 AM

    Hello Sathish,
    hello Suraj,

    first of all thanks for your assistance. To your information, on monday, we going to create a message with the failure for SAP.

    Warm greetings to you all and keep well and fit.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.