How To Fix DH158 - No values can be returned from contained search help &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DH - DD: Messages for search helps

  • Message number: 158

  • Message text: No values can be returned from contained search help &

  • Show details Hide details
  • What causes this issue?

    The <DS:TX.DDDOK_SHLP_COLLECTIVE>collective search help</> in question
    contains search help &V1&. When parameters were assigned to these two
    search helps, however, no <DS:TX.DDDOK_SHLP_PARAMETER>EXPORT
    parameter</> of &V1& was assigned to an EXPORT parameter of the
    collective search help. In an input help process in which the user
    selects <DS:TX.DDDOK_SHLP_ELEMENTARY>elementary search help</> &V1& (or
    an elementary search help contained in collective search help &V1&), no
    value is returned to the screen.

    System Response

    The action is continued.

    How to fix this error?

    If &V1& is directly <DS:TX.DDDOK_SHLP_INCLUDE>included</> in the
    collective search help in question, check the parameter assignment for
    this inclusion. It is possible that some meaningful parameter
    assignments were not defined. It is also possible that the EXPORT flag
    is missing for one or more parameters of one of the two specified
    search helps.
    If &V1& is <DS:TX.DDDOK_SHLP_DEEPER>contained</> in several levels of
    the collective search help in question, you should check the parameter
    assignments and parameter attributes of all the levels in between.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DH158 - No values can be returned from contained search help & ?

    The SAP error message DH158 ("No values can be returned from contained search help") typically occurs when a search help is invoked, but it does not return any values. This can happen for several reasons, and understanding the cause is essential for finding a solution. Here are some common causes, potential solutions, and related information:

    Causes:

    1. No Data in the Database: The underlying database table or view that the search help is querying may not contain any data that matches the search criteria.
    2. Search Help Configuration: The search help may be incorrectly configured, leading to no values being returned.
    3. Authorization Issues: The user may not have the necessary authorizations to view the data that the search help is trying to retrieve.
    4. Selection Criteria: The selection criteria used in the search help may be too restrictive, resulting in no matching records.
    5. Buffer Issues: Sometimes, the buffer may not be updated, leading to stale data being presented.

    Solutions:

    1. Check Data Availability: Verify that the underlying table or view has data. You can do this by executing a simple SELECT query in the database.
    2. Review Search Help Configuration: Go to the transaction SE11 (Data Dictionary) and check the configuration of the search help. Ensure that it is set up correctly and that the associated tables/views are correct.
    3. Check Authorizations: Ensure that the user has the necessary authorizations to access the data. You can check this using transaction SU53 to see if there are any authorization issues.
    4. Modify Selection Criteria: If the search help has selection criteria, try modifying them to be less restrictive to see if any values are returned.
    5. Clear Buffer: You can clear the buffer by using transaction code /$SYNC or by restarting the SAP application server to ensure that the latest data is being fetched.
    6. Debugging: If you have access to debugging tools, you can debug the search help to see where it might be failing.

    Related Information:

    • Transaction Codes: SE11 (Data Dictionary), SE80 (Object Navigator), SU53 (Authorization Check), SE37 (Function Module).
    • Search Help Types: Understand the different types of search helps (e.g., elementary search helps, collective search helps) and how they are configured.
    • SAP Notes: Check SAP Notes for any known issues or patches related to the specific search help you are using.

    If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP Basis or ABAP team for further investigation.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author