cancel
Showing results for 
Search instead for 
Did you mean: 

After reversed PGI, how to kept the old delivery document and create new

Former Member
0 Kudos

Dear expert,'

My client has an requirement:

Normal Sales cycle: SO>DN>PGI...Then company found there are some issues like material is wrong..etc Then they will reverse the PGI, and adjust the DN...But they want kept this DN in status like 'closed' 'rejected'...etc.

And then they will change the ori SO, then create an new DN, then PGI.

My questions is how to achieve this point: " kept the old DN in status like 'closed' 'rejected'...etc. and further create new DN after modified the SO."

Anybody has any idea, thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

there is a process for it in include MV50AFZ1,

FORM userexit_delete_document.

in it create an Z table to store the deleted documents.

for reference.

regards,

balajia

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

There is no rejection or closed status for delivery. You have to delete all the line items of the delivery and jus keep it like that

Else you have to archive the delivery

regards,

ramana

Former Member
0 Kudos

hi

After reversing the PGI

Make picked qty 0. Then make delivery qty 0 and then select the line items and delete. Then you can delete entire delivery.

and then u can do the changes in SO and do the further process

Former Member
0 Kudos

hi,

you are requested to sit with ARCHIVING team for the same.

if that team is not available.

then you are requested to sit with ABAP or BASIS team for the requriment.

regards,

balajia