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,
Luiz

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

    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

  • 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?
    Will

    Hi,
    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

  • 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,
    _kevin

    Hi 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

  • Shall we use SRDemo Framework Extension Classes in 11G R1?

    Hi,
    I just installed 11G R1 and reading developer guides. For development with 10.1.3.3 release I was using the Framework extension classes from SRDemo to base BC's on. Those methods includes many base functionality such as setManagerowsByKey, case-insensitive search, some bind variables initialized, and so on. Shall we continue to use them for 11G R1? To keep currency of viewobjects after rollback, I use the method proposed by Steeve Muench's blog entry which contains beforeRollback and afterRollBack methods on the base viewobject and exposing row state to client . shall I continue to use it?
    Best Regards,

    Salim,
    If those methods provide functionality that you like - I don't see why you shouldn't continue to use them.
    John

  • How to develop Framework Extension for join two tables

    Dear developers,
    My project contains more than 200 maintenance tables.
    Maintenance tables are very small and less than 100 lines.
    Maintenance tables mostly associated with a translation table.
    Translation tables are used for localized texts.
    Translation tables consists of Master Table Key + LanguageKey.
    I want to edit customizing tables only session language as single table.
    Translation table row may or may not be. Thats mean relationship is 1 to 0..1.
    ADF table control ignore this relationship.
    I tried view link between master view and detail view objects, but if translation table line is empty ADF table control throws translation iterator is null exception.
    I tried entity based left joined editable view I get view link inconsisty problem.
    In this case, the BC forcing me to framework extension.
    How is develop solution?

    topic is update

  • I can't remove Bing. I've tried Control Panel, the article "Removing the Search Helper Extension and Bing Bar," and I have had no luck for Windows 7 and Firefox.

    I can't remove Bing. I've tried Control Panel, the article "Removing the Search Helper Extension and Bing Bar," and I have had no luck for Windows 7 and Firefox.
    I wish I could share the two screen shots I took, but this question site doesn't have the option, so I guess I'll describe where Bing is showing up.
    In the left hand of my browser, just to the right of the back and forward arrows, there is speech bubble with a black eye ball or something. I found out it's Bing-related by clicking on it. There is no option to remove it with either left or right clicking on it.
    Also, in the right hand corner of my browser, at the very end of all my tabs, there is a white rectangular box with an orange "b" and a magnifying glass symbol. It will not respond to anything I try to do to it either, but if clicked it opens a new tab with a Bing search dialogue box.
    Finally, any new tab I open automatically opens to the Bing search dialogue box (versus Google).
    I need to get specific, step-by-step instructions for removing this Bing stuff from my computer. As I said, I have already gone through all steps outlined in the article I mentioned above as well as not been able to locate Bing in my control panel.
    Please help. I'm certain others are having this same issue. I use Windows 7 and Firefox. Thanks.

    Apologies for the formatting there. No idea what went wrong...

  • Removing the Search Helper Extension and Bing Bar

    The above question has been asked a number of times already, and some replies date back 8 months or more. Sadly, whilst the
    offers of help are much appreciated, they no longer seems to fix the problem, AFAICS.
    My setup details, if it assists:
    Dell Inspiron N5110 laptop
    Intel(R) Core(TM) i7-2630QM CPU @ 2,00GHz
    4.00GB RAM
    WDC [Western Digital) WD6400BPVT-75HXZT1 5400 6.5GB HDD
    NVIDIA GeForce GT 525M video card
    Intel(R) HD Graphics 3000 64meg onchip GPU
    Win 7 Home Premium 64bit SP1
    Mozilla Firefox v4.0.1
    Having bought the above laptop, I am in the process of changing from old to new. During a mass MS update session, Firefox was
    impregnated with a 'bing' search box and button [It is perfectly possible that I inadvertantly 'speed clicked' a sneaky 'install me'
    button on the way]. Anyhoo, I now have said search box/button and want rid asap. The Firefox help suggests following the
    advice in their item entitled 'Removing the Search Helper Extension and Bing Bar', but this shows as out of date. Furthermore, I
    have no 'bing' or 'search helper extension' entries in my 'Programs & Features' applet in Control Panel, neither do I have MS
    KB982217 installed to uninstall. There are no eponymous entries in Firefox's 'Tools/Addons' menu.
    Any ideas, please?

    Apologies for the formatting there. No idea what went wrong...

  • 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/

  • Pl/SQL procedure + framework extension

    Hello,
    We have requirement to write common pl/sql procedure calling method to execute the pl/sql procedure called from ADF BC entityImpl and Application module Impl classes. While reading document it is mentioned to add it in adf bc framework extension base classes.But if we place common pl/sql procedure calling method in entity Impl base classes,how I can use same method from application module classes?
    Any other approach? Any pattern??
    Regards
    Ravi

    Ravi,
    you have to be more specific. What is the intention of the PL/SQL function you want to call from the EntiyImpl class. If you plan to just do something on attribute level or are probably on the save side. For anything else you have to make sure that after changing anything using PL/SQL you have to query all VO again. Otherwise they don't get the changes.
    The method to call PL/SQL is like the one from the doc. You even can get an application module and call a method from there.
    To get the application module from an EO
    public class EOTest extends EntityImpl
    ApplicationModule getApplicationmodule()
          this.getDBTransaction().findApplicationModule("yourApp");
    }Timo

  • 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
    Florian

    This 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 Regards

    Hi 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
    Stefan

    Check 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.

Maybe you are looking for