Generic Search Framework
Hi,
Can anybody tell me how Generic Search Framework in B2B works ?
Regards
Rajni Garg
Hi Rajni,
Please refer extension guide given by SAP (SAP E-Commerce 7.0 u2013 Landscape, Basics and Concepts.). Go to page no 101 of the guide. that has details of generic search framework.
Thanks!
Ekta
Similar Messages
-
Generic Search Framework - Extension
Helo all,
I`m extendig the SAP E-Commerce 5.0 (CRM 5.0) and I have troubles to config the "Generic Search Framework", does anybody has a documentation to extend this?
regards,
LuizHi Rajni,
Please refer extension guide given by SAP (SAP E-Commerce 7.0 u2013 Landscape, Basics and Concepts.). Go to page no 101 of the guide. that has details of generic search framework.
Thanks!
Ekta -
Generic search framework search result sorting accrding to header name
HI!
I need to implement new option to generic search result. There I should implement new sorting, user need to sort GS result according to header.
How can I add sorting option to to my GS results. Do I have to used existing option to add sorting option?
Thanks in advance.Unless you explicitly specify type=nosort, the result list is by default sortable by a column. When you introduce the new option in the generic-seacrchbackend-config.xml, if you do not specify anything explicitly, then, the result can be automatically sorted by that column by clicking the column header.
Also, you can influence the initial sorting of the displayed result by a column. You can do so by specifying defaultSortSequence="ASCENDING" or "DESCENDING" as you desire. -
How to add a new field to an existing Generic Search result list?
Good day,
I'm new to the concepts of the Generic Search Framework. I'm attempting to add a new field to an existing result list, and have that new field restricted to a value of "C". This new field will not be displayed, it is only used to ensure that Invoice Documents with a DocStatus of "C" are returned to the B2B Application.
From the *modification\generic-searchbackend-config.xml file, the existing
<h4><property-group name="billing_resultlist_B2B_R3">
<property name="BILLINGDOC" columnTitle="sbt.sbs.genericsearch.billing.invoice.title" parameterType="rowkey" hyperlink="b2b/documentstatusdetailprepare.do" linkParamClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" linkParamMethod="buildAttributesForBillingDocumentDetails" linkTargetFrameName="form_input" />
<property name="BILL_DATE" type="date" columnTitle="status.sales.date" writeUnderProperty="BILLINGDOC" defaultSortSequence="DESCENDING" />
<property name="NET_VALUE" type="number" columnTitle="status.billing.detail.netvalue" fieldOutputHandlerClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" fieldOutputHandlerMethod="buildBillingNetValue" cssClassName="amount" />
<property name="CURRENCY" type="hidden" />
<property name="PAYER" columnTitle="gs.hd.gl.partner" linkParamClass="com.sap.isa.ui.uiclass.genericsearch.GenericSearchUIDynamicContent" linkParamMethod="buildShowPartnerLinkSales" />
<property name="PAYERS_GUID" type="hidden" />
<property name="SD_DOC_CAT" type="hidden" />
<property name="OBJECTS_ORIGIN" type="hidden" />
</property-group>
</h4>
I'm trying to better understand how the R/3 tables and columns are specified in the Generic Search Framework. I know that the R/3 table and field is: VBRK.RFBSK, but in the configuration XML files, I never see this exact information specified. How it is specified to be a part of the result set?
After reading the section in the Development and Extension Guide, I also learned about the "allowedValue" definition, and I believe that I will use that to specify the "C" value for the Invoice Document Status field.
I would greatly appreciate any help.
Thanks,
_kevinHi Kevin,
this means you are working in this section of the generic-searchbackend-config.xml
<property-group name="SearchCriteria_B2B_Billing"
useSearchRequestMemory="true">
Below this property
<property name="IRT_BDH_BILL_TYPE"
type="box"
entityType="BEART_BILL_TYPE"
tokenType="EXP"
requestParameterName="rc_documenttypes"
label="gs.att.lbl.doc.type"
UIJScriptOnChange="GSloadNewPageR3(this);">
<allowedValue value="ORDER" description="b2b.status.shuffler.key1val2"/>
<allowedValue value="QUOTATION" description="b2b.status.shuffler.key1val1" />
<allowedValue value="INQUIRY" description="b2b.status.shuffler.key1val11" />
<allowedValue value="ORDERTMP" description="b2b.status.shuffler.key1val3" />
<allowedValue value="CONTRACT" description="b2b.status.shuffler.key1val4" />
<allowedValue value="INVOICE" description="b2b.status.shuffler.key1val5" default="true"/>
<allowedValue value="CREDITMEMO" description="b2b.status.shuffler.key1val6" />
<allowedValue value="DOWNPAYMENT" description="b2b.status.shuffler.key1val7" />
<allowedValue value="AUCTION" description="b2b.status.shuffler.key1val9" />
</property>
please try adding this new property
<property name="DOCUMENT_STATUS(1)"
entityType="CL_CRM_REPORT_SET_STATUS"
tokenType="RAN"
type="hidden"
requestParameterName="rc_status_head1" value="C" />
This should do the trick. Unfortunately, I don't have a E-Commerce scenario with an ERP backend for testing purposes available to you have to test it yourself. Keep me updated with the test results !
Philipp Koock
SAP CRM Web Channel Consultant
http://www.koock.net -
How to create generic search help in wd abap
Hi experts,
How to create generic search help in wd abap.
Regards...
Arun.Hi Arun,
Following links have step by step procedures for creating search helps and other related topics.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
Regards,
Neha
<i><b>PS:Reward if helpful</b></i> -
Generic Connection Framework Optional Package for J2SE
i have learnt that the Generic Connection Framework Optional Package can be used to make J2SE able to use J2ME classes. However, how can i implement the package so that i can do so.
Thank you for your advice.http://developers.sun.com/techtopics/mobility/midp/articles/genericframework/
-
Generic Search and Help Values in ECO 5.0
Hi,
I am extending our Internet Sales application with additional fields. Some of those fields should have help values (similar to the F4 help in SAPGUI). Since there the new generic search functionality in ECO I am trying to implement own help values with the generic search.
Did anyone already succeed implementing own searches with this functionality? Is there any documentation available?
Regards
FlorianThis is an exact variation on this
https://social.technet.microsoft.com/Forums/windowsserver/en-US/cef223c7-21dd-42d0-a674-482743586b0e/read-excel-file-and-replace-string-with-text-file?forum=winserverpowershell#9c1526d2-69bd-4e36-9db4-e7bacb784627
The reordering of the wording and the use of Excel does not really clarify what you are asking at all.
To replace a value in Excel just assign the cell the value you want. Look in the Gallery for numerous examples of how to edit a spreadsheet.
You need to rethink your question as it is very hard to understand what you are asking.
\_(ツ)_/ -
Generic searches in Solman 7.1 Charm and Incident Management
Hi,
I would like to configure some GENERIC searches in the web UI for ChaRM
and incident Managment.
Something like:
Show all my Incidents
or
Show all my Change Reqeust
or
Show all tickets where I am a Change Manager.
Like it is possible in crm_dno_monitor or in the Workcenter.
Afterwards I´d like to share that with the global Sharing tool.
Does anyone know if that is possible?
thanks and Best RegardsHi thanks for your answers,
If I define a query in the workcenter, how do I get it usable in CRM WEB UI.
In CRM WEB UI I can define a search which shows every Change for a specific BP, but that does´t help me if I want to share this query. I need something which shows for every users his/her Changes.
I do not understand what you mean with 'How do I connect to CRM UI'. Via Internet Explorer.
Thanks and Best Regards
Alex -
Increasing the date range in generic search
Hello,
Is there an easy way to increase the date range in generic search to more than 1 year (the last year option in the dropdown)?
Our release is ecommerce 7.
Many thanks
StefanCheck if the BAPI is able to give results for more than a year. If thats possible, add new select options to the jsp of the search view.
-
SEARCH Framework Trees missing
Hello,
We are trying to setup OSES search for PeopleSoft. After finishing all the steps that were given in the document, we can make connections between PeopleSoft and OSES. It is all working fine.
Current issue is that when i try to do "Audit" in Deploy / Delete, it is showing "Fail" status. Here is the message that i am getting
Delete query security Check
User does not have access to query/records involved in the query
Digging further, we found out that SEARCH Framework Trees are missing. Not sure how? We don't have demo region as our demo comes from state comptroller.
How do i fix it?
Let me know.What is the Application and PUM image version this is on? PeopleSoft application version 9.2 should deliver the SES Options but it will not be available on Application Version 9.1 or prior unless you are on the highest bundles of HCM, other applications will still use Verit for search until upgraded to 9.2.
-
Deploy the PTPORTALREGISTRY - PeopleSoft search framework
Hi,
I have installed PeopleSoft search framework using OSES.
When I try to deploy the PTPORTALREGISTRY search definition, the page is getting signed out from the below navigation.
Main menu – PeopleTools – Search FrameWork – Administration – Deploy/Delete Object.
Any help on this is highly appereciated.
Thanks
SoundappanI experienced the same issue when running on an environment where HCM Feature Pack 2 was installed manually with PeopleTools 8.52.06.
After a fresh install of HCM FP2 Revision recut with PeopleTools 8.52.09 it works as a charm.
If you are not on 8.52.09, you might want to patch your tools.
Otherwise try to following to clean static state of PeopleSoft and SES and then redeploy the definition.
PeopleSoft
delete from PS_PTSF_DEPLOY_OBJ;
commit;
Ses
Login to the SES Admin Console: (Sample URL http://myserver:7777/search/admin)
Delete the stale definitions from following tabs:
a. Home, Schedules
b. Home, Sources
c. Search, Source Groups -
How Do I Use Generics with Framework Extension Classes?
Hi Guys and Gals,
I've been writing alot of duplicate code lately for ViewObjects that are all basically the same. So it occurred to me that perhaps I could put shared code in a Framework Extension Class. My problem lies in the fact that I do quite a bit of class casting as well. I thought perhaps Generics could come to the rescue. But uh ... I don't really know anything about them, which makes asking the right questions or even researching difficult.
Here's an example of what I would like to accomplish.
I have many different Master-Detail ViewObjects which are all pretty much the same. For example ...
PurchaseOrder (1-*) PoRows
SalesOrder (1-*) SoRows
Invoice (1-*) InvoiceRows
etc...
Here is sample code for the PurchaseOrder / PoRows
public void cancelDocument()
RowIterator ri = this.getPoRowsVO(); // access the detail view object
RowSetIterator rsi = ((RowSet)ri).createRowSetIterator(null);
while(rsi.hasNext())
PoRowsVORowImpl next = (PoRowsVORowImpl)rsi.next();
next.cancelRow(); // call a detail view object method exposed to the client
rsi.closeRowSetIterator();
}However, these two lines are cause for ponderance
1. RowIterator ri = this.getPoRowsVO();
2. PoRowsVORowImpl next = (PoRowsVORowImpl)rsi.next();Which leads me to two questions:
1) How do I access the Detail part of the relationship in a framwork extension class generically?
2) If I have to cast, is there a way to read the class type through reflection and cast using a generic method with what I've found?
I would think writing common methods in a Framework Extension class would really help make maintaining my code easier, and I could see how it would be a powerful tool. But how would one get around these ViewObject specific problems?
WillHi,
you are correct, Generics has a different meaning in Java then what you ask for.
Actually to access a detail row set from a parent row, you can use code like this:
public void voRowCancel(){
for (int i = 0; i < this.getAttributeCount(); i++)
if(this.getStructureDef().getAttributeDef(i).getAttributeKind() == AttributeDef.ATTR_ASSOCIATED_ROWITERATOR){
RowSet rs = (RowSet) this.getAttribute(i);
// ... to do ...
}However, the code you invoke is on a custom implementation class, which makes it difficult to get to this from here.
Frank -
Search framework folders by custom metadata
Hi,
I need a way to search the files in framework folders by custom metadata. The number of returned results might be ranging from 3000 to 4000. We are using OracleTextSearch as the default search engine for our environment. I am using the below code which is failing
binder.putLocal("IdcService", "GET_SEARCH_RESULTS");
binder.putLocal("QueryText",
"xenterprise_request_number <matches> `1234` <AND> xParentFolders <matches> `8C3002F394F3A70A44E3DB807921E8A4`");
binder.putLocal("SearchEngineName", "DATABASE");
Appreciate your help in this regard!!Hi Srinath,
Below is the error I can see in Content Server logs:
An error has occurred. The stack trace below shows more information.
!csUserEventMessage,weblogic,CIS!$!csSearchUnableToReturnResults!$
intradoc.common.ServiceException: !csSearchUnableToReturnResults
*ScriptStack GET_SEARCH_RESULTS
3:getSearchResults,**no captured values**
at intradoc.server.SearchManager.retrieveSearchInfoAsBinder(SearchManager.java:295)
at intradoc.server.SearchService.retrieveSearchInfo(SearchService.java:1848)
at intradoc.server.SearchService.doLocalSearch(SearchService.java:1377)
at intradoc.server.SearchService.getSearchResults(SearchService.java:670)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
at intradoc.server.Service.doCodeEx(Service.java:620)
at intradoc.server.Service.doCode(Service.java:575)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:547)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:542)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
at intradoc.server.Service.executeActions(Service.java:528)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
at intradoc.server.Service.doRequest(Service.java:1956)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: intradoc.data.DataException:
at intradoc.jdbc.JdbcWorkspace.handleSQLException(JdbcWorkspace.java:2553)
at intradoc.jdbc.JdbcWorkspace.createResultSetSQL(JdbcWorkspace.java:812)
at intradoc.search.DatabaseSearchImplementor.doQuery(DatabaseSearchImplementor.java:84)
at intradoc.search.CommonSearchConnection.doQuery(CommonSearchConnection.java:158)
at intradoc.server.SearchManager.retrieveSearchInfoAsBinder(SearchManager.java:224)
... 26 more
Below is the error i can see in the response binder:
StatusCode: -1
StatusMessage: Unable to retrieve search results. Error occurred while processing. Unable to return results.
UnparsedQueryText: xParentFolders <matches> `325D6BFEE77753E189B1745605121E10` -
Hello all,
In B2C, when searching for open orders or completed orders, the result list is displaying the AUDAT in format yyyymmdd. The rest of the B2C site displays dates in mm/dd/yyyy format.
I have not been able to locate where to change this date format. Is there a specific config file, or xcm that needs to be modified?
Thanks,
StevenI was able to figure this out.
I was working on hiding the Description field of the B2B template screen when I noticed the date field had fieldOutputHandler attributes. I added the following attributes to the AUDAT property of the B2C section of generic-searchbackend-config.xml and now the date is being formatted correctly.
fieldOutputHandlerClass="com.sap.isa.ui.uiclass.r3.genericsearch.GenericSearchUIDynamicContentERP" fieldOutputHandlerMethod="getAudatToUIDate" -
Hi all
I have implementated a search method that open ups a new window.
IWDWindowInfo windowinfo =
wdComponentAPI.getComponentInfo().findInWindows("Search");
IWDWindow window =
wdComponentAPI.getWindowManager().createModalWindow(windowinfo);
window.setWindowPosition(150, 100);
window.show();
wdContext.currentPopUpElement().setWindowInstance(window);
Now i want to make it generic so that same window opens up on every search but the data in it varies depending on the parameter passed.
In the above code no parameter is specified that should go into the new window (As per my requirement). Is there any way to pass the parameter into the new window so that the data in that popup window can be changed depending on that parameter.
Guys please response.
This is really urgent.
Thanxs in AdvanceHi Gurmat,
Follow the steps.
Step1: Create a WD Component.
Step2: Under Component Controller create a Value Node EmployeeInfo with attribute EmployeeName and Position and a context attribute WindowInstance of type com.sap.tc.webdynpro.services.session.api.IWDWindow
Step3: Create 2 Views
i>EmployeeView
Layout like
Employee Name : EmployeeInfo.EmployeeName(InputField)
Employee Position : EmployeeInfo.Position(InputField)
DisplayResultButton
ii>DisplayView
Layout like
Employee Name : EmployeeInfo.EmployeeName(TextView)
Employee Position : EmployeeInfo.Position(TextView)
CloseWindowButton
Step3: Create 2 Windows
1>EmployeeWindow
2>DisplayWindow.
Under EmployeeWindow add the EmployeeView
and DisplayWindow add the DisplayView
Step3: Go to the Diagram View. Do the mapping between EmployeeView and Component Controller and between DisplayView and Component Controller
Step4: Associate action DisplayResult with the DisplayResultButton and use this code inside the Implementation of EmployeeView
public void wdDoInit()
//@@begin wdDoInit()
wdContext.nodeEmployeeInfo().addElement(wdContext.createEmployeeInfoElement());
//@@end
public void onActionDisplayResult(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionDisplayResult(ServerEvent)
IPrivateEmploeeView.IEmployeeInfoElement emp = wdContext.createEmployeeInfoElement();
emp.setEmployeeName(wdContext.currentEmployeeInfoElement().getEmployeeName());
emp.setPosition(wdContext.currentEmployeeInfoElement().getPosition());
wdContext.nodeEmployeeInfo().addElement(emp);
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows(
"DisplayWindow");
// create the Window
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
window.setWindowPosition(WDWindowPos.CENTER);
window.setTitle("WindowTitle");
window.setWindowSize(100,100);
// Save WindowInstance in Context
wdContext.currentContextElement().setWindowInstance(window);
// and show the window
window.show();
//wdThis.wdFirePlugInDisplay();
//@@end
Step5: Associate action CloseWindow with the CloseWindowButton
and use this code inside implementation of DisplayView
public void onActionCloseWindow(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCloseWindow(ServerEvent)
IWDWindow window = wdContext.currentContextElement().getWindowInstance();
window.destroyInstance();
//@@end
Regards,
Mithu
Maybe you are looking for
-
IMovie won't open, but can see in expose
I am unable to open and use iMovie. When I open it I can see the menu bar, but the project screen doesn't show up. When I use three finger swipe to go into expose, I can see it in there. When I click on it it goes off to the right, top corner of s
-
OMB: Index creation in a cube_table
Hello. I'm developing a OMB script and I don't know how to get what you want: I need to create bitmap indexes in a cube_table for those all columns that reference a dimension. I'm able to get de references but I am not able to link them to the cube_t
-
Unable to minimise window by double-tapping on title bar.
I have my system set to minimise windows by double-tapping/clicking them on the title bar. It works for most of windows (iTunes being exception). It's a system preference thingy, so it should work across all the board. After the recent update to 21.0
-
How to open PDF files on HP 32 tp
Please help. I'm trying to open PDF or mime files on my HP 32 bit tp Thanks.
-
how to track iphone 5