Skip to Content
0
Former Member
Jan 21, 2015 at 04:25 AM

Opening Stock and closing Stock

14 Views

Hi Abapers ,

I have a requirement of opening stock and closing .

I have records in my internal table like this ,

material doc.no openingqty closing qty

------------------------------------------------------------------------------------

100-100 101 50 70

100-100 102 60 80

100-101 201 60 90

100-101 202 40 20

My requirement is the output should appear as follows that the closing qty should be the opening qty of next doc no .

material doc no openingqty closingqty

------------------------------------------------------------------------------------------------------

100-100 101 50 70

100-100 102 70 80

100-101 201 60 90

100-101 202 90 20

Regards ,

Rocky

<thread locked by moderator, spoonfeeding is bad for health>

Message was edited by: Manish Kumar