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: 

How to add and delete an item/line in sales order via user exit?

klef
Explorer
0 Kudos

Under certain conditions I want an item to be added to SO, which I've managed. However, I cannot find information anywhere on how to also delete this very same item (if some conditions change).

I tried with XVBAP-UPDKT = 'D' but it does not work.

I also tried setting an ABGRU (Reason for cancellation) value on the item, and the item indeed shows as canceled in the sales order, however, the price does not get updated. The price stays the same as if the item was not cancelled.

Any advice?

0 REPLIES 0