Do you have any question about this error?
Message type: E = Error
Message class: DH - DD: Messages for search helps
Message number: 171
Message text: Literal &2 defined as default value for parameter &1 is incorrect
The literal &V2& was assigned to parameter &V1& of the search help as
<DS:TX.DDDOK_SHLP_DEFAULT>default</>. A literal must begin and end with
an apostrophe ('). You violated this requirement.
INCLUDE DDDOC_CANCEL
Correct the notation of the default.
INCLUDE DDDOC_SHLP_HANDLE
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
DH171
- Literal &2 defined as default value for parameter &1 is incorrect ?The SAP error message DH171 indicates that there is an issue with a default value defined for a parameter in a data dictionary object, such as a table or a view. The message typically means that the literal value assigned as the default for a parameter is not valid or does not conform to the expected data type or format.
Cause:
- Data Type Mismatch: The default value assigned to the parameter does not match the expected data type. For example, if the parameter is defined as an integer, but the default value is a string, this error will occur.
- Invalid Format: The default value may not be in the correct format. For instance, if a date is expected, but the default value is not in a recognized date format, it will trigger this error.
- Domain Constraints: If the parameter is associated with a domain that has specific value constraints, and the default value does not meet those constraints, the error will be raised.
- Missing Value: The default value might be missing or not properly defined in the data dictionary.
Solution:
- Check Data Types: Verify that the default value for the parameter matches the expected data type. If the parameter is an integer, ensure the default value is an integer.
- Correct Format: Ensure that the default value is in the correct format. For example, if a date is required, make sure the default value is in the correct date format (e.g., YYYY-MM-DD).
- Review Domain: If the parameter is linked to a domain, check the domain definition to ensure that the default value complies with any constraints or allowed values.
- Update Default Value: If the default value is incorrect, update it in the data dictionary to a valid value that meets the requirements.
- Transport Requests: If changes are made in a development environment, ensure that they are transported to the appropriate environments (e.g., quality assurance, production) as needed.
Related Information:
If the issue persists after checking these aspects, it may be beneficial to consult with a technical SAP consultant or refer to SAP support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
DH170
GET parameter &2 defined as default value for parameter &1 does not exist
What causes this issue? A <DS:TX.DDDOK_SHLP_DEFAULT>default value</> was assigned to parameter &V1& of the search help. The value...
DH169
System field &2 defined as default value for parameter &1 does not exist
What causes this issue? The system field &V2& was assigned to parameter &V1& as <DS:TX.DDDOK_SHLP_DEFAULT>default</>, but...
DH172
Search help parameter & is assigned parameters & and & of search help &
What causes this issue? When <DS:TX.DDDOK_SHLP_INCLUDE>including</> search help &V4& in the collective search help, you assigned ...
DH173
Selection method & is too wide
What causes this issue? The total width of the <DS:DE.SELMETHOD>selection method</> of the particular elementary search help exceeds the ...
Click on this link to search all SAP messages.