Hi!
Good day.
I would like to inquire as to how I can add a search tool using certain keywords in a program? You see, the program I am developing stores data in a custom table. However, I am assuming that sooner or later the table will have plenty of data that it will be difficult to search for a particular data. That is why I am asking how to use search using keywords.
For example: For data "Car Manufacturer Information", I want that I will just input "Manufacturer" on the search field then the program will display all data that has the word "Manufacturer". How can this be done?
If there is a function module or an ABAP program for this, please let me know.
Hi,
Try to use function module HELP_VALUES_GET_WITH_TABLE.
In this function module just pass field name on which you want to search, then this can check that particular word in that field value for all the records.
ALso table name, and search criteria.
Thanks & Regards,
Dipika.
Hi,
Write a select query:
Select * from ZTABLE into itab where text cp 'Manufacturer'.
Best regards,
Prashant
Hi gino,
Select -
where text CP 'Manufacturer' is right answer. If you get error on that statment, you would probably check the field that is used in where clause.
or try the following statement. Hope this will helps.
select -
where text = '%manufacturer%'.
I think it will then become a performance issue. Explain it clearly that what exactly you want and where is this being used.
Do you want some thing like search help? Example: customer number search from any customer field. If so try to create a search help and add the same to your custom field.
Add a comment