Num_max_hits in BSP search

Hi,
I need a help to us.
Are there someone that know how there is a possibility to set a default value for field "Num_max_hit" present in BSP > advanced search > setting?
I would made it once for my View of BSP and not for all user.
Thanks a lot.
Gianluca.

Hi Mac,
   Try to use the function module CRM_SERVICE_PORTAL_SEARCH.
   Internally CRM_SERVICE_CONTRACTS_SEARCH is using CRM_SERVICE_PORTAL_SEARCH. At the time of calling the function module CRM_SERVICE_PORTAL_SEARCH its not passing max_hits value. Because of this CRM_SERVICE_CONTRACTS_SEARCH is always returning 100.
Regards,
Bhanu

Similar Messages

  • Need help to develop a customised search  BSP page

    Hi Every one.
    I need to develop a custom BSP search page which is a modified version of search.htm page of HCM_LEARNING bsp application.
    here we need to replace the Qualification dropdown boxes with 2 qualifications in tree format where first one is 1. Prerequisite and 2. Aspired . the values will be in node format and the other functionality should work the same  way as it works in search.htm page.
    How to handle 3 events now?? 1. Node click on Prerequisite Tree
                                                 2. Node Click on Aspired Tree
                                                 3. Find button click
    Only when the find button is clicked , The search should happen not on any node click.
    Could you please suggest me some thing how to proceed??
    Samikhya

    Look at the below step by step blogs to create custom serach page. It will help.
    /people/koen.labie2/blog/2006/11/17/showhelp-functionality-with-pop-up--part2
    /people/koen.labie2/blog/2006/09/28/showhelp-functionality-with-pop-up
    /people/thomas.jung3/blog/2004/11/01/bsp-value-input-help-popups-version-20-part-1
    /people/thomas.jung3/blog/2004/11/01/bsp-value-input-help-popups-version-20-part-2
    /people/thomas.jung3/blog/2004/09/17/bsp-150-a-developer146s-journal-part-xii-150-value-input-help-popups
    Regards,
    Raja

  • BSP + Store a file in the pc of the user

    Hello,
    I have programmed a BSP, where a User gives his name in a field and the BSP search information in the database and <b>save the data in the pc of the User</b>.
    The problem is, that when <b>I try to save</b> the data in the pc of the user, I get <b>exceptions</b>. I have tried with:
    CALL METHOD cl_gui_frontend_services=>gui_upload
    and
    CALL FUNCTION 'WS_DOWNLOAD'
    When I save the information in the AppServer, then, I don't have any problem (OPEN DATASET i_path FOR OUTPUT ...).
    <b>Is it possible to save the data in the pc of the user using BSPs?</b> Or should I programm such functionality in javascript?
    Thank you very much
    Markus

    HI
    In BSP you cannot use CL_GUI_FRONTEND_CLASS, This class can be used while working in SAP using GUI. Within the clas its checks for GUiID, which is not there while working with BSP.
    For File handling in BSP you have to make use of Class <b>CL_HTTP_RESPONSE</b>
    Refer to these links for Code of the same:
    Generate file .doc or .pdf as from a text
    /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
    Cheers,
    Vijay Raheja

  • ALV report web (BSP and Web Dynpro)

    Hi,
    I want to display report results in a BSP table using a list viewer component.
    I've found some classes for web dynpro that use ALV to print data results. Is there any way to use the same within a BSP application?
    (Web Dynpro example that use an ALV table:
    'WDR_TEST_DYN_ALV_USAGE'.)
    Thanks and regards,
    Maria

    what ALV features you are looking for?
    1. sorting - available in bsp tableview
    2. filter - availalbe in bsp tableview
    3. layout management (visible columns) - is doable with BSP (search weblog area for BSP personalize tableview)
    4. export to excel - you can code that in BSP (code samples/special tag available in BSP weblog area)
    but if you want a easy way out, as others mentioned, you can use integrated/standalone ITS to generate ALV and then use that its page as frame/iframe within you BSP
    Raja

  • Need Guidance for BSP

    Hi All,
      This is Ravikumar. Recently i have started working on BSP's. Can anybody give some valuable information regarding BSPs.

    Search this forum, you will get plenty of material..
    Here some of them..
    http://www.sapdevelopment.co.uk/webapps/bsp/mvc_example1.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/edae3b59e17646e10000000a11402f/frameset.htm
    http://www.sapdesignguild.org/resources/htmlb_guidance/
    Look at the below links.. Some of them are step by step procedures.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/24
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/b86041397211d5992200508b6b8b11/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/b86041397211d5992200508b6b8b11/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4e/ac0b94c47c11d4ad320000e83539c3/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs
    /people/durairaj.athavanraja/blog/2005/08/21/running-your-first-bsp-application-in-sap-netweaver-04-abap-edition--nsp
    www.thespot4sap.com/Articles/SAP_WAS_BSP_Apps.asp
    www.thespot4sap.com/Articles/SAP_WAS_Overview.asp
    help.sap.com/saphelp_nw04/helpdata/ en/56/e6f3409ade8631e10000000a1550b0/content.htm
    New to BSP
    New to BSP. Where do I start from?
    New to BSP's ....Please Help me.......................
    And also recommend you to go through the BSP Weblogs in the BSP forum...highly Suggested and Helpful
    ;\ New BSP Weblogs
    <i>
    Reward each helpful answer</i>
    Raja T

  • BSP error : access to URL is forbidden

    Hi,
    We have a BSP page embeded into the CRM WEB UI. we have a search page. It used to work fine but after an SP6 upgrade we are facing the below error.
    SAP Note
    The following error text was processed in the system:
    BSP exception: Access to URL /sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/Y_RMS_CONTACTS/https& is forbidden
    I tried the various options like
    1) Ruuning the application in internet explorer in compatability mode.
    2) The service of BSp is active.
    please help

    Hi,
    I checked the link. It is pertaining to EP.
    The scenario is that.. I have a BSP opened in CRM WEBUI. on click of a button a new BSP search application is opened,.
    After search on clicking of the Assign button, the above error is popping up.
    regards

  • BSP Object locking

    Hi Gurus,
    I opened a BSP search area in CRM designer and BAB. I did some modifications and saved it.I can see the reflected changes in it. But when I tried to open Designer again for the same object using BAB, I am gettin a error saying Obeject has been locked by myslef. If there any way to get rid of this, instead of logging off and login again.
    Through me some light on this.
    Thank You Guys
    Murthy

    Hi Murthy,
    Use transaction SM12 to delete the locked entry under your name. When you use BAB interactively, the object in focus is locked and not released. Hence we have to use transaction SM12 to delete the locked object explicitly.
    This would solve your problem.
    Thanks
    Harsh

  • Search Help screen in the BSP

    Hi,
    Our requirement is to provide the search help for a field. The Search help pop up should have three input fields 'UserId', 'First Name' and 'Last Name'. The pop up should not be table. In the pop up, we can give some input value and based on that the relevant entry needs to be fetched, then we need to choose that entry. That chosen entry should be moved to our input screen.

    Hi
    please check this thread
    Search Help
    and there is a tutorial in saptutorial which might be helpful
    saptechnical >tutorials>bsp-->f4help
    Regards,
    G. Nikhil Kumar

  • BSP Exception: Das Objekt search.htm in der URL /sap/bc/bsp/sap/webserviceb

    Hi
    I am trying to open web service using outside in approach
    http://host:httpport/sap/bc/bsp/sap/webservicebrowser/search.html
    its giving exception sayin
    BSP Exception: Das Objekt search.htm in der URL /sap/bc/bsp/sap/webservicebrowser/search.htm ist nicht gültig
    any add ones to be applied?
    Regards
    shekar chandra

    Hi,
    Please add the follwing inthe hosts file which is located on ur local desktop
    C:\WINDOWS\system32\drivers\etc\hosts
    open it with notepad and add the following,
    <ip adress of the SAP server><tab><Host Name of SAP server>
    eg:
    192.168.1.1     sapproduction     
    Log off and login in windows.
    regards,
    Arun
    Ps:Reward points are welcome

  • BSP with F4 for employee search criteria ?.

    Dear All,
    I am new to BSP need your feedback for below requirments.
    (1). I need to create a BSP page with input button to fill employee number - already done.
    (2). Employee input button needs a F4 help that will pop-up new page to search employee ?.
    (3). The pop-up page should be able to search using "search criteria for employee" ex: lastname, firstname, username. The result list that is shown, when double clicked should select the employee name into the input field in (1) ?.
    Could you please give steps,samples  for 2 and 3 ?.
    Regards,
    Neeth

    HI,
    I implemented this same same code,but in popup i am displaying the data in table view.Everythign is working fine,but in table view I made VISIBLE ROWCOUNT = 25, When I click on next page I am not able to see the next rows.
    Is there anything i need to implement.I am using the tabel view for first time.
    thank you
    ven

  • Search help in BSP? E.g. employee number etc.

    Hello everyone,
    Before i begin to develop that much, it is worth a question, cos not being able to find something in the docs.
    For things like htmlb:inputField, is it possible to get a standard search help when it is bound to data "types" like PERNR?
    The help says that it only knows basic data type like INTEGER, STRING etc. and that the searchHelp attribute currently only(?) supports a calendar for type DATE (which i successfully implemented months ago).
    I wonder if BSP is leaking such great features that even DynPro (at least those w/o the "Web" prefix, i don not kno) have :-).
    Thank you,
    Timo

    Hallo Timo,
    The only thing leaking at the moment is the NA2 in Hamburg port But you are right, BSP lacks such a F4-help feature. It is something that was always on the plan, but never made it to the door.
    Unfortunately, in this case you will have to roll your own, which means as much as saying "lots of development work". (I see here a small business idea:).
    It is true that CRM did implement such a feature, but it was done specifically for CRM and in their context. Maybe they have a few ideas for you.
    regards, brian

  • BSP page for Search Function in  Solution Database

    Hi
    I would like to know if there is an BSP available for the Search Function in Soltution Database. If yes then i would like to know what is the name of the BSP.
    <removed_by_moderator>
    Thanks
    Tenielle

    Dear friend,
    Have you done all the customizing via spro->scenario specific->service desk->solution database.
    There is a note SAP note 951145
    also you have to build the index..check via SAF tool...all the doc is there in IMG.
    Secondly...there is also a troubleshooting option.....
    This will help u....
    Pls assign pts

  • How to search string in BSP Application?

    Hi,
    Report ‘RS_ABAP_SOURCE_SCAN’ is to search string in ABAP. How to search string in BSP Application?
    In standard BSP Application is calling another BSP application and this hard coded in application.
    Regards,
    ...Naddy

    Hello Naddy,
    7 Years later and it seems there is still no possible way to search a string in a BSP application.
    Using Report BSP_EXPORT_CLASSES (Uncheck list of packages, provide BSP application name) I was able to download the complete BSP application to my desktop computer; after that I used TotalCommander (free edition) to scan the files for the string. (Mode set to UTF8)
    Ugly workaround but it works.
    Regards

  • BSP and ABAP Search Tools

    Working through the Recruitment Package that is a BSP application with abap classes I have stumbled on several situations where I need the ability to grep(search) the files in the application.  The where used appears to be buggy and sometimes it will resolve and sometimes it comes up blank.  Has anyone found any ways or tools to search the entire application code for keywords or a way to download all the abap classes and bsp pages to the file system to run grep on them?
    Thanks in advance if someone has a solution this would increase my productivity quite a bit.
    Thanks,
    Stephen

    Hi,
    My article: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/finding your code in bsp applications.article
    elaborates on the possibilities
    Eddy

  • BSP code - radiobutton - search button

    Hello BSP gurus,
    Ok, so far I have this piece of code. The idea is to click on a radiobutton and then click on the search button in order to go to the next screen (the result screen).
    Does anyone have an idea how to handle this?
    Thanks in advance.
         <htmlb:radioButton id       = "rad1"
                               key      = "r1"
                               disabled = "false"
                               text     = "Report 1"
                               checked  = "false"
                                />
          <htmlb:button id      = "search"
                        text    = "Search"
                        onClick = "onInputProcessing(select)" />

    Here you go..
    <b>To display more than 1 Radiobutton:</b>
        <htmlb:radioButtonGroup id          = "grp1"
                                   columnCount = "4"
                                   disabled    = "false"
                                   mode        = "LAYOUT_GROUPING"
                                   selection   = "<%= selected %>"
                                   tooltip     = "This is my RadioButton Group"
                                   width       = "500" >
            <htmlb:radioButton id      = "rad1"
                                key     = "r1"
                                tooltip = "This is a radio button1"
                                text    = "search1"
    />
            <htmlb:radioButton id      = "rad2"
                                key     = "r2"
                                tooltip = "This is a radio button2"
                                text    = "search2"
                                checked = "true"
                                onClick = "click2" />
          </htmlb:radioButtonGroup>
    <b>To capture selected Radiobutton:</b>
      DATA: rbg       TYPE REF TO CL_HTMLB_RADIOBUTTONGROUP.
                  rbg ?= CL_HTMLB_MANAGER=>GET_DATA( request = request id = 'grp1' name = 'grp1' ).
    if rbg is not initial.
    selected = rbg->selection.
    if selected = 'r1'.
       navigation->goto_page( 'result_page1.htm');
    elseif selected = 'r2'.
      navigation->goto_page( 'result_page2.htm');
    endif.
    endif.
    Raja T
    <b>* Reward each useful answer</b>

Maybe you are looking for