Supply Chain Management Blogs by Members
Learn about SAP SCM software from firsthand experiences of community members. Share your own post and join the conversation about supply chain management.
cancel
Showing results for 
Search instead for 
Did you mean: 
PrasannaG
Explorer
0 Kudos

Introduction:

A failed Queue with an error message as “The document cannot be deleted” occurs in SAP EWM whenever we delete EWM delivery for a Logistic execution delivery with the status as Distributed. 

Process leading to Queue Failure:

Step 1: Logistic execution outbound delivery created and distributed to EWM.

 

PrasannaG_0-1715654308468.png

Step 2: EWM delivery deleted:

a) Select the line tem and then click on the edit option.

b) Then click on the delete option.

PrasannaG_1-1715654308434.png

 

PrasannaG_2-1715654308482.png

Step 3: Queue Failure occurs with the error message “The document cannot be deleted.”

PrasannaG_3-1715654308413.png

Solution:

To process the failure queue, we have two options:

Option 1:

  1. Required to change the value of LIKP table field VLSTK from B (Distributed) to space  (Not Relevant) for the delivery in debugging mode using transaction code /h
  2. Change the LE delivery quantity to Zero and reprocess the failed Queue.

Option 2:

  1. Need to change the value of LIKP table field VLSTK from B (Distributed) to space (Not Relevant) for the delivery using SQL query.

         [select VBELN, VLSTK from LIKP where VBELN IN ('0511540000');

         update sapabap1.LIKP set VLSTK='' “ where VBELN IN (('0511540000');]

     2. Change the LE delivery quantity to Zero and reprocess the failed Queue.

 

Option 1 Process:

Step1:

Need to change the value of the LIKP table field VLSTK from B (Distributed) to space (Not Relevant) for the delivery in debugging mode using transaction code /h.

Go to Transaction code SE16, enter the table LIKP, and provide the outbound delivery 511540000.

Click on Icon ‘Execute’

PrasannaG_4-1715654308452.png

Step 2: Keep the Cursor on the Delivery line item and Click on “Display’ as shown above.

PrasannaG_5-1715654308427.png

Click on ‘Next Screen’

PrasannaG_6-1715654308386.png

The value B (Distributed) is displayed for the field VLSTK.

PrasannaG_7-1715654308465.png

Step 3: To change the value of the LIKP table field VLSTK from B (Distributed) to space (Not Relevant) for the delivery, enter the transaction code /h and click on the enter key twice.

PrasannaG_8-1715654308416.png

The debugger screen is displayed.

PrasannaG_9-1715654308458.png

In the debugger screen, click on show in the code.

PrasannaG_10-1715654308720.png

Then click on the change content option, change the value from “SHOW” to “EDIT,” and click on the enter key.

PrasannaG_11-1715654308476.png

The LIKP table is displayed automatically with the field values in editable mode.

PrasannaG_12-1715654308454.png

Then, change the value for VLSTK from B (Distributed) to Space (Not Relevant) and click the save button.

PrasannaG_13-1715654308472.png

Step 4: Change the LE delivery quantity from one to Zero.

PrasannaG_17-1715655097350.png

Reprocess the failed Queue.

PrasannaG_15-1715654308418.png

Delivery 511540000 is deleted.

PrasannaG_16-1715654308450.png

Conclusion:

Failed Queue with an error message: “The document cannot be deleted” is processed.

Labels in this area