Application Development and Automation 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: 
Read only

getting error in vl02n

Former Member
0 Likes
2,551

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 .

1 ACCEPTED SOLUTION
Read only

ThangaPrakash
Active Contributor
0 Likes
2,426

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

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 .

11 REPLIES 11
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
2,426

Is this the error you are throwing..?

Read only

0 Likes
2,426


sap is throwing this error

Read only

Former Member
0 Likes
2,426

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??

Read only

0 Likes
2,426


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.

Read only

0 Likes
2,426

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

Read only

0 Likes
2,426


I used a break point but of no help.

this implementation automatically updates picked weight through a popup using data from a ztable.

Read only

0 Likes
2,426

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

Read only

0 Likes
2,426


I checked after deactiving it is working fine.
but i need this enhancement

Read only

ThangaPrakash
Active Contributor
0 Likes
2,427

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

Read only

0 Likes
2,426


we have solved it by adopting enhancement

Read only

0 Likes
2,426

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