Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Program to restore the delivery deleted from SMQ2

former_member658203
Participant
0 Kudos

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

1 REPLY 1

former_member1716
Active Contributor
0 Kudos

Hello mukkesh,

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!