Implementing Search
Hi all,
I need to create a new Search page in WebUI consisting of custom Fields and some standard field.
My custom fields have values in DDIC .
does any body have any idea how to do it. If any one has done it, plz let me know how to do this.
Any suggestion will be helpfull...
Regards
David.
Hi David,
You can do it in two ways.
1.Through EEWB you can add those custom fields and in the wizard of eewb select the option "search help" against those fields.Automatically those fileds will be added in the context node of the Search page.
Select those fields for display in the configuration of search page view and you can see those fields in the web UI and will be able to search based on those fields.
2.Find out the BOL object for the search page view and check out which structure it is pointing to either from table CRMC_ALLOBJ_BUIL or through transaction code Genil_model_browser.
Append those custom fields in the structure.Automatically those custom fields will appear in the context node.
Select those fields for display in the configuration of search page view and you can see those fields in the web UI.
Find out appropriate enhancement point for the search application and write the search logic inside that.
You will be able to search then based on the custom fields.
Thank you,
Anirban
Similar Messages
-
How to implement Search Help in Interacive Form based on WebDynpro Java?
Hi Experts,
How to implement Search Help in Interacive Form based on WebDynpro Java?
Could someone please provide the prerequisites and the code for the same.
Regards,
ShobhitExtend the controller and get the handle of the current row of the VO. Set set the attribute context filed accordingly. Also get the handle fo the flexbean and set the context. According rendering would change.
Regards
Sumit -
Implement Search Engine in Oracle ADF 11g
Hi All,
I am using Oracle jDev 11.1.1.5.0
I want to implement Search Engine within my application.
User of my application will search for anything which is very related to my application only.
User can't use it like Google/Yahoo/..etc.
He/She can only search for the things which are stored in my Database only.
Is it possible?
If yes, then how should I proceed?
Appreciate your help.
Thanks and Regards,
Madhav K
Edited by: Madhav on Mar 9, 2012 3:59 AM
Edited by: Madhav on Mar 9, 2012 4:33 AMHi Navneeth,
Thanks for your reply.
I heard about this for the first time from you. I read about this on Google.
I think this is a new separate big software.
Can you please look at this,
http://docs.oracle.com/cd/E10502_01/doc/install.1018/e10464.pdf
and tell me is this the one which you are talking about?
Is there any other way to implement search engine within my application?
Bacause I think this software is a very big software.
Thanks and Regards,
Madhav K. -
How to implement search engine for pdf file.
Hi
I am newbie to AIR technolgy .how to implement search engine . when i enter the name of file in search box , it should fetch correspoding the pdf file .
Please help me out
Thanks
MohanHi sekhar,
Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
Look at the below link
http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
You need to use the component WDR_OVS.
It has 3 phases
In phase 1
You will fetch the value from input field to F4 help dialog box.
In phase 2
You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
In phase 3
The selected value will be returned to the original screen.
Regards
Karthiheyan M -
To implement search help for date and time fields details
how can i implement search help for date and time fields in screen painter
Hi
Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
Aditya -
Implementing Search functionality on Database Table
Hi Experts,
I am working with webcenter sites 11gR1.
I would like to implement search functionality in our Site on a Specific DataBase table.
could you please let us know the best solution.
Thanks in Advance
Rajendar Pilli.Hi Jay,
Thanks for your response and help.
1)Both the ways are fine with me. Could you please suggest me know the best way.
2)And, if i want search on a table which is not an "AssetType" table , is it possible?
(Means,i want implement one search in my site that can search the data only in non Assettype table).
Could you please provide your valuable help ASAP.
Thanks in Advance,
Rajendar Pilli. -
ATG 10.1.2, Endeca guided search: Implementing search field
My team is working on implementing an application with ATG Commerce 10.1.2 and Endeca Guided Search 3.1.1, but no Endeca Experience Manager.
We understand that in a keyword search HTTP request that gets sent from ATG to Endeca, the following URI parameters must be present:
Ntt = Search keywords
Ntx = Match mode
Ntk = The search interface
Is there an ATG OOTB (out-of-the-box) component or mechanism for generating keyword search requests to Endeca guided search?
Or do we need to build the URI for the request from ATG to Endeca guided search with custom code?
Thanks!
-JonIf you would have been using the experience manager then you could have created/used cartidge for search box and inserted in your pages as below to show search textbox. here (/content/Shared/Global Search Configuration/Search Box) is path where Search Box cartidge is located in experience manager (you can refer CRS10.1.2 for it)
<dsp:droplet name="InvokeAssembler">
<dsp:param name="contentCollection"
value="/content/Shared/Global Search Configuration/Search Box"/>
<dsp:oparam name="output">
<dsp:getvalueof var="searchBox"
vartype="com.endeca.infront.assembler.ContentItem"
param="contentItem" />
<dsp:renderContentItem contentItem="${searchBox}" />
</dsp:oparam>
</dsp:droplet>
but now since you are not using the experience manager and cartidges you would need to have something below like code to show text search box to query endeca
<dsp:page>
<dsp:importbean bean="/OriginatingRequest" var="originatingRequest"/>
<dsp:importbean bean="/atg/multisite/Site" var="currentSite"/>
<dsp:importbean bean="/atg/endeca/assembler/SearchFormHandler"/>
<dsp:getvalueof var="contextPath" vartype="java.lang.String" value="${originatingRequest.contextPath}"/>
<dsp:form action="${contextPath}/browse" id="searchForm" >
<input type="hidden" name="Nty" value="${Nty}"/>
<input name="Ntt" value="${searchText}" type="text" />
<dsp:input type="hidden" value="${currentSite.id}" bean="SearchFormHandler.siteIds"/>
<dsp:input type="submit" bean="SearchFormHandler.search" value="submit" />
</dsp:form>
</dsp:page> -
How to implement SEARCH HELP for input field in WDA
Hi All,
I am doing a tool for my team. in this tool there are 4 input fields to show different processes. I implemented the 4 input fields and also bind the respective tables to these fields successfully. Actually I want to filter the data between 2 fields . Means the data in the 2nd input field should be based on the 1st input field. Means when I'll select for example 'CHI' (code for CHINA) in the 1st input field the 2nd field meant for country name should show all country name with value 'CHINA'. But the problem is that all values related to each field are in different table with no foreign key relationship and also some combinations are in single table..
I have tried the import and export parameter method for search help but no luck till now.
Can anyone please suggest me how to implement this scenario..
Thanks in advance...
sekharHi sekhar,
Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
Look at the below link
http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
You need to use the component WDR_OVS.
It has 3 phases
In phase 1
You will fetch the value from input field to F4 help dialog box.
In phase 2
You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
In phase 3
The selected value will be returned to the original screen.
Regards
Karthiheyan M -
Implementing Search Filed in apex 4.1
Hi All,
I am new to APEX
I have an application, which is based on SQL query. For that apllication i want implement a search function based on particular column.
For Ex: I have name column in the application, So in the search text filed when i any type a string present in name column it should redirect me to the same page by filtering the records on that search criteria
when the criteria matches
else if it doesn't matches the search criteria appropriate message "not found" should be displayed.
the report i have for this is classic report.
Please anybody guide me on this as i need this on urgent basis.
ThanksHi,
This is my code
select * From (
select
apex_item.checkbox(21,'#ROWNUM#','UNCHECKED') " " ,
APEX_ITEM.HIDDEN(1,ptr.row_id)||APEX_ITEM.text(22,ptr.country_code||'-'||ptr.name) partner,
ptr.row_id,
ptr.country_code,
cmp.country_description,
ptr.name,
ptr.gsrt_category,
ptr.gcm_ptr_category,
APEX_ITEM.TEXT(19,ptr.opn_number_esrt,5) opn_number_esrt,
ptr.company_id,
count(ptr.emea_category),
apex_item.select_list_from_query(23,ptr.emea_category, 'select category_description,category from fridge_esrt_ptnr_cat_mst') cat,
apex_item.select_list_from_query(24,ptr.partner_group, 'select partner_group,group_id from APEX_SRT_PTNR_GROUP') partner_group,
apex_item.select_list(25,ptr.global_isv,'Y;Y,N;N') global_isv_flg,
apex_item.select_list(26,ptr.specialised_partner,'Y;Y,N;N') specialised_partner_flg,
apex_item.select_list(27,ptr.opn_membership_level,'Diamond;Diamond,Platinum;Platinum,Gold;Gold,Silver;Silver,Remarketer;Remarketer') opn_membership_level,
apex_item.select_list(28,ptr.high_impact_stl,'High Impact Partner;High Impact Partner,Managed Partner;Managed Partner,Partner STL;Partner STL') high_imp_ptr,
apex_item.select_list(29,ptr.managed_ptr,'Strategic;Strategic,Managed Partner;Managed Partner,Investment;Investment') managed_ptr_flg,
apex_item.select_list(30,ptr.we_apps_type,'Transformational,Best-in-Class,C-Level') we_apps_type,
apex_item.select_list(31,ptr.isv_ready_status,'Y;Y,N;N') ptr_stl_account,
round(sum(srt.cd_sum/1000),4) cd_sum
from apex_srt_partner ptr
left outer join apex_ptr_revenue_a srt on ptr.name = srt.partner_name and substr(ptr.country,1,3) = srt.country_code
left outer join oxo_cube.l_company_d cmp on srt.country_code = cmp.country_code
where
cd_sum>0 and ptr.emea_category <>'DIR' and
ptr.country_code in(select country_code from ept_sec_apex_data_vis where upper(trim(user_email))=upper(trim(:APP_USER)))
and
(case when :P1_CATEGORIES is null then 'X'
else emea_category end) = nvl(:P1_CATEGORIES, 'X')
and
(case when :P1_PNAME is null then 'X'
else name end) like '%'||upper(:p1_pname)||'%'
and
(case when :P1_COUNTRY is null then 'X'
else cmp.country_code end) = nvl(:P1_COUNTRY, 'X')
and
(case when :P1_REGION is null then 0
else cmp.region_seq end) = nvl(:P1_REGION, 0)
and
(case when :P1_CLUSTER is null then 0
else cmp.cluster_seq end) = nvl(:P1_CLUSTER, 0)
and
(case when :p1_subcluster is null then 0
else cmp.sub_cluster_seq end) = nvl(:p1_subcluster, 0)
and
(case when :p1_fiscalmonth is null then 'X'
else srt.fiscal_month end) = nvl(:p1_fiscalmonth, 'X')
having count(ptr.emea_category)=1
group by ptr.row_id,
ptr.country_code,
cmp.country_description,
ptr.name,
ptr.gsrt_category,
ptr.gcm_ptr_category,
ptr.opn_number_esrt,
ptr.company_id,
ptr.emea_category,
ptr.partner_group,
ptr.global_isv,
ptr.specialised_partner,
ptr.opn_membership_level,
ptr.high_impact_stl,
ptr.managed_ptr,
ptr.we_apps_type,
ptr.isv_ready_status
order by cd_sum desc)
where(
instr(upper("NAME"),upper(nvl(:P1_PNAME,"NAME")))>0
)Thanks
Edited by: 917574 on May 30, 2012 1:28 AM -
How to Implement search Refiners for social tagging in SharePoint 2013
Hi Sharepointers,
Scenario is that when i add tags to Site Collection I can be able to refine that Site url with the tag term in Enterprise Search. I had implemented refined search with Managed Metadata Column in Custom List and Document Library. But now I need to implement
Refined Search for Social tags. Need Valuble suggestions
Thanks,
VinnarasiHi Anil Avula,
Thanks for your reply. Already I had used "Refinement" Webpart for having Search Refiners in List Level. I had referred
Add
Search Refiners link. Now my requirement is that, When I add a tag (i.e)Social tagging in "Tags&Notes" for a Site Collection and search for
the tagged-term, Search results should be refinable for the tagging. Hope to have a reply
Thanks,
Vinnarasi -
Implementing search engine on website
Hi,
can anyone advise me on how to go about implementing a search engine that I have coded in java onto a website? Thanks!Without knowing anything about what you've coded, no.
-
Implementing Search Using MessageChoice - Help
Hello all,
I'm trying to implement a search operation for a Master-Detail Page.
For which I've 2 MessageChoice's and a MessageTextInput.
1) The first MessageChoice (Parent) represents the Table or View.
2) The second MessageChoice (Child) represent the field or Attribute name of a particular table or view.
3) The MessageTextInput would be for the user to enter the value for the search.
Consider that my Master Detail is based on the Departments-Employees Scenario.
Now for the MessageChoices I've created a Parent-child relationship based on this Post.
Re: Parent-Child using <messageChoice> to <table>
POSTS -> 464
My Problem is that after following the steps mentioned in this link I don't have a "NAME" property in the Property Inspector for the messageChoice. It is only based on this "NAME" property that I can perform the search operation by writing an appropriate method in the application module Class. For an ordinary MessageChoice there is a property called "NAME" but in this case when i drag an drop an attribute as a messageChoice it's not there. If I try to manually include it... the whole parent-child relationship fails to work.
I would like to know whether there is any other way of identifying the MessageChoice's or is there any other way of implementing the search. Thanks in advance.
Regards,
Arun.V[EasyFind|http://www.devon-technologies.com/products/freeware/index.html] can do this, though it's a lot slower than Spotlight.
You can probably do it in Spotlight as well, but I think you need a "Raw Query" search, which is pretty clumsy. I believe that the Spotlight/Finder "friendly" interface implicitly uses all three of these search modifier options listed in Apple's [Spotlight Query Programming Guide|http://developer.apple.com/library/mac/#documentation/Carbon/Conceptual/S potlightQuery/Concepts/QueryFormat.html]:
!http://i51.tinypic.com/2vngp37.jpg!
The standard search options don't provide for changing this, but a Raw Query search which uses just dw as the modifiers instead of cdw should be case-sensitive. To set this up you could start with a Finder window, type command-F, set the search scope at the top to "Contents, set Kind to "Other" and choose Raw Query, then enter the following in the text entry box:
kMDItemTextContent == "THIS TEXT AS IT APPEARS HERE"dw
I've tried this in Snow Leopard and it seems to work - I don't have a Leopard system to test it on. You could substitute any string of your choice between the quotes, and can include wildcards by using the * character. Having to enter "kMDItemTextContent == " is clumsy, though, and EasyFind might be a better choice. -
Failure in implementing search help
Dear forumers,
I'm trying to implement a search help function in my selection screen but it's not working (for program name, TADIR-OBJ_NAME).
What could possibly be wrong and how can I fix the problem (kindly refer to the codes below - I_TADIR is always empty without any records, so it is impossible to have data for search help)?
Please help.
REPORT ydt_abap.
TABLES: tadir.
TYPES: BEGIN OF t_tadir,
obj_name TYPE tadir-obj_name,
END OF t_tadir.
CONSTANTS: c_program(4) TYPE c VALUE 'PROG'.
DATA: i_tadir TYPE STANDARD TABLE OF t_tadir.
DATA: i_f4_result TYPE STANDARD TABLE OF ddshretval.
DATA: w_f4_result TYPE ddshretval.
PARAMETERS: p_dclass TYPE tadir-devclass.
PARAMETERS: p_author TYPE tadir-author.
PARAMETERS: p_prog TYPE tadir-obj_name OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_prog.
CLEAR: i_tadir,
i_f4_result,
w_f4_result.
" Retrieve program names
SELECT obj_name
FROM tadir
INTO TABLE i_tadir
WHERE object = c_program
AND author = p_author " Debug mode: P_AUTHOR is always empty eventho a valid value has been entered
AND devclass = p_dclass. " Debug mode: P_DCLASS is always empty eventho a valid value has been entered
IF i_tadir IS NOT INITIAL. " Debug mode: I_TADIR is always empty here
" Customize search help
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'P_PROG'
value_org = 'S'
TABLES
value_tab = i_tadir
return_tab = i_f4_result
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
" Check return code
IF sy-subrc EQ 0.
READ TABLE i_f4_result INTO w_f4_result INDEX 1.
IF sy-subrc EQ 0.
p_prog = w_f4_result-fieldval.
ENDIF.
ELSE.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
START-OF-SELECTION.Hi,
insert this:
DATA: BEGIN OF DYNPFIELDS OCCURS 0.
INCLUDE STRUCTURE DYNPREAD.
DATA: END OF DYNPFIELDS.
DYNPFIELDS-FIELDNAME = 'P_AUTHOR'. APPEND DYNPFIELDS.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-REPID
DYNUMB = SY-DYNNR
TABLES
DYNPFIELDS = DYNPFIELDS
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11.
IF SY-SUBRC = 0.
READ TABLE DYNPFIELDS WITH KEY FIELDNAME = 'P_AUTHOR'.
P_AUTHOR = DYNPFIELDS-FIELDVALUE.
ELSE.
EXIT.
ENDIF.
befor SELECT obj_name
Regards, Dieter -
How to implement search in Oracle Apex 3.2?
I am new to orale apex & i want to impelment keyword based search in my app. I want a textbox on page 0 so that this textbox will come on every page. User will enter the search criteria & clieck on search button, app. will search that keyword in database & if found will redirect to that page other messa eg to the user.
Any help would be highlt appretiated...
Thanks,
-AmitCreate Page 0;
- Add a HTML Region to it
- Add a Texfield to it within the region
- Add a Button to it within the region
- The button should branch to the to page where the details will be shown (let's say Page 2).
On page 2 you will have a report with the details. The code may look something like this:
SELECT * FROM DETAILS_TBL WHERE ID = :P0_TEXTwhere P0_TEXT is the name of the textfield.
Mike -
How to implement search help instead of match code objects table in program
Hi,
We are now in upgrade process of code remediation ( From 4.6c to EC6.0).
We have created search helps instead of matchcode object table. This match code object table M_VMVLC has been deleted
in EC6.0. And search help VMVLC is available.
In the program, they have used <M_VMVLC > -<fieldname> i.e. <tablename> - <fieldname> in declaring parameters,
in the 'into' clause of select statement, in the 'from' clause of select statement, in the 'write' statement.
I want to know how to replace this matchcode object table with the search help in the program.
Thanks,
Abirami.Hi,
Check the link
http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
Regards,
Amit -
ADF 11g: How to implement search form with automatic substring search
We have ADF search form and result table on the same page. Say, VO that this search form is based upon is famous Employee table from HR schema. What we need is a logic when user enters partial employee first name ie: 'jo'...it should return 'john', johnny, joanne etc...
just like if user would use wildcard %
What worked in 10g ADF was something like this:
AccessServiceImpl svc = (AccessServiceImpl)JSFUtils.EL("#{data.AccessService.dataProvider}");
BirthViewNewImpl b = svc.getBirthViewNew();
ViewCriteria vc = b.getViewCriteria();
String staffId = JSFUtils.getFromSession("staffId").toString();
String studyId = JSFUtils.getFromSession("studyId").toString();
if (vc != null) {
System.out.print("BR " + studyId + " " + staffId + " ");
AttributeDef[] defs = vc.getViewObject().getAttributeDefs();
Iterator criteriaRows = vc.iterator();
while (criteriaRows.hasNext()) {
ViewCriteriaRow r = (ViewCriteriaRow)criteriaRows.next();
if (r != null) {
for (int j = 0, numAttrs = defs.length; j < numAttrs; j++) {
if (JboTypeMap.isCharType(defs[j].getSQLType())) {
String val = (String)r.getAttribute(j);
String col = defs[j].getColumnName();
if (val != null) {
System.out.print(col + "=" + val + " ");//just to see what is going on
System.out.println("");
b.searchRecords();//method in VO that executes query
* This is now very wrong.... Very artificial way to eliminate % from the UI
if (vc != null) {
AttributeDef[] defs = vc.getViewObject().getAttributeDefs();
Iterator criteriaRows = vc.iterator();
while (criteriaRows.hasNext()) {
ViewCriteriaRow r = (ViewCriteriaRow)criteriaRows.next();
if (r != null) {
for (int j = 0, numAttrs = defs.length; j < numAttrs; j++) {
if (JboTypeMap.isCharType(defs[j].getSQLType())) {
String val = (String)r.getAttribute(j);
String col = defs[j].getColumnName();
if (val != null) {
val = val.substring(0,val.length()-1);//return to normal
System.out.println("Column: " + col);
System.out.println("Value: " + val);
r.setAttribute(j,val);
return null;The problem is for some reason this does not quite work in 11g.
What is the best practice to achieve this functionality in 11g?Or use a catsearch index or a contains index in your query. The will preform much better for large datasets as it doesn't do a full table scan.
Google for Oracle Text ( http://www.google.de/search?q=%27oracle+text%27+catsearch&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a )
Timo
Maybe you are looking for
-
I'm newly switched to Logic from Cubase. Question on using folders properly! If I drag say 6 guitar tracks from the bin in to the arrange page. Then select all those new regions/tracks and 'pack' them in to a folder. I'm left with a bunch of newly cr
-
I would like to see all my contacts in my old outlook acount, after loading the cloud I I can only find them in the new cloud acount. How do I get them back in the old outlook acount?
-
I can copy from USB sticks but cannot write to USB stick. I have tried various USB sticks to ensure I wasn't using an old stick or a damaged stick but nothing works. I have tried formatting the sticks differently, i.e. FAT32, Mac OS Extended etc but
-
Calculate Relation within Query Results
I am currently stuck with a Resultset which Looks as follows: | Month | LastWeekForMonth | ValueForLastWeekOfMonth | | 2013-09 | 2013-40 | 981408,27 | | 2013-10 | 2013-44 | 931209,12
-
Actual Benefits of final methods and final parameters
I know that a lot of this depends on the JVM and the actual code, but I was wondering what the actual real world advantage was of using final methods and final parameters. I use a business and data layer for my program to interact with the database.