cancel
Showing results for 
Search instead for 
Did you mean: 

Issue by the confirmation of a who

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Ulrich: getting the same issue, did u get a response on this from SAP?

JuergenPitz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

maybe check note 2001605 and the ones listed in there. But the fix only works for new documents.

Brgds

Juergen

0 Kudos

Hello Ulrich,

We are facing similar issue. Can you please share the findings of SAP which will be a great help to cross the hurdle

Warm Regards,

Norbert Mendonca

former_member193471
Active Contributor
0 Kudos

Can you share ST22 Dump Analysis.

Regards,
Sathish

Former Member
0 Kudos

Hi,

of course in the attachement you can find the dump.

Thanks for your help!

Former Member
0 Kudos

Hi

Have checked SAP note provided by me.

Hope that as used for correction program  /SCWM/LHU_TO_UPDF28.

Regards

Suraj

former_member193471
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi

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

Regards

Suraj

Former Member
0 Kudos

Hey  Suraj Tatpalliwar,

thanks for your reply. We have already tried everything, i guess. May be you can tell me more details about this special note (keyword for the search or a link).

We checked some notes from the market place, but all of these checked notes are not for our problem. Ether its not the same kind of problem or the system patch level of the note is under our release (we have the highest release now). Perhaps we are now so desperate that we dont see the wood for the trees :-(.

The Problem is finally that the system all the time try to insert the quant in the table with an existing quant (guid-number). At the first time its the right way, but in the second, they should delete the quant from the receiving zone and update the existing quant. But the all the time they insert quants.

Best regards

Former Member
0 Kudos

Hi

Is this sudden ?

Is it newly installed sap EWM system?

then due to improper installation.

if it happens suddenly then check the earlier day it was proper and retrieve that point of system.

it is all due to DB table issue. Meanwhile will check for NOTE to fix. I found will update u.

Regards

Suraj

Former Member
0 Kudos

Hi,

not suddenly, the whole time. Always when we try to confirm a warehouse action. The problem is that we know the place where the system create the dump. but we dont know how to solve the problem 🙂

No, the SCM system was already installed and the ewm component has been updated. But the both systems are on the highest release level.


The System should use in a first step the command insert to create a quant with a new guid parent, in the next loop the system should use the command delete and update to refresh the quant information. But our System use all the time the insert command. At the second loop the try to insert the existing guid_parent into the quant table with the existing guid_parent. And then boom ... dump.

We compared with an original working SAP-System. And this system working normal. At the first loop they insert the quant and at the following they delete/update the quant. The working system set up an update-flag our system not. But we dont know why. The system is customized according to the rds-guide.

i can post detailed screenshot if its necessary.

Former Member
0 Kudos

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