as long this message comes up one of the fields is probably still empty.
I would need to see the who picture to know what the exact root cause is.
Is your material split valuated, do you have material ledger active,do you create a new material or do you just extend an existing material
And last but not least the details from the program.