Skip to Content

ABAP Program to restore the delivery deleted from SMQ2

Dear Experts,

I'm new to ABAP. Unfortunately I've deleted a delivery in SMQ2. Either I want to restore the delivery or want to delete it.

We use EWM. Once the delivery is created the delivery will be distributed to the EWM. Since the end user unfortunately deleted the delivery in SQM2, I couldn't delete or change the delivery. If I go to VL02N, I'm getting an error message "The delivery is not yet distributed to the warehouse system; Change of delivery is not possible".

I was instructed to use ZCORRECT program in SE38 and to write a small program to cancel or restore the delivery.

Can you share me the script to be used in SE38 (ZCORRECt) to change the delivery. (I was instructed to use the table LIKP).

Thank you in advance.

Mukkesh

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 31, 2020 at 10:00 AM

    Hello Mukkesh Ramasamy,

    I don't think you will be able to retrieve the deleted Deliveries back to system. However you can check from CDPOS and CDHDR tables. Recommend you to go through the THREAD which deals the same situation.

    Regards!

    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.