Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HOW TO DO FIFO LOGIC??

In the internal table, amount field is contains these data

100

30

150

-20

-180

0

-10

-


Now I have to apply FIFO ligic here.First I have to subtract (-20) from 100.it will come

80

30

150

0

-180

0

-10

Then (-180) will be subtracted 1st from 80 and then rest from 30,and the rest from 150...so it will come

0

0

80

0

0

-10

And lastly (-10) will be subracted from 80..

So final result comes

0

0

70

0

0

0......

So in one internal i have to do this...how to do???

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question