2014 Feb 27 10:59 AM
a) I did PGI (Post goods Issue) for a delivery no in vl02n.
b) did pgi reversal from vl09 .
c) now if i go to vl02n and try to delete the line item , it wont be deleted.
I am using a badi (LE_SHP_DELIVERY_PROC) for vl02n .
2014 Mar 02 7:34 AM
Hello Piyush,
I guess the problem is with the document flow, there is some inconsistency caused during the PGI reversal. Can you please run the report "SDVBFA01" (SAP document flow correction report) and then try to delete the line item from the delivery. It might work I guess, kindly check and let us know the results.
Regards,
Thanga
2014 Feb 27 11:03 AM
2014 Feb 27 11:10 AM
2014 Feb 27 11:10 AM
Hi Piyush,
Hope this was not happening before your BADI implementation..
have u put a break point in your BADI and checked what is going wrong? may be are you filling some table parameters when the item is deleted from delivery??
2014 Feb 27 11:14 AM
yes maju it was not happening before badi implementation.
currently i am trying to find out what's going on using break point.
at the same time i am expecting some help.
2014 Feb 27 11:17 AM
Just have to put a break point at statement message to see where it is thrown from.. Seconldy what you have coded in the implementation?
Nabheet
2014 Feb 27 11:51 AM
I used a break point but of no help.
this implementation automatically updates picked weight through a popup using data from a ztable.
2014 Feb 27 1:06 PM
Hi Piyush
Can you please share you smaple code which you have in BADI.It may happen that when you save data first time because of this enhancment inconsistency is happening.
Try one thing deactive your enhancement or comment all code and then check
Nabheet
2014 Mar 01 4:28 AM
I checked after deactiving it is working fine.
but i need this enhancement
2014 Mar 02 7:34 AM
Hello Piyush,
I guess the problem is with the document flow, there is some inconsistency caused during the PGI reversal. Can you please run the report "SDVBFA01" (SAP document flow correction report) and then try to delete the line item from the delivery. It might work I guess, kindly check and let us know the results.
Regards,
Thanga
2014 Mar 03 10:06 AM
2014 Mar 03 10:20 AM
Hello Piyush,
That's great. Can you please share your solution here, so that it will benefit for the people who will be referring to the discussion in the future.
Regards,
Thanga