Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
subathra
Partner - Contributor III
Partner - Contributor III

How can i find Stock Ageing for this scenario

Item,   Branch ,  Date  ,In_Qty  ,Out_Qty   ,Stock_Qty

ABC,   0A1,   1/1/2016,    10,    0,   10

ABC,    0A1,   4/1/2016,   0,      8,   -8

ABC,   0A1,   23/2/2016,  10,    4,    6

ABC,   0A1,   28/2/2016,   0,     2 ,   -2

2 Replies
Gysbert_Wassenaar

Subtract the date of entry of the stock from the current date.

Or perhaps this example can help you: SAP Stock Aging using the MSEG and MKPF tables


talk is cheap, supply exceeds demand
sushil353
Master II
Master II

Try this:

load Today()-Date(Date#(Date,'DD/MM/YYYY')) as AgeingDays,* inline

[

Item,   Branch ,  Date  ,In_Qty  ,Out_Qty   ,Stock_Qty

ABC,   0A1,   1/1/2016,    10,    0,   10

ABC,    0A1,   4/1/2016,   0,      8,   -8

ABC,   0A1,   23/2/2016,  10,    4,    6

ABC,   0A1,   28/2/2016,   0,     2 ,   -2

];

HTH

Sushil