cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound delivery cannot be deleted

Former Member
0 Kudos

Hello Team,

1) Supplier has published 2 ASN of 500 qty each for the same PO.

2) ASN successfully updated in ECC

3) Customer has done the GR of 1 ASN of 500 qty

4) Now the Supplier has canceled the 2 ASN

5) But in ECC the idoc is getting failed with error

Inbound delivery cannot be deleted

Goods receipt already posted for inbound delivery.

Both have different ASN no.

Idoc  WHSCON.DELVRY05

Process code - DELV (Delivery (SHPCON + WHSCON with DELVRY01)

Function module - IDOC_INPUT_DELVRY

Need to delete the 2nd ASN in ECC. how can it be done.

Thanks,

Harshad M.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In this case GR already posted so you can't delete the Inbound delivery

I suggest below steps

1.Transaction MIGO : Cancel the material document with mov type 102 of the PO

2.Which should reverse the quantity automatically in SNC aswell, if this functionality doesn't not exist

(OR)


Manually set/reset staus of ASN using T code /SCA/DLV_SET_GR - Set and Reset Goods Receipt Status in SNC which sets ASN status to 'Publish'


3.Cancel required ASN in SNC, then automatically with standard Idoc WHSCON.DELVRY will trigger and delete Inbound delivery


Please try and let me know

Satish

Former Member
0 Kudos

Hello Satish,

Thanks for the reply.

We found the issue, there is custom enhancement in the FM of the idoc. Thats the reason why the Inbound delivery was not getting deleted.

Regards,

Harshad Morye

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi HArshad

Reverse the inbound delivery through VL09 or delete the IBD through VL32N

And then try Re procesing the Idoc through WE19


Also refer this thread which can be of some help


https://scn.sap.com/thread/3480078


Regards

Shailesh

Former Member
0 Kudos

Hello Shailesh,

We have debugged the IDOC with the technical team, the issue seems to be with the enhancement done in the function module of the IDOC.

Still checking with the team.