Search in matrix make quicker_Business Partner

Hi experts,
it may be simple, but made me in dilemma
my question is i have a matrix which have some what 4000 rows. i want 2 select a particular row in the matrix. For that i have created a edit text and a button. by entering business partner name in edit text and clicked the button to find. and it take much much time 2 search a row. can anybody help me.
thanks in advance
jithesh nambiar

Hello,
You can do the following:
1. Sort the data by cardcode before you load the matrix
or
2. Create a class for stroring the matrix row id and the customer code
When you search, you can define some Algoritm like binary search to find quickly in the sorted table or class
example for the class
    Class _BP
        Public row As Integer = 0
        Public cardcode As String = ""
    End Class
' Comparer class for soring
Public Class ComparerCardCodes
        Implements IComparer(Of _BP)
        Public Function Compare(ByVal x As _BP, ByVal y As _BP) As Integer Implements IComparer(Of _BP).Compare
            Return x.cardcode.CompareTo(y.cardcode)
        End Function
    End Class
'USe this clas when you load the matrix
Dim Bps As New List(Of _BP)()
' Loop when you load the matrix
                Dim bp As New _BP()
                bp.cardcode = CardCode
                bp.row = iRow
                Bps.Add(bp)
'After you have loaded,
                ' Sorting by CardCode
                Dim cpBp As New ComparerCardCodes()
                Bps.Sort(cpBp)
'Now when you find a cardcode, you can
                Dim bp2Find As New _BP()
                bp2Find.cardcode = CARDCODETOFIND
                Dim i As Integer = 0
'In a loop search
                i = Bps.BinarySearch(i, Bps.Count - 1, bp2Find, cp)
                if i = -1 then ' exit from the loop
'Result: for selection
                oMatrix.SelecRow(Bps.Item(i).row)
This is working independelty from the sort order of the filling.
Best Regards,
János
Edited by: János Nagy on Nov 18, 2009 3:57 PM

Similar Messages

  • For  file to IDOC scenario, do i need to make a partner profile in XI  ?

    for a file--->XI--->IDOC scenario, do i need to make a partner profile in XI(for the R/3 system which is going to receive the IDOC),
    or only a port maintenance in idx1 will do.....

    hi Sudheer,
    yes u need to maintain partner profile in R/3
    Check below link in WIKi for complete File to IDOC
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&
    Sachin

  • IMA 11 (Appropriation request) How to make the partner filled automatically

    Dear All,
    I have requirement to prevent partner (position) to be changed by some users. Is it possible to make the partner filled automatically ? Let say i choose appropriation request type A1. It will belong to 5 positions.
    Let say : Applicant : A
    Approval 1: B 
    Approval 2: C
    Approval 3: D
    APproval 4: E
    Approval 5 :F
    Means everytime user choose Appropriation request type A1 .. the column partner will fill with position A,B,C,D,E,F and cannot be changed.
    PLZ help...
    cheers,
    nies

    ok

  • Formatted Search in Matrix

    How to create a query for formatted search if my variable is in the matrix(some column and some row).
    I would like the SAP user get a list of all Workorders for a Job, and Job is a cell in matrix.
    Workorder value should be shown in another cell in the same row.
    Thanks a lot,

    Hi Pavel,
    The document 'How to Define and Use Formatted Search' on the Service Market Place goes through defining and using formatted searches with queries. It also explains how to use fields in an active form in a formatted search, look at the section called 'Search by Saved Query' in the document.
    To find this document go to
    www.service.sap.com -> Channel Partner Portal -> Solutions - SAP Business One -> Support -> Additional Information - Documentation Resource Centre -> SAP Business One 2005 A SP 01 -> How to guides -> 'How to Define and Use Formatted Search'
    This document also gives some examples of the types of queries which are used in formatted searches.
    Hope this helps
    Noreen

  • Search employee details from Business partner number input

    Dear friends
    I am searching employee details by having input as a business partner number from infotype 0000. as pernr has only 8 character in size and bp in 10 char in size. would you please tell me how we can access employee detais from business partner number.
    p.s : I am doing this in CRM system
    Business partner  ?->infotype(0000)-->?
    Any help will be appreicated.
    Regards
    Naeem

    Dear Naeem,
    as a CRM environment is not able to run at the same sytsem / client with HR, the employee data (e.g. infotype actions (IT 0000)) only is available in a scenario with ALE-distribution from a HR-system.
    In this case the employee data from HR-system will be distributed via idocs (message type HRMD_ABA) to the CRM-system and saved to databases HRP558x [x=0 - 5; 0= IT0000; 1 = IT0001; 2 = IT0002; 3 = IT0006, subtype 1; 4 = IT0009; 5 = IT0105, subtype 0005, 0010, 0020] for the central person (object type CP).
    The activated business partner integration (table T77S0, group HRALX, switch HRAC) will create / update related business partners (relation is saved within table HRP1001, subtype B207) according to the mapping of data during idoc inbound processing (active CRM implementation of a BAdI HRALE00INBOUND_IDOC processed within the function module (FM) IDOC_INPUT_HRMD (stored in table TBD52 for evcode = HRMD).
    Reading specific infotype data of a central person (databases HRP558x) will be done using the FM RH_READ_INFTY.
    Regards,
    Michael

  • IPhone says 'searching' and cannot make calls or turn off/reboot

    Help - my iPhone says 'searching' and will not allow me to connect to the internet, make calls, or shutdown/reboot and my settings menu comes up blank.
    Any ideas?

    Hold the HOME and SLEEP buttons at the same time until an Apple logo appears. If nothing happens after 30 seconds of holding restore the phone as described here --> http://support.apple.com/kb/HT1808

  • Question for scripting gurus: GREP search, change case make Smallcaps

    I have no knowledge of scripting at all, but this question keeps coming up during training sessions: is it possible to (java)script this:
    - Do a GREP search \u\u+
    - Change case to lowercase
    - Apply SmallCaps (or: apply character style)
    this would allow to search for acronyms and change them to smallcaps (or, even better: apply a character style with small caps and tracking)
    I know it is easy for OpenType smallcaps (do a GREP search, change to OT smallcaps) but this doesn't really change case. And some fonts used aren't OT.
    Anyone?
    Would be VERY apreciated!!

    But Harbs is a seasoned scripter who knows he'll get flamed if one of his scripts "just does not work" ;)
    Well, now that you mention it, the script is not really foolproof. It's a quick and dirty script which I threw together very quickly. It's missing any error checking, some of the variables global, and it's not in a private namespace. These are all things which could cause it to "just not work" ;-)
    Here's a more foolproof construct... (and it'll work on the current story if selected, or the whole document if there's no story selected) It will create a new character style if one does not exist and work on character styles within style groups as well. I wrapped the whole script in an anonymous function to give it a unique namespace as well.
    (function()
    if(app.documents.length==0){return}
    var doc=app.documents[0];
    // Change the following to your style name!
    var character_style_name = 'Small Caps';
    try{var range = app.selection[0].parentStory}
    catch (err){var range = doc}
    //comment out next line if you do not want styles.
    var charStyle = GetCharacterStyle(character_style_name,doc);
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat="\\u\\u+";
    var finds=range.findGrep();
    for (var i=0;i<finds.length;i++){
    finds[i].changecase(ChangecaseMode.lowercase);
    //comment out next line if you do not want styles.
    finds[i].applyCharacterStyle (charStyle)
    //uncomment next line if you do not want styles.
    //finds[i].capitalization=Capitalization.smallCaps;
    function GetCharacterStyle(styleName,doc){
    var charStyles=doc.allCharacterStyles;
    for(var i=0;i<charStyles.length;i++){
      if(charStyles[i].name==styleName){
       return charStyles[i];
    return doc.characterStyles.add({name:styleName,capitalization:Capitalization.smallCaps});

  • [Opening Tabs + Searching] How to make it like Chrome?

    Hey Community,
    I love Firefox and find it better than Chrome in all aspects expect for one.
    In Chrome, when I press ctrl+t to open a new tab, the keyboard input automatically directs me to the address bar, where I can type in my url or search term.
    In Firefox, when ctrl+t to open a new tab, I have to manually click on the address bar or google search bar.
    Is there any way, or addon, to modify this behavior?
    Thanks so much!

    hello, actually it should work right out of the box like this (with focus on the address bar when a new tab is opened). maybe one of your existing addons is interfereing here - could you try launching firefox in safemode once & see if it's working as intended?
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • I don't want to use Yahoo for searching, but Firefox makes me

    For some reason, whenever I use the search bar, Yahoo operates as the search engine. I don't want to use Yahoo. How to I get it to go away so Firefox uses Google instead?

    The Firefox "address bar" is known as the "Location bar". The article that describes your issue is [[Location bar search]] - it explains how to change the Internet Keyword search service in the [[Location bar search#w_internet-keyword-search|Internet Keyword search]] section, under
    [[Location bar search#w_changing-the-keyword-service|Changing the keyword service]]
    To change it to Google (the default service), enter '''about:config''' in the Location bar (address bar), find the preference <nowiki>keyword.URL</nowiki> and then right-click on it and select "Reset", as explained in the article.
    P.S. I'm wondering how it got switched to Yahoo in the first place .... maybe a Yahoo toolbar or other add-on you installed?

  • Has anyone found a fix to the code on Google Toolbar (NOT a Google search box) to make it work with Firebox 9.0.1? my tool bar doesn't show any icons and says its not compatible. I've tried to fixes to no avail.

    Firefox verson: 9.0.1
    Google Toolbar version:
    I've tried two fixes:
    1. Went to Firefox Profiles at AppData >Roaming > Mozilla> Firefox > Profiles > Default Profile > Extensions and look for the directory where the Google Toolbar is installed. Mine is located at {3112ca9c-de6d-4884-a869-9855de68056c} directory.
    Changed the maxversion to 10. Find this line <em:maxVersion>4.0.*</em:maxVersion> to <em:maxVersion>10.*</em:maxVersion>\
    2. Went to Lib dircotry and opened up the file toolbar.js with a text editior and replaced all www.google.com/accounts WITH: accounts.google.com

    You can turn off compatibility checking, but more and more of the Google Toolbar will not work. Google is no longer supporting the Google Toolbar so you should use the alternatives.
    Hi Mark,
    See http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    If you have an aspect that is not covered, indicate what that is; otherwise, expect you to be fully functional within 1-2 weeks.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • High-speed business partner search

    Hi, all
    http://help.sap.com/saphelp_crm60/helpdata/fr/b0/7ff3f1b791481f89147cacc02de8bc/content.htm
    If high-speed business partner search is set up in your system, you can enable it in the account identification profile so that all interaction center (IC) agents assigned to this profile can use high-speed search to identify accounts in the IC WebClient. For searching large numbers of business partner records, high-speed search is more efficient than standard search because it stores and indexes your account data in main memory. To maximize the availability of high-speed search, the data is updated from the database once every six hours (default setting), though you can change this setting to balance freshness of data with maximum system performance.
    Do you know about successfully implementation of this functionality?
    Do you use this functionality?
    Denis.

    Closed.

  • Include own search help within new partner role (SRM 7.0)

    Hi,
    1) I have defined an own Partner Function and Partner scheme for Contracts.
    2) I have defined an own table with partners and description (z-table).
    3) I have defined an own search help including the own z-table.
    4)I have included my own search help to the new defined partner scheme (spro --> cross application Basic settings --> Define partner schema --> partner determination procedure --> Search help name (own search help)
    If I start a contract in the system, I can see my new partner Function within header data -> so far so good.
    Also my own searchhelp is included, I can see the defined partners within my own z-table using F4 help.
    Problem:
    Partner ID and Description from Z-Table are not returned to Web Dynpro after selecting one partner from my result list.
    Question:
    How do i define a correct customer search function including an own table for partner functions/schema?
    Do I have to use a search exit within my search help to return the Partner Id and Description correctly to the contract fields?
    SRM standard seems to use the follwing exit:
    BBP_F4IF_SHLP_EXIT_CLL_PARTNER
    Any help concerning this issue is highly welcome
    Thanks and best regards
    Andreas

    Hi
    We can create the Contact person for the vendor with the following roles in SRM 7.0
    SAP_EC_BBP_ADMINISTRATOR-->SAP SRM: Administrator
    SAP_EC_BBP_PURCHASE-->mySAP SRM Purchaser
    SAP_EC_BBP_ST_PURCHASER -->SAP SRM: Strategic Purchaser
    Select the vendor created by you from the 'Business partner' page and click on 'Create Contact person'.
    Enter the details required as per the requirement and save.
    Regards,
    Chandolu Ramesh

  • Iweb website not showing up at all on any search engine

    Hello,
    I recently switched from Windows to a Mac (and its a big improvement, really pleased with it). As we run 2 tiny businesses, one of my first projects was to make 2 websites in iweb and publish them via ftp to the domains I purchased (both hosted by free virtual servers). When I type in the web address in the Safari browser bar, the websites display and work perfectly. However, for one website, when I google any of the keywords (i.e. santa, reindeer and horse-drawn sleigh hire), or the actual company name (Santa and Co), or the specific web address (www.santaandco.com), nothing comes up apart from the freevirtualservers awaiting content thing. When I click on this, it goes straight to the website, all working fine! I don't expect to be on the first page of google, and this question isn't about how to improve my ranking on search engines, but normally when you google a company name or specific website address it comes up somewhere with the actual site! To make sure, I made a site for a friend (www.djfatboy.co.uk) and the same thing applies - nothing comes up. When I search for www.djfatboy.co.uk it doesn't exist, although typing the address in the browser bar brings the site up working perfectly. I have got cyberduck but as the sites display fine I'm assuming its another problem.
    The other website I made for our business (www.horsedrawnpromotions.com) has a different issue but I'd like to get the Santa and Co one sorted first! I don't know where I'm going wrong, and apologies if I have posted this in the wrong place but I haven't got a clue how to fix things, or even what this issue could relate to. Please help!! Thanks.

    You need to let the search engines know that your site actually exists or they won't be able to index it. Go to Google and there should be somewhere to register your site. Once they know you are there they can start indexing it.
    Also, you can download iWebSEO where you can add tags and page names etc. to help your site be found more easily in searches, but first make sure that the search engines know your site is there.

  • Sharepoint 2010 search service from C# web service and Powershell - passing credentials to search

    Good morning everyone,
    I really need your expert help about the following issue. I ve developed a web service in C#. Its core code has a Powershell script inside which makes a call to SharePoint 2010 search service to make some search queries, and returns some URL of some files. 
    In Powershell code I make connection to SharePoint search service using the Farm Admin account. This system works, but given results are not filetered by the user using the web service (I remember you I m using the Farm admin account in PS code)
    How can I use user account to make some queries ? How can I filter search results by user ? In Powershell code I put username and password of Farm Admin account and I know them because I m the farm administrator, but
    what about if I want to pass Powershell code some other user credentials ? Of course I cannot know his credential ..  Can I do it , in which way ?
    Any help is really appreciated !
    Gae 

    Hi Gae, if you are using web services, you shouldn't need to add a SharePoint DLL to your project. I would advise against using C# -> PS -> Web Service Call -> PS -> C# if you could go straight C# -> Web Service -> C#.
    Anyways, back to the matter at hand. Do you know what type of authentication your SharePoint server is running? Is it direct NTLM, NTLM over Kerberos, Claims, or something different?
    The following article provides the various types of impersonation available in SharePoint:
    http://extreme-sharepoint.com/2012/05/30/impersonation-elevation-of-privileges/
    Dimitri Ayrapetov (MCSE: SharePoint)

  • How do I use domain guessing for single word but search for multiple?

    I would like to configure the search bar to make smart decisions about weather it should fill in an address or search for results. At the very least I would like it to be able to search when multiple words are entered but fill in the address when it's only one word (eg: typing "zelda" would take me to www.zelda.com but "the legend of zelda" would use search)

    The answer that you are probably looking for is what Google calls the '''I'm Feeling Lucky''' Search. Not quite what you describe but if there is one result that stands out as the most common result, you will get taken directly to the page. (Wouldn't work for me, I seldom find what I looking for in the first five hits.)
    This will involve a change to your '''about:config''' configuration variables.
    '''keyword.URL ''' default string
    http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=
    The '''&gfns=1''' is what gets you the I'm Feeling lucky search.
    References:
    * http://dmcritchie.mvps.org/firefox/search.htm
    * [http://kb.mozillazine.org/About:config About:config - MozillaZine Knowledge Base]
    * [http://kb.mozillazine.org/About:config_entries About:config entries - MozillaZine Knowledge Base]
    <hr>Personally I prevent all (external) searching from the location bar to prevent errors from being redirected to a substitute page (along with additional filtering via the '''Adblock Plus''' extension).
    For '''zelda''', I would type in the word and then use '''Ctrl+Enter''' so that it becomes www.zelda.com (with "Ctrl+Shift+Enter" gets .org, and with "Shift+Enter" gets .net).
    For more information on '''keyboard shortcuts''' and the fact that those two shortcuts above can be [http://www.mvps.org/dmcritchie/firefox/keyboard.htm#newtab switched] see
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://www.mvps.org/dmcritchie/firefox/keyboard.htm
    The '''AwesomeBar''' search is what you get in the location bar drop-down when you enter strings of characters that exist in the Title and/or url address of a previously visited site or one that you have in your bookmarks. You see those choices '''before''' you press "Enter".
    Once you press "Enter" by default you would do a search with your currently selected (default) search engine, as if you had entered the search into the search bar.
    I don't like the last method and would use a ''keyword shortcut'' to use a customized search or to go directly to a web page. But without knowledge of what is available using the Location bar to run an external search works okay for most people.
    <hr>
    The "weather" threw me because for weather you really do want a keyword shortcut, the word you meant was whether.
    More information on [http://dmcritchie.mvps.org/firefox/kws.htm keyword shortcuts].
    * http://dmcritchie.mvps.org/firefox/kws.htm

Maybe you are looking for

  • IPod Classic 160 gb not playing some songs..

    I got my iPod Classic last week, and everything was fine until I went to listen to the music on the iPod with my headphones not through my computer. One of my songs wouldn't start playing. So, I took the song off and re-added it back. That song start

  • Missing files Lightroom 3 and OSX 10.9.5 - how do I fix this? PLEASE

    Hi Mr. Jim. I am having very similar problems with my Lightroom 3. I recently updated my Mac OSX to 10.9.5 and since doing so my photos are missing or offline and I cannot import from any source, even my Canon. I found updates on Adobe that take it u

  • You tube use to work fine for me in Fire Fox ...Now wont...I dont recall changing anything.

    You tube just shows black screen, works fine in internet explorer. Haven't upgraded or changed versions of firefox or added any plug=ins Im awarer of. Had several automatic updates come through of other programs, such as flash, ect. But I have refuse

  • Nomad Jukebox Zen Xtra PLEASE HE

    My player was locked on the EAX screen, and I figured out how to get to the rescue mode, and I clicked "Clean Up" and then pressed the check, and then it went back to the rescue mode screen and nothing's happening. Where do I go from here? What does

  • Iphone 3g white out

    Hi everyone, I got a problem with my Iphone 3g 16gb model. Sometimes the phone is white out. I did restore a couple times but does not work, it still happen, not much but really annoying. I came to apple store (CA San Diego Fashion Valley) and talked