Skip to Content
author's profile photo Former Member
Former Member

Message in Search help Exit

Hi All,

We have to create a search help exit to handle a different search scenario which is not handled by the search help alone, hence created the search help exit to achieve this requirement, it is working fine when there is data, when there is no data, we need to give a message as 'No values found', I tried using the exceptions in the search help exit, but is of no use. Can anyone suggest me a good way of handling this.

Rgds,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 09, 2005 at 08:11 AM

    Hi,

    Try giving a message in the 'Display values' section if the internal table RECORD_TAB is empty.

    Thanks

    Vinod

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 09, 2005 at 12:05 PM

    Hi Sailatha,

    to me it is not clear why you need to send a message at all when the set of possible values is empty. This is a situation that is possible for all search helps and the standard F4 processing can handle it (I think it displays a message, too). Hence, why do you want to produce your own message?

    BTW: It seems that you delete entries from the record_tab that have been selected before. It may be helpful to have a look at search help SFLIGHT_MIN_FREE and its exit SAPBC_GLOBAL_F4_SFLIGHT_MIN_FR. There you can find an example how to handle this problem.

    Greetings

    Stephan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.