Hi
The error is probably caused because T161-NUMKI = <BLANK>. Please fill in the valid T161-NUMKI.
This needs to be done in customising
Transaction SPRO:
Material Management -> Purchasing -> Purchase Order -> Define Document types
Number range in the case of internal number assignment
Hope this information is of help.
Kind regards,
Lorraine