Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SJ - Objects in SAP system
Message number: 028
Message text: Only fields of type CHAR or NUMC allowed
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
SJ028
- Only fields of type CHAR or NUMC allowed ?The SAP error message SJ028 "Only fields of type CHAR or NUMC allowed" typically occurs when you are trying to use a field in a context where only character (CHAR) or numeric character (NUMC) fields are permitted. This error is often encountered in various scenarios, such as when defining data elements, structures, or when working with certain function modules or reports.
Cause:
- Field Type Mismatch: The field you are trying to use is of a type that is not allowed in the context you are working in. For example, you might be trying to use a field of type INT, FLOAT, or any other non-CHAR/NUMC type.
- Incorrect Data Element: If you are using a data element that is not defined as CHAR or NUMC, this error can occur.
- Function Module/Report Limitations: Some function modules or reports may have restrictions on the types of fields they can accept.
Solution:
- Check Field Types: Review the field definitions in your program or data dictionary. Ensure that the fields you are using are of type CHAR or NUMC.
- Modify Data Elements: If you have control over the data elements, consider changing the type to CHAR or NUMC if it makes sense for your application.
- Use Compatible Fields: If you are passing fields to a function module or report, ensure that you are only passing fields of the allowed types.
- Debugging: If you are unsure where the error is occurring, use debugging tools to trace the execution and identify the specific field causing the issue.
Related Information:
By ensuring that you are using the correct field types in the appropriate contexts, you should be able to resolve the SJ028 error.
Get instant SAP help. Sign up for our Free Essentials Plan.
SJ027
Entry is not numeric
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SJ026
Internal error in INCLUDE &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SJ029
Key is too long (max. & characters)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SJ030
& are too long (max. & characters)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.