To display Numer of records in Account Search

Hi All.
I have a requirement in which I have to display the number of records found when I execute a search of the Account (BP).
This number is to be displayed against the u2018Result Listu2019.
There seems to be some problem with the enhancement that I have done because this number is available in the standard SAP.
Please advise a possible solution.
Cheers,
Sharad

Got Resolved by myself

Similar Messages

  • Creating Search prompt to display a particular record row

    Hi,
    I have a crystal report with an Excel sheet as my data source.
    I want to create a prompt which would ask for a certain value (say, "name") and when we enter a name (say "John") ; it will display the record row(age, income, savings, etc..) for the Name "John". (if multiple "john"s exist; it will display all the records with name- "John").
    Basically, i want to create a "search" function.
    Can you please help me understand how to create one like this. I am new to Crystal report. I have tried using Parameters but not able to make it happen.! 
    Thanks,
    Aditi

    Hi Aditi,
    Please follow these steps:
    1) Create a string parameter. You may choose to create a dynamic/static parameter. In the parameter creation screen, you can also choose to select the 'value' field and you can select the Name field from the database here. This will give a list of Names when the report is run. Skip this if you do not want it this way, that is, if you wish to manually type in the value
    2) Go to the Record Selection Formula (Report > Selection Formulas > Record) and use this formula:
    = {?Parameter_Name}
    Place the fields you want on the details section and the run the report.
    Hope this helps!
    -Abhilash

  • How to Display Record Count on Search page?

    Hi
    I am new to OAF and one of the requirement is to display record count on Search page . I followed the same steps in Emp Search page as an example and created my search page.
    I followed the following steps
    1) I created a transietn Attribute in VO by name RecordCount
    2) I had written a method in AMImpl
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    OARow reportRow = (OARow)vo.createRow();
    System.out.println("in set attribute");
    reportRow.setAttribute("RecordCount",xfetchedRowCount); // I am using this way and trying to display record count into RecordCount view Attribute
    }//getRecordCount
    3) on the SearchPG, I created a new messageStyledtext by name RecordCount and assinged VO and viewAttribute accordingly
    I am not able to see record count when i run the page ?
    Am i missing any steps ?
    I see the messages in the log file but not in Record count box ?
    Any suggestions?
    Thanks
    Ravi

    Hi Anoop
    i made the code change according to you and because of the following condition, it is createing a" new row" in the search page
    Row row = vo.createRow();
    vo.insertRow(row);
    For every search it is creating a new blank row in search page .
    I did some more research and modified my code as
    public void getRecordCount() {
    OAViewObject vo = getXXG2SourceAcctSearchVO1();
    int fetchedRowCount = 0;
    fetchedRowCount = vo.getFetchedRowCount();
    String msg = fetchedRowCount + " are retrived by query ";
    System.out.println(msg);
    //vo.setMaxFetchSize(0);
    //vo.executeQuery();
    if (fetchedRowCount == 0 )
    Row row = vo.createRow();
    //row = (OARow)vo.first();
    row.setAttribute("RecordCount", "0");
    else
    String xfetchedRowCount = Integer.toString(fetchedRowCount);
    System.out.println("xfetchedRowCount : " + xfetchedRowCount);
    Row row = vo.createRow();
    //vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    // Set the primary key value for this single-row VO.
    row = (OARow)vo.first();
    row.setAttribute("RecordCount", xfetchedRowCount);
    and in AM , I am calling this method in PFR as follows
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am1 =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    am1.invokeMethod("getRecordCount");
    now i see the record count on the search page . but after 2-3 searches, the record count value is not populating the correct value. its weird
    Any suggestions
    Thanks
    Ravi

  • Account search functinality is not working for one user in portal

    Hi friends,
    We have configured E.P 7.0 with CRM 5.0 and configured CRM PCUI business package.
    We have a role called <b>accounts and products</b> in portal. So accounts can be searched in this role.
    Now our severity issue is for one of the super user,for ex su1, accounts search is not working in portal but the same is working in CRM GUI.
    for example if we search for an account 233445(or any other account) in portal its showing no data found but if we search with the same criteria data is displaying CRM GUI.
    We have checked with other 2 super ids. Both ends portal and gui search is working fine.
    Am unable to figure out whats the cause of the issue as search is not working only for one user su1 .
    we have checked by restarting the server also to clear the memory cache.But still search is not working in portal.
    Could anyone of u please advice ASAP as this is severity issue.
    Thanks & Regards
    Sireesha.

    Hi srinivas,
      I have checked both the users credentials,permissions,groups in the GUI and also in the portal.
      Both of the users profiles are assigned as same.
       Could you please advice is there any other way to check it out?
      Regards
      Sireesha.

  • An exception occurred during account Search

    Hi Experts,
    On Account Search , I am getting the below exception.
    Cannot display view BP_HEAD_SEARCH/MainSearchResult of UI Component BP_HEAD_SEARCH
    An exception has occurred Exception Class  CX_BOL_EXCEPTION - Access Previously Deleted Entity
    Method:  CL_CRM_BOL_CORE=>REREAD_ENTITY 
    Source Text Row:  137
    Any help would be appreciated.
    Thanks,
    Priya.

    Hi Raj,
    It didn't work for me. Since the same code is in Quality Server , its working fine there.
    Its not able to display " view BP_HEAD_SEARCH/MainSearchResult "  in the configuration i found out one field which is being added by AET
    but when i tried to see it in Enhancements its not there so i think might be this field was created and deleted but it is not deleted completely.
    this field is available only in Context node of Search Result list.
    Perhaps if this field is completely deleted it might help, but don't know how to delete it Since its not in Enhancements where we can delete the fields added by AET.
    do you have any idea?
    Pls Help.
    Priya.

  • How to create URL link for telephone number ,open to account search page and account result page ?

    Hi Experts,
    Bussines role - ZCC_ICAGENT 
    If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result  page will be opened direct link.
    So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
    Thanks
    Kalpana

    Hi kalpana,
    You dont need to do any setting for this.
    Following URL will be used as per your requirement.
    http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
    ?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
    sap-phoneno=9999999999
    Here parameter sap-phoneno will contain the number you want to search for.
    In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
    DATA: lt_ivr_url_param TYPE tihttpnvp,
             ls_ivr_url_param TYPE ihttpnvp,
             lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
             ls_searchcustomer TYPE crmt_bupa_il_header_search.
    CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
           CHANGING
             cv_fields = lt_ivr_url_param.
    lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
         CHECK lr_searchcustomer IS BOUND.
    READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
    IF ls_ivr_url_param-value IS NOT INITIAL.
             ls_searchcustomer-telephone = ls_ivr_url_param-value.
       CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
             eh_onsearch( ).
        ENDIF.
    Thanks & Regards
    Richa

  • Is it possible to open Account Search window in a new page

    Hi All,
    Is it possible to open Account Search window in a new page instead of displaying Account Search on Work center page.
    Any pointers will be helpful.
    Thanks,
    Udaya

    Have a look at the NavBar component and the generic workcenter component. If you are lucky, they utilize one common method for navigation. I would try to put some custom coding in there and use it to open the new link inside a popup.
    Never tried it before as the necessity never occured to me. Thus I can not help you any further. It is just an idea.
    Maybe you get some good results and can post them here
    cheers Carsten

  • Account search filter

    Dear all,
    Iam looking for an appropriate technique or filter where I would like to restrict or filter the Account search functionality in CRM by ensuring that the Accounts/Business Partners of only those Sales Organization the Employee is assigned to,  are displayed and not all by default.
    Any tips would be highly appreciated.
    Perhaps there exists some BADI for this?.
    Thanks,
    Praveen

    It is possible to filter BT by ACE. Perhaps you can go a similar way as described Filter business transactions by employee responsible.
    There exists a BAdI for enhancing the BP search as well: BADI_CRM_BUPA_IL_SEARCH_EXT
    Implement it to filter the search result. search_criteria_initial() has to return false in your case then method search_partners() is called where you can execute your filter.
    cheers Carsten

  • Accounts search not working for only the specific user

    Hi friends,
      We have configured E.P 7.0 with CRM 5.0 and configured  CRM PCUI business package.
    We have role called <b>accounts abd products</b> in portal. So accounts can be searched in this role.
    Now our severity issue is for one of the super user,for ex su1,  accounts search is not working in portal  but the same is working in CRM GUI.
    for example if we search for an account 233445(or any other account) in portal its showing no data found but if we search with the same criteria data is displaying CRM GUI.
    We have checked with other 2 super ids. Both ends portal and gui search is  working fine.
    Am unable to figure out whats the cause of the issue as search is not working only for one user su1 .
    we have checked by restarting the server also to clear the memory cache.But still search is not working in portal.
    Could anyone of u please advice ASAP as this is severity issue.
    Thanks & Regards
    Sireesha.

    Hello,
    Go in debugging in the query method of your MAC to see why the BP is not selected (or deleted) before going to the read method.
    Regards,
    Fred

  • Paging/displaying and selecting records in jsp

    Hey,
    I needed some info on paging, displaying and selecting records in a jsp. Any direction in terms of which technique is the most efficient(which tags to to use etc). Any online resources which go into some detail would be great. Basically working with a list of objects.
    Thanks in advance for your assistance

    Here is at least one online resource:
    http://www.google.com/search?q=jsp+paging

  • CRM 2007 vs CRM 52: Account Search - Favorites

    Does the functionality exist in CRM 2007 to save "favorite" accounts in the account search application similar to the accounts application in the PCUI in CRM 40/50?  I know that you can do saved searches with CRM 52/2007, however can we create lists of favorite accounts directly from the UI.
    Our business users heavily use the favorite account feature in the PCUI.  If this not present what alternatives besides setting up relationships between the accounts and their employee bupa record and using a saved search for that criteria would I have to simulate this functionality?
    I will generously reward points for proposed solutions.
    thank you,
    Stephen

    Stephen,
    Actually I'm not aware of limitations around how many search criteria could be save together as the dynamic object queries are stored and the parameters are stored in a xml format.
    The Saved search are stored in tables CRMD_SHORTCUT and CRMT_DYN_QUERY. For the short cut one there also exist a _T table for the texts.
    If you want to look for multiple IDs as a saved search you could do this in case you do not have a "better" common search criteria e.g. country or region.
    I'm not sure what you refer to as a concept with regards to leveraging the relationships.
    Hope this helps,
    Florian

  • Enhance Account Search

    Hi Experts,
    I need to enhance Account search based on a custom field. I am working on SAP CRM 2007 WebUI. Please guide me in which BAdI should I write the logic.
    Please let me know if some other approach also apart from BAdI implemenatation.
    Any pointers to the solution would be highly appreciated.
    Regards,
    Amit

    Hi Amit,
    You can fidn out the BADI by following the below procedure:
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
    5. Then run the employee search.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    Hope this helps!
    Regards,
    Saumya

  • Material Description is not displaying for few records in Report

    Dear Experts,
    Report Material Description is not displaying for few records in Bex Report but for records it is coming and even the heading of the material Description is also not coming for this report.
    Cud u plz suggest a good solution for it.
    Regards,
    Sai Phani.

    Hi Phani,
    For the text of the material in records, check if there is text maintained for that material in the master data. also try by changing the text to medium text and long text.
    regarding header, you will have same heading for key and text, you may use Materail ID / Description as the heading if you want.
    regards,
    Rk.

  • How to display the NULL records by multiple XMLTABLE()

    First, let me provide the testing data of INSERT and CREATE TABLE sql:
    create table xml_t2 (xml_raw XMLTYPE);insert sql, a bit long.....just copy and paste then run it will be OK!
    the system warns: Your message exceeds the maximum length of 30000 characters.
    So, I place it on the mediafire shariing space
    http://www.mediafire.com/?npmot6lgl86dgliTesting SQL:
    SELECT t1.years, t1.months,t1.days,t1.hours,t1.value,t2.value
            FROM xml_t2,
            XMLTABLE ('$d/cdata/F1' passing xml_raw as "d" COLUMNS years integer path '//year', months varchar(3) path '//month', days varchar(2) path '//day', hours varchar(2) path '//hour', mins varchar(2) path '//minute', value float path '//value') t1 ,
            XMLTABLE ('$d/cdata/F2' passing xml_raw as "d" COLUMNS years integer path '//year', months varchar(3) path '//month', days varchar(2) path '//day', hours varchar(2) path '//hour', mins varchar(2) path '//minute', value float path '//value') t2The condition for now is....In the xml data, I have deleted the month 'Jan' with <F2>tag which is in 2010.
    That mean the output of XMLTABLE t2 will not contain the 'Jan' records but it is still remain in XMLTABLE t1.
    The problem is that when I use the above SQL to show the t1.value, it will not display the t1.value in 2010 Jan.....it just skipped 'Jan' and becomes 'Feb'...
    what i would prefer to display is something like this:
    YEARS MONTHS DAYS HOURS t1_value t2_value
    2009     Jan    01   01       8       8
    2009     Jan    01   02       8     580
    2009     Jan    02   01     580     580
    2009     Jan    02   02     580     580
    2009     Feb    01   01     440     440
    2010     Jan    01   01     627     NULL
    2010     Jan    01   02     627     NULL
    2010     Jan    02   01     367     NULL
    2010     Jan    02   02     367     NULL
    2010     Feb    01   01     367     849
    2010     Feb    01   02     849     849
    ..............So...the main problem is how to display back the record in JAN in 2010 in t1 XMLTABLE and assign null to the t2 XMLTABLE since it doen't contains this months record.
    THANKS for help!!

    Hi,
    What's your database version?
    Are you using binary XML storage? (This is the default in 11.2.0.2)
    If not you have to explicitely specify it :
    create table xml_t2 (xml_raw XMLTYPE)
    xmltype column xml_raw store as securefile binary xml;Along with object-relational, it's the best storage strategy to use in conjunction with XMLIndex.
    You should also use a structured XML index instead, it's more appropriate than the unstructured index you're currently using :
    create index xml_t2_sxi on xml_t2 (xml_raw)
    indextype is xdb.xmlindex
    parameters (q'#
    XMLTABLE xml_t2_xt '/cdata'
    COLUMNS
    YEARS  INTEGER    PATH 'F1/name/year',
    MONTHS VARCHAR(3) PATH 'F1/name/month',
    DAYS   VARCHAR(2) PATH 'F1/name/day',
    HOURS  VARCHAR(2) PATH 'F1/name/hour',
    MINS   VARCHAR(2) PATH 'F1/name/minute',
    VALUE  FLOAT      PATH 'F1/name/value',
    VALUE2 FLOAT      PATH 'F2/name/value'
    call dbms_stats.gather_table_stats(user, 'XML_T2');Use the query provided by Stew and check the explain plan, you'll see the difference.

  • Display current month records only

    Hi Experts,
    I have the following requirement.
    Report should display current month records only.
    For example If the report is run on 20090324, It should display records from 20090301 to 20090324.
    That means,  report may run on any date of that month, It should display from 01 (of that month) to current date.
    I have a select statement saying
      SELECT * FROM likp
      WHERE wadat_ist BETWEEN month_start_date AND sy-datum          
        AND vkorg IN s_vkorg
        AND vkbur IN s_vkbur
        AND kunnr IN s_kunnr.
    How to calculate date for month_start_date, so that it can display only current month records.
    Thanks in advance
    Rohan

    Hi Kunta, Suhas, Nandi,
    Thank you for your quick reply, I really appreciate it.
    for this current month records, I need to display a check box saying
    Open orders  and shipments with the current month.
    But where as Selection text is accepting 32 characters only. Is there any possibility to overcome this?
    Thanks in advance
    Rohan

Maybe you are looking for

  • WEP Password (2)

    I have a wireless network at home with a linksys router and protected using WEP (40 bit) I cannot get my iBook to join the wireless network (after trying multiple times). I can connect wireless with my Windows PC. If I remove protection in my wireles

  • Photo size for webpage

    What file settings and image sizing (eg- quality, resolution, colour space, pixels etc) should I use to upload photos to my webpage? I dont want to use the web galleries tool. Thanks

  • How do I know whatu0092s going wrong in XI

    I’m developing a XI DEMO which extracts information from a DB using JDBC and sends it to a system using a File Adapter. I have finished with the configuration in the SLD, IR and ID; but nothing if happening: No messages on the ABAP Pipeline and neith

  • Boot Camp not playing along

    Hello, Im trying to get windows 7 ultimate x64 on my macbook pro. However every time I try and use Boot Camp Assistance it keeps saying; Boot Camp Assistant cannot be used. you must update your system software before using this setup assistance. I ha

  • Sending Address Book cards to a Nextel i880

    I've got a Motorola Nextel i880 phone that I'm trying to send Address Book cards to. My Mac can see and connect to the phone over Bluetooth, but the phone doesn't seem to want to talk to my Mac. I've tried using iSync, but apparently Apple doesn't su