SAP Message AD338 - Use another data type in the pool key

Diagnosis
The key of a pooled table may contain only CHAR-type data types (withoutconversion): CHAR, NUMC, ACCP, CLNT, CUKY, DATS, TIMS, LANG,UNIT.

Procedure
Use a valid data type or remove the field from the key part.