When creating purchasing document, the relevant G/L account is automatically determined by plant, movement type and the valuation class that derived from the material master data. However, when a text item (without material master data) is input, how can system know which valuation class to use?

There is a "Entry Aids" setting in configuration which will help system determine the valuation class. This entry can be found in IMG -> Material Management -> Purchasing -> Material Master. As shown below:
Each material group is assigned a valuation class and purchasing value key.
At the time of data entry, if you enter a stock material, the valuation class will be copied from the material master data - accounting view.
If a text item is entered, then the valuation class and purchasing value key will be copied from the mentioned configuration.





