That usually happens when the combination Gen Bus. posting Group (blank) and General product posting group (RAW MAT) is not setup in general posting setup.
Add a record there like the one i have marked in red and complete it with necessary G/L account numbers.
Regards,
Khushbu Rajvi
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156