on 09-24-2007 7:15 AM
Hi all,
I want to do search functionality on a repository through Java API but I don't found any documents on than can any one give me documents on that.
I tried to do with keyword search but not getting on which field it is searching and how it is searching.
Thanks
Ninad
Hi Ninad,
try this:
Search search = new Search(tableId);
search.addSearchItem(new FieldSearchDimension(fieldId), new TextSearchConstraint("searchText", TextSearchConstraint.STARTS_WITH));
RetrieveLimitedRecordsCommand cmd = new RetrieveLimitedRecordsCommand(connection);
cmd.setSearch(search);
cmd.setResultDefinition(...);
cmd.setSession(...);
cmd.execute();
Have a look at these examples as well:
https://websmp101.sap-ag.de/~sapidb/011000358700000535912007E
Regards
Roger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.