2007 Jul 19 1:52 PM
Hi all,
can anybody tell me where i can find all the movements of materials IN TRANSIT?
I found all movements in table S031 but i don't know how to discriminate the transits from the entrances and the exits relevant for the stock and the inventory.
I need them cause i'm recostructing the stock in a particular date substracting and adding entrances and exits from the actual stock.
I've been asked to add the detail of the transits too.
I've found the actual stock in transit in MARC. What Have i to subtract and add to get the stock in a given date??
Thanks in advance.
2007 Jul 19 1:58 PM
2007 Jul 19 1:59 PM
Hi,
You can find transit qty in table VBBE.
Field - OMENG.
For calculating the transit qty use aggregate function SUM while fetching the data.
Example:
SELECT SUM( OMENG ) INTO TR_MENGE
FROM VBBE
WHERE MATNR = I_MATNR
AND WERKS = I_WERKS
AND VBTYP = 'J'
AND LGORT = '0001'.
TR_MENGE - is the transit quantity.
Hope this will solve your problem.
Reward if helpful.