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: 

Determining if a Material Document has been fully reversed

former_member215188
Participant
0 Kudos

Hi!

I have a seemingly fundamental problem. I want to determine if a Material Document has been fully reversed.

By fully reversed, I mean the movement quantities of all items is equal to zero. This is taking into consideration that a material document can be partially reversed (some items were reversed, or different items were reversed by different documents) and that reversal documents can also be reversed.

It's a pretty recursive tree traversal problem. Challenging as it is, I want to check first if there is already an existing standard facility for this as I don't want to reinvent the wheel.

Thanks!

MiR

2 REPLIES 2

Former Member
0 Kudos

Hi

you can check it from the tables MKPF and MSEG

if you know a material doc

enter that in MSEG and see all the different depending doc for reversal with PO no and Item

Regards

ANJI

0 Kudos

Anji,

Yes, I am aware of the tables and fields. However, it's not as easy as it seems. This is the reason why I am looking for a standard solution. Thanks though.

Emir