Skip to Content

Search Help Exit

Hi Experts,

I need help with this. I've created a Search help Exit for my Search Help, the problem is that I need to look for the Objid that is being used (is a client OM infotype field). So, in order to select the differents values depending on the Objid, I need to select the Objid number and pass it to the search help... can anybody help me with this? How can I select the corresponding Objid?

Thanks in advance,

Regards,

Rebeca

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 05, 2011 at 01:32 PM

    Hi Rebeca.

    I guess the best option is using ABAP Memory (IMPORT/EXPORT)

    Since your match-code would be associated to a Custom Z Infotype, you could export the value of your OBJID at the beginning of the process (PBO of your MP****** program) and get the value back using IMPORT in your Search Help Exit

    Regards

    Edited by: Jose Maria Otero on Sep 5, 2011 3:33 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2011 at 01:30 PM

    there are generally a table in search help exit for making any changes to the fetched records. If you want to select data based on your query , you have to make changes in fetched record it can be done by modifying the table.

    i think there is one table for setting some crietria or select condition as well. You can put a break point in the exit and check if modifying search crieteria will help.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Madhumati,

      Thanks a lot for your response. Yes, I know that there is a table (Record_tab) that have all the query data, the problem is the connection between this ones. Let me explain it better:

      I have a client IT with a client field. This client field search help should display data according to the field HRP1000-short. The problem is that the HRP1000-Short has 5 characters and the corresponding table for fill the client field only has 3 characters, so my problem is how to join the HRP1000-Short with the XXX_Tab-field.

      When I make the search help exit I don't have the necessary data from HRP1001 so I can't read the Short field...

      Any idea?

      Thanks a lot!

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.