As of Release 3.0, the SAP system offers you the option of valuating stocks according to the FIFO principle (First In First Out).
For more detailed information on FIFO valuation, please refer to the documentation.
The same settings apply for FIFO valuation as apply for LIFO valuation.
You can find more detailed information in the Implementation Guide.