2011 Sep 05 2:01 PM
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
2011 Sep 05 2: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
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
2011 Sep 05 2: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.
2011 Sep 05 2:35 PM
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!
2011 Sep 05 2: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
2011 Sep 05 3:09 PM
Thanks a lot Jose María Otero!! Now it works perfectly!!!!
Best Regards,
Rebeca
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |