Message type: E = Error
Message class: AD - Data Dictionary application messages
Message number: 338
Message text: Use another data type in the pool key
The key of a pooled table may contain only CHAR-type data types (without
conversion): CHAR, NUMC, ACCP, CLNT, CUKY, DATS, TIMS, LANG,
UNIT.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Use a valid data type or remove the field from the key part.
Error message extract from SAP system. Copyright SAP SE.
AD338
- Use another data type in the pool key ?The SAP error message AD338, which states "Use another data type in the pool key," typically occurs in the context of ABAP programming when you are trying to define a key for a pooled table or a cluster table. This error indicates that the data type you are using for the key field is not compatible with the requirements for pooled or cluster tables.
Cause: Incompatible Data Type: The key field in a pooled or cluster table must be of a specific data type. Commonly, the key fields should be of type CHAR, NUMC, or DATS. If you are using a different data type (like STRING, FLOAT, etc.), you will encounter this error. Key Field Definition: The definition of the key fields in the table may not adhere to the constraints set by SAP for pooled or cluster tables.
Solution: Change Data Type: Review the data types of the key fields in your pooled or
Get instant SAP help. Sign up for our Free Essentials Plan.
AD337
Specify no more than one client field in the key
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AD336
Generic key field missing
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AD339
Enter a key for table &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
AD340
Field definitions for table & changed, data exists (F1)
What causes this issue? You have changed the definition of fields of the table in the ABAP/4 Dictionary. However, a physical table containing data ha...
Click on this link to search all SAP messages.