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: DH - DD: Messages for search helps
Message number: 142
Message text: Non-Boolean value & in & of search help parameter &
Attribute &V2& in the sources of the <DS:TX.DDDOK_SHLP_PARAMETER>search
help parameter</> represent a boolean value. According to SAP
convention, such an attribute must always have the value 'X' or ' '.
You violated this rule for parameter &V3&.
INCLUDE DDDOC_CANCEL
Make sure that the sources of the search help are consistent.
Error message extract from SAP system. Copyright SAP SE.
DH142
- Non-Boolean value & in & of search help parameter & ?The SAP error message DH142, which states "Non-Boolean value & in & of search help parameter &," typically occurs when a search help parameter is expected to be a Boolean value (i.e., true or false) but receives a non-Boolean value instead. This can happen in various scenarios, such as when using search helps in selection screens or when calling search helps programmatically.
Cause:
- Incorrect Parameter Type: The search help is defined to expect a Boolean value, but the value being passed is not of the correct type (e.g., a string or numeric value).
- Data Type Mismatch: The data type of the field in the database or the structure does not match the expected Boolean type.
- Custom Code Issues: If there is custom code that manipulates the search help parameters, it may inadvertently pass incorrect values.
Solution:
- Check Search Help Definition: Review the definition of the search help in transaction SE11 or SE80. Ensure that the parameters are correctly defined and that the expected data types match the values being passed.
- Parameter Mapping: If you are using a custom program or report, ensure that the parameters being passed to the search help are correctly mapped and are of the expected type.
- Debugging: If the error occurs in a custom program, use the debugger to trace the values being passed to the search help. Check for any transformations or assignments that may lead to a non-Boolean value.
- Review Data Types: Ensure that the data types of the fields in the database or structures are compatible with the expected Boolean values.
- Consult Documentation: If you are using standard SAP search helps, refer to the SAP documentation or notes related to the specific search help for any known issues or updates.
Related Information:
If the problem persists after checking these areas, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
DH141
Data element &2 assigned to search help parameter &1 is not active
What causes this issue? A <DS:TX.DDDOK_SHLP_PARAMETER>parameter</> of the search help was assigned a <DS:TX.MK-ROLLNAME>data elemen...
DH140
Search help parameter & was not assigned a data element
What causes this issue? The specified <DS:TX.DDDOK_SHLP_PARAMETER>parameter</> of the search help has not been assigned a <DS:TX.MK-RO...
DH143
Search help parameter & as display field on selection screen w/o position
What causes this issue? The flag that it should appear as a display field in the dialog box for restricting values is set for a <DS:TX.DDDOK_SHLP_...
DH144
Search help parameter & cannot appear on & as not elementary
What causes this issue? You defined that a <DS:TX.DDDOK_SHLP_PARAMETER>parameter</> of the search help should appear in the dialog box fo...
Click on this link to search all SAP messages.