Periodic Variance Calculation: Value Flow 
The inventory account is debited and the inventory change account is credited.
For materials whose price control indicator is set to S, a goods receipt credits the order and a posting is made in FI at the standard price shown in the material master.
In make-to-stock production, the standard price is normally calculated in a standard cost estimate for the material.
In sales-order-related production with a valuated sales order stock, the standard price is written to the material master at the time of the first goods receipt. The inventory can be valuated according to the entries in Customizing for the Product Cost by Sales Order component in the requirements class:
For materials whose price control indicator is set to V, the goods receipt results in the order being credited and a posting made to Financial Accounting at the price selected by the valuation variant defined in Customizing for Product Cost Controlling under Define Valuation of Goods Received for Order Delivery.
If this price is different than the standard price, the system will report an output price variance when the variances are calculated.
The actual costs consist of the costs assigned directly to the order or product cost collector (such as the costs for material usage) and the costs that were assigned to the product cost collector by distributing the costs entered at the level of the hierarchy.
The order balance for the period can contain the following costs:
For orders for which a goods receipt was entered in the period, the system determines the variances between the standard price and the actual cost in the period for the product cost collector or manufacturing order. If the costing lot size is not the same as quantity produced in the period, the values in the standard cost estimate are converted to the quantity produced in the period.
The system performs the following steps when it calculates the variances:
In Product Cost by Order, the scrap is deducted from the actual costs. In Product Cost by Period, the work in process and scrap are deducted from the actual costs.
Actual costs – Work in process – Credit postings for goods receipts