Hello. I need to develop a stock and sales report that will be executed daily in R/3. These are the columns that appear in the output:
MATERIAL NUMBER| OPENING STOCKS QTY (Current month opening stocks) | CLOSING STOCKS QTY (Stock as on end of current day)| SALES QTY| SALES VALUE| FREE GOODS QTY| UoM| DATE| DAMAGED QTY| DAMAGED QTY VALUE| RETURN QTY| RETURN VALUE
While I've kind of worked out how to calculate the opening stock quantity and the sales data details, which seems to be working fine, I'm not sure how to go about the calculation of closing stock. What must I look out for, which tables should I access... sample coding, ... any suggestions?