Entering details screen when only one result is found

Dear Forum,
I have a an application where one of the requirements is this:
Is there a way to accomplish that when you search for a record on the masterscreen and only one result is found, the details are showed right away?
Your help is much appreciated.
Arjen

Lucas,
It didn't work with my version of JHeadStart. I still use 10.1.2.0 build 19.
I tried to override the method you mentioned. This didn't work. I then got a strange error about viewobject names. Then I tried to fake the new JhsDataAction by recompiling it with the following addition to the method you mentioned:
} else if (rowCount==1) {
ActionForward inputForward = daContext.getActionMapping().getInputForward();
if (inputForward!=null)
inputForward.setName("oneRowFound");
daContext.setActionForward(inputForward);
That didn't work either.
I looked in the source of the existing JhsDataAction, and saw that the executeAdvancedSearchBinding method IS called by the onQuickSearch and onAdvancedSearch methods. Is this what's in the new JhsDataAction, or am I doing something wrong?
Thanks in advance,
Arjen

Similar Messages

  • Directly launch the object if only one result is found (SEARCH_AUTONAV )

    Hi All
    We are on CRM 7.0 EP1, and I read an article in CRMEXPERT  that one of the improvements in CRM 7.0  would be to jump to the object directly if only one result is found. For example, if I know the sales order number I can open it directly by putting the SO number in search field 'Sales Order' and instead of giving me the result list, the system will directly open the sales order.
    The parameter to used for this is SEARCH_AUTONAV in function profile.But when I test this it is not working.I did not found any documentation about this parameter on help.sap or internet.
    Any idea about this parameter and how to use it?
    Or is there anyway to achieve what I am looking for?
    Thanks in advance for your help
    Swapnil

    Hello Swapnil,
    I'm not sure that SEARCH_AUTONAV is a desired parameter. But there is an improvement request which SAP has introduced by the [Note 1602520 - Improvement requests: Central Edit Button, One hit display|https://service.sap.com/sap/support/notes/1602520].
    Also for tehcnical basis please refer to [Note 1548131 - CC1: Automatic navigation to search result (technical basis)|https://service.sap.com/sap/support/notes/1548131].
    In general it's all about ONE_HIT_DIRECT_DISPL parameter.

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • HP Laserjet CP1025nw Color Printer - printer prints two copies when only one is requested.

    pcwizard (HP) requested that I try Foxit Reader 5.1 to see if the printer will print properly.  I used the same previous document and printed it with Foxit Reader 5.1.  The printer printed two copies when only one was requested as it had done in the past.  We still have a problem.
    I am using Windows 7 (64 bit) for OS.  I have experience the issue on two different computers.
    dslledyrt
    This question was solved.
    View Solution.

    Hi dslledyrt,
    Can you install the Basic Driver for the printer on one of the computers, and let me know if you still have this issue?
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=lj-90357-1&cc=us&dlc=en&lc=en&...=
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Phone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?

    This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
    GB

  • Why does the Error: 500 SC_INTERNAL_SERVER_ERROR appear when multiple users access my JSPs but does not occur when only one user accesses my JSPs?

    When multiple users run my JSP application, why do some users get an Error: 500 SC_INTERNAL_SERVER_ERROR for certain JSP pages with the error message No such file or directory. The JSP listed on the Error 500 page varies and is not always the same. When only one user runs my JSP application, the problem does not occur?
    The database connection is held when the user logs in or accesses certain parts of the JSP and then is immediately released. No connections to the database are held.
    We are using Solaris 8 with MU_6 plus recommended patches.
    Enterprise Ultra 250
    iAS 6 SP 3

    Is anything showing up in the KXS or KJS logs?
    It sounds like you might having some kind of thread safety issue with your code. Either that or your guess about running out of database connections.

  • No tabs are showing when only one window open. How do I open a new tab?

    Just upgraded to latest version. When only one window is open, no tabs show across the top. If I have two tabs open, both show across the top, but go to no tabs if I close one of them. And, the + sign is available for opening a third tab if at least two are open. The only way I can find to open a new tab when only one window is currently open is to turn off the menu, click the orange Firefox drop-down, and click New Tab. Why isn't it showing a tab, and a + tab (to open a new one) when only one tab (window) is open.

    Thanks everyone for the quick responses. Cntl + T works fine, and I did move the + window to the nav bar, which also works well.
    I had already gone into options and checked the box for always showing the tab bar, but it doesn't show it. I even unchecked it, saved the settings, the rechecked and saved the settings. Doesn't seems to make any difference.
    I'm okay with it not showing a tab when I only have one open, just so I can get to a new one easily when I want it.

  • I have set hyperlinks within my ibook author document, they work perfectly until i export and view on the ipad, when only one or none work, (hyperlinks to website not working at all) what am i doing wrong?

    I have set hyperlinks within my ibook author document, they work perfectly until i export and view on the ipad, when only one or none work, (hyperlinks to website not working at all) what am i doing wrong?

    An external hyperlink should handoff to Safari and leave iBooks.
    If that's not happening, perhaps there is something misconfigured on your iPad? Have you manually confirmed those links work in Safari on your iPad?

  • Clear history hangs and takes quite a while to complete even when only one site is visited

    clear history hangs and takes quite a while to complete even when only one site is visited . While not a major problem it is annoying

    Hi Frank,
    Does this Release Management performance isssue occurred when you use it at first time? Do you have any setting on your TFS? Would you please tell us your TFS version? 
    If you have any repro steps, please share with us, thank you. 
    Best Regards,
    Dear Molly,
    Yes, this issue has occurred right from the beginning when we started using Release Management.
    Could you please clarify what you mean by "do you have any setting on your TFS"? As far as I know, our TFS installation is a straightforward and normal one.
    Our TFS version is TFS 2013.
    The steps to reproduce (in the simplest scenario) are as follows:
    Create a new project in Visual Studio 2013, containing one PowerShell script file. In the script file, perform a simple command such as "New-Item E:\Temp3 -itemtype directory -force".
    Perform a successful build of the project, making sure that the script file is copied to the drop folder.
    Create a vNext Component in the Release Management Client, that refers to the directory in the drop folder that contains the script file.
    Create a new vNext Release Template in the Release Management Client, containing one "Deploying using PS/DSC" action. In that action, set the PSScriptPath to the script file we created.
    Perform a new Release using the Release Template we just created. The Deploy action will take a long time, even though the script itself takes less than a second to run.
    Please let me know if you need any more information.

  • Is it possible to enable to VSS with 6500 chassis when only one chassis have the WISM ?

    is it possible to enable to VSS with 6500 chassis when only one chassis have the WISM ?

    thank you very much for the reply, that mean both the chassis no need to have the same modules installed on both the chassis . 

  • When only one product in a catalogue, how to skip product small list view to go to Product detail

    If I have only one product in a catalogue, how can I tell BC to skip the product list view and go straight to the product large view?
    For example.
    I would like to be able to click on 'Office Suites' on this page:
    http://bevisco.businesscatalyst.com/products
    Have BC skip this catalogue list view page:
    http://bevisco.businesscatalyst.com/products/office-suites
    and instead go straight to this page:
    http://bevisco.businesscatalyst.com/products/office-suites/office-suites-1
    Has anyone managed to achieve this? I want it like it happens here for the 'bookcases' catalogue: http://www.bevisco.com.au/Products/Storage.aspx
    Would love it if anyone could point me in the right direction. Thanks.

    Hi,
    In your online shop layouts, the individual catalog layout will look something like this:
    <div class="category-list-item">
    <strong>{tag_name}</strong>
    <div class="visual">{tag_image}</div>
    <div class="visual">{tag_browsepanel}</div>
    </div>
    In the frontend, the "category-list-item" div will contain a separate list item for each product. What you can do is use a script to count the number of <li>s in  that div and if that number is 1, get the href  attribute from that product and navigate to that page.
    Kind Regards,
    Alex

  • Is it possible to prevent the See Also function from displaying the topic window when only one "see also" topic exists?

    When you have several topics assigned to a see also button,
    the see also button displays several topics within the pop-up
    window in the compiled help. However, if you have only one see also
    topic assigned to the button, the button automatically displays the
    topic window for that topic. The first time I saw this, I thought
    it was a bug. When I've asked other people to test my help
    projects, they also think this is a bug.
    Is it possible to "make" the see also function display the
    pop-up window, regardless of how many topics are assigned to the
    button?
    thanks in advance,
    ChristyG

    Are you sure that you can change the permissions of symlinks themselves? I think I've tried to make files read-only via symlinks on a local server but ended up using bindfs because it wasn't possible. Even if you can, symlinking everything that might be necessary for a given environment would not be ideal, plus I don't think symlinks can be used across different filesystems.
    If a real-life human can figure out if it's he/she is in a chroot and break out of it, then he/she can write a script to do the same. I want a sandbox that could run malicious code with no effect on the system (if that's possible). Also, I think if the chroot idea were truly feasible, makepkg would have been using it for years already to simply install packages in the chroot as you normally would and then package them. There would also be several sandbox applications that could run applications safely. So far I have yet to find any.
    I admit that I haven't looked into using a chroot in detail though and of course I may have missed some application which creates such a setup. Right now I think using per-application namespaces with fuse seems the most promising but I won't know until I've finished implementing a test application. If it turns out that it's a dead end I'll take harder look at chroot but it really doesn't seem to be able to do what I want.

  • How to get Safari to suggest passwords when only one field is present?

    Safari works great when there are two fields to enter a password - a password field followed by a "confirm password" field - but doesn't seem to work when there is only one field to enter a new password.  Any suggestions?

    Hi,
    we have done something like this using seltab.
    One inputfield, user can enter anything same like in google like
    name:ab*,dob:1972
    write a conversion method to parse this input to seltab like
        clear ls_seltab.
        ls_seltab-sign  = 'I'.
        if lv_value cs '*'.
          li_lng = sy-fdpos.
          ls_seltab-option = 'BT'.
        else.
          ls_seltab-option = 'EQ'.
          ls_seltab-low    = lv_value.
        endif.
    use your seltab to retrieve data from the table.
    In anyway.. you can search resources in this direction to build your solution.

  • Multiple devices showing in iTunes when only one device is plugged in

    How come multiple devices show up in iTunes left-hand DEVICES column when I plug in only one device? When I plug in my iPhone, two of the same devices by the same name show up in the left hand column within iTunes, ALONG with two other iPhones in our family. Can anyone offer insight please? Thank you in advance!

    You may have enabled wifi sync on your iPhone.

  • How do I turn off the tab bar in FF 24 when only one window is open?

    I have just updated to FF 24.0 from FF 20 with Tab Mix Plus already installed. (OSX 10.6.8) From the Firefox Preferences menu, Tabs box, I have set the "Hide the tab bar:" option to "When I have only one tab." I have also gone to the Tab Mix Plus option box and set the drop down to the same value. Unfortunately, it doesn't have the desired effect. Firefox opens to my home page with a tab at the bottom. (I prefer the tabs at the bottom and that setting still works.) With only one page open, that tab is completely unnecessary, takes up space, and just plain bugs me.
    Now, here's what I have found. Once I've started Firefox, if I go to the Tab Mix Plus options box and select "Hide the tab bar: Always" and then set the option back to "When I have only one tab" I can enjoy one page without the tab bar, that is, until I've opened several tabs and then closed all but one. Then I see the tab bar stubbornly remain. An incompatibility between FF and Tab Mix Plus, perhaps. Is FF 24 not letting Tab Mix see the number of open tabs? Dunno. But I can't seem to solve it.

    Are you saying that the problem lies not with Firefox but with Tab Mix Plus? Tab Mix worked up through FF 20 to my knowlege. And I see from other questions that the persistant tab bar was an issue with FF 23 as well.
    Please note, that setting aside the extension issue, the Firefox preference Tab option should turn off the tab option when there is only one window open without any help from addons or extensions. I have disabled Tab Mix Plus, and set the FF option correctly, but the problem remains. As I see it, FF is not working as this user expects it to and is (slightly) broken.

Maybe you are looking for