Property "Query" for basic search iView - documentation needed

the iView com.sap.km.cm.basicsearch has a property called Query. I need to know what are all the possible values for this property (SearchPluginName, SearchComponentName etc... and what do these values represent?! ). Are these documented somewhere?

Hi Tiberiu,
check this:
https://www.sdn.sap.com/irj/sdn/thread?threadID=197279
Regards, Karsten

Similar Messages

  • Can we write query for fomatted search without from clause

    can we write query for fomatted search without from clause as below.
    SELECT (($(u_amt)*14)/100)
    here U_amt is a UDF .I want to assign this to another field .
    Rgds,
    Rajeev

    Hi Rajeev,
    You can write query for FMS without from.  That is because you can omit it when you get value from active form by default.  The grammar of it is:
    Select $[$38.u_amt.0\] * 14/100 in your case if you have item type marketing document @line level.
    From View-System Information, you can get the info you need for your FMS query at the left bottom of your screen.
    Thanks,
    Gordon

  • How to set only one Index-group for a Search-iView as default?

    Hi Everybody,
    i have a lot of index ID's for searching in different folders. Is it possible to set only one index-group as default for a search iView? Until now i get all groups as default in every search. It's inconvenient for the users to use the link of 'show options' in order to uncheck the other index ID's.
    regards,
    Seed
    Edited by: seed_mopo on Jun 6, 2008 5:02 PM

    hi Seed,
    To achieve this you have to follow the below steps
    1. Create a new set of search options, choose System Administration -> System Configuration -> Knowledge Management -> Content Management -> User Interface -> Search -> Search Options Set in the portal.
    In that you have a field 'Index Groups', wherein you can specify which index group, the user has to search in. If there are multiple index groups, mention your index groups separated by comma.
    See here for more information
    http://help.sap.com/saphelp_nw04/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/content.htm
    2. You have to specify the option set that you created in step 1 in the default KM search iview. In the iview properties, under the field search option set, mention the option set that was created for this index group or multiple index groups.
    This way, you can configure KM search iview to search in a single index group or multiple index groups.
    Revert back in case of any queries
    Regards,
    Ganesh N

  • Query for formatted search

    Hi All,
    I have a line UDF called U_PO in the sales order documents that denotes our purchase order number that particular item is ordered on.
    I have another line UDF called U_XMill which I want to populate with the corresponding PO document due date.
    What would be my query for that?
    Basically, it should be something like:
    SELECT T0.DocDueDate FROM OPOR T0 WHERE T0.DocNum=$[$38.44.0] FOR BROWSE
    However, I am sure that "38.44" is wrong.
    It should denote my current document's UDF *.U_PO.
    And I am not sure what would be the correct notation for it.
    I was wondering if there was a help document I could refer to to figure out the corresponding field numbers for the cases like this.
    Thank you for your help.

    Hello
    use FMS on matrix (tables) as
    [ItemUID.ColumnUID.Type] or [TableName.FieldName]
    where itemUID is 38
    ColumnUID is U_XMill
    Type is 0 (general).
    There is a now-to guide on service.sap.com/smb/sbo where you can find how to us FMS.
    Regards
    J

  • SQL Query for members of dynamic group - Need to include Name, Path and Type

    Hello,
    I built a custom dynamic group that has all my SQL databases in it using SCOM 2012 SP1.  The group works fine as I can see the Name(ie, Database name), Health State, Path (ie, hostname/instance) and Types (ie; SQL 2005).  Now I'm trying to
    build a custom report based off this same information using a SQL query.   I'm no DBA and could use some help.  So far this is what i have
    use
    select
    SourceObjectDisplayName as
    'Group Name',
    TargetObjectDisplayName,TargetObjectPath
    from RelationshipGenericView
    where isDeleted=0
    AND SourceObjectDisplayName
    like
    'SQL_Databases_All'
    ORDERBY TargetObjectDisplayName
    This gets me the Group Name (which i really don't care about), database name, and hostname/instance. What I am missing is the Health State and most importantly the Type (ie, SQL Server 2005 DB, SQL Server 2008DB).
    If someone could assist me here I would appreciate it. I believe I need to do some type of INNER JOIN but have no idea where the SQL type info lives or the proper structure to use. Thanks
    OperationsManager

    Here's the updated Query for OpsMan 2012 R2:
    To find all members of a given group (change the group name below):
    select SourceObjectDisplayName as 'Group Name', TargetObjectDisplayName as 'Group Members' 
    from RelationshipGenericView 
    where isDeleted=0 
    AND SourceObjectDisplayName = 'Agent Managed Computer
    Group' 
    ORDER BY TargetObjectDisplayName

  • How to frame the select query for wildcard search.

    Hi Experts,
    I have an input field P_USERALIAS.This value could contain the actual value or the wildcard for example : user can enter P_USERALIAS as SAP123 or S or SAPABC123 . I need to generate a dynamic search on table USREFUS  depending on what has been entered.Please help.
    Useful answers will be rewarded.
    Regards,
    Shrita Sharma.

    THIS IS A TEST REPORT FOR WILDCARD SEARCH**
    TABLES: USREFUS.
    PARAMETERS: P_NAME1 TYPE string.
    RANGES: R_NAME1 FOR USREFUS-USERALIAS.
    DATA: T_usrefus LIKE usrefus OCCURS 0 WITH HEADER LINE.
    *replace
    if p_name1 cs '*'.
    replace all occurrences of '*' in p_name1 with '%'.
    SELECT * FROM usrefus
    INTO TABLE T_usrefus
    WHERE useralias like P_NAME1.
    else.
    SELECT * FROM usrefus
    INTO TABLE T_usrefus
    WHERE useralias = p_name1.
    endif.
    LOOP AT T_usrefus.
    WRITE: / T_usrefus-useralias.
    ENDLOOP.
    **THANKS & REGARDS
    SHRITA SHARMA.

  • Customize Basic Search iView with some text above the Search field

    Hello *,
    we are using the sap.km.cm.basicsearch iView for searching some things. Is it possible to write some text for description above the search field inside the iview?
    Regards,
    Björn,

    Hi Adam,
        U can add a description to the search field in the search iView by customizing the sap.km.cm.basicsearch iView.Download the PAR file from the server machine or from System Administration>support>Portal Runtime>Browse Deployment>Save the PAR file in local machine and import the same to NWDS and customize according to ur requirement.
    Hope this Helps.
    Regards,
    Vinoth.M

  • What incorrect syntax found in this query for dynamic search

    I make this stored procedure for dynamic search by date from date to employee no employee name
    but it give me error why
    Create proc CollectsearchData15
    @StartDate datetime,
    @EndDate datetime,
    @EmployeeID NVARCHAR(50),
    @EmployeeName nvarchar(50)
    as
    Begin
    DECLARE @SQLQuery as nvarchar(max)
    SET @SQLQuery = N'SELECT * from ViewEmployeeTest Where (1=1)'
    If @StartDate Is Not Null
    SET @SQLQuery = @SQLQuery + N' And (joindate >= @StartDate)'
    If @EndDate Is Not Null
    SET @SQLQuery = @SQLQuery + N' And (joindate <= @EndDate)'
    If @EmployeeID Is Not Null And @EmployeeID != ''
    SET @SQLQuery = @SQLQuery + N' And (EmployeeID = @EmployeeID)'
    If @EmployeeName Is Not Null And @EmployeeName != ''
    SET @SQLQuery = @SQLQuery + N' And (DriverName Like ''%'' + @EmployeeName + ''%'')'
    Print @SQLQuery;
    Exec sp_executesql @SQLQuery,
    N'@StartDate datetime, @EndDate datetime, @EmployeeID nvarchar(50), @EmployeeName nvarchar(50)',
    @StartDate, @EndDate, @EmployeeID, @EmployeeName;
    but it give me this error why
    Msg 102, Level 15, State 1, Procedure CollectsearchData15, Line 28
    Incorrect syntax near ';'.

    I think you are missing an END. Perhaps with no dynamic sql :
    SELECT * from ViewEmployeeTest
    WHERE
    (joindate >= @StartDate OR @StartDate IS NULL)
    AND
    (joindate <= @EndDate OR @EndDate IS NULL)
    AND
    (EmployeeID = @EmployeeID OR @EmployeeID IS NULL)
    AND
    (DriverName Like '%' + @EmployeeName + '%' OR @EmployeeName IS NULL)
    Thanks and regards, Rishabh K
    Please keep in mind that this might cause proc to generate bad plans
    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How do I use "Search Query" for nontrivial searches?

    After a few years in the community, this is my _first_ question to the boards ;-)
    In speaking with a colleague today, I learned about an NI forum feature that would be useful for me. When I tried to configure it, I then learned that I didn't know how to use it. When I tried to learn how to use it, I further learned that it wasn't fully documented. So, I'd like some clarification :-)
    The feature in question is "Search Query" which will send you an email when a forum search matches your query. What I don't know is:
    What are the rules (syntax) for search queries? For example, I would like to search for single words, all the words that I specify, as well as exact phrases. How do I differentiate between multiword queries and exact phrase queries?
    Is it possible to have more than one Search Query?
    If so, how do you delineate them? Would I use commas, a new line, something else?
    I'm asking because the available (and discoverable) documentation doesn't mention what to do when you want more than one Search Query. The help text on the subscription page [1] makes me think that only one query is possible, and says a Search Query:
    Sends you mail every time a message matching your query is submitted. Search queries take up to 15 minutes to take effect. Saving a blank query will disable this feature and will stop any mail from being sent.
    The other place I tried was the NI Forum FAQ [2], which makes me think that more than one query is possible:
    If you add a board, thread, message, or search term to your subscriptions, the system will send you an e-mail every time someone posts to the board, or replies to the message or thread. If you prefer not to receive an e-mail for your subscriptions, you can subscribe to the RSS feed of a board, thread, user, or search term.
    The FAQ goes on about what to do with board, thread, and message subscriptions, but doesn't say anything more about search subscriptions.
    The last place I looked was on the search results page itself. In the blue header that precedes the results, there's a link on the far left that says "Search Options" with a single option that says "Subscribe to this search's RSS Feed". While I could subscribe and use an RSS reader, I really would prefer email. I suppose if only one Search Query is possible, then this will be my workaround.
    As a comment, why does the Search Options menu not also have a "Subscribe to this search" option, which would add another entry in the Search Query box? This is a noticeably different interface than the Thread Options menu.
    [1] Subscriptions & Bookmarks
    http://forums.ni.com/ni/user_subscriptions
    [2] Frequently Asked Questions
    http://forums.ni.com/ni/help_faq
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)
    Solved!
    Go to Solution.

    Hi Joe,
    Thanks for all of the questions and congrats on posting your first question!
    Unfortunately I think all of your questions come from the valid assumption that the search query functionality is more robust than it actually is.  The search query functionality really only serves a single purpose and that is to email you when your phrase has been posted to the forums.  For me, I use it to email me when my name is mentioned in the forums.  It serves this purpose well since I have it set up to work off just a single search term.  However I find that multiple word phrases are combined with an OR which is not as useful.  The search query does not adhere to any common search syntax that you would expect (I believe we are the only community that uses this feature so it has not been improved upon).
    The best way to set up both multiple word queries and multiple different queries is to use the RSS feed as you mentioned.  This way you can tailor your search very specifically using different advanced search options and subscribe to them all in one feed reader without constantly getting emails.  The search query emails do not adhere to the digest subscription settings.  I find that the RSS feeds work very well for searches and I am fond of using them, but I do use an RSS Reader for many things so it is not out of my normal workflow.
    Thank you for reading the Forum FAQ.  I've done some work to improve it but I think it has a long way to go and it's good to know that people read it
    Regards,
    Laura
    Web Support & Operations
    National Instruments

  • SQL query for formatted search

    Hi guys and expertise,
    I have this one problem where i need to do the formatted search,below is my example query that i  have done
    declare @itemcode varchar (20)
    set @itemcode = (select x.itemcode from OITM x where x.ItemCode=[%])
    declare @itmgrp varchar(50)
    set @itmgrp=(select y.itmsgrpnam from OITB y where y.ItmsGrpNam=[%1])
    select
    CASE
    when @itemcode = 'Item Descriptions 1' then @itmgrp
    else t0.ItmsGrpNam
    end
    from OITB t0 inner join
    OITM t1 on t0.ItmsGrpCod=t1.ItmsGrpCod
    where t1.itemcode=@itemcode
    ***correct me if i'm wrong
    the condition is :-
    whenever the user selection is 'Item Descriptions 1' user will have to select the product group name else
    if the user selection is not equal to "Item Descriptions 1", automatically the product group name will be default according
    to the item code itself.
    i wonder if it's possible?  if it is, then i suppose there should be a way,right?

    Hi Gordon...
    Thanks a lot for the answer,
    I did try some research and manage to find a way out for the query that I want, the query is as below:-
    BEGIN
    IF
    $[$38.1.0]='Item Descriptions' or $[$38.1.0]='Item Descriptions 1' or $[$38.1.0]='Item Descriptions 2' or
    $[$38.1.0]='Item Descriptions 3' or $[$38.1.0]='Item Descriptions 4'
    SELECT T0.ItmsGrpNam FROM OITB T0 inner join OITM T1 ON T0.ItmsGrpCod=T1.ItmsGrpCod
    Group By T0.ItmsGrpNam
    ELSE
    SELECT T0.ItmsGrpNam FROM OITB T0 inner join OITM T1
    ON T0.ItmsGrpCod=T1.ItmsGrpCod where T1.ItemCode=$[$38.1.0]
    END
    regards,
    Asyraf

  • Hide/Preview button for Notification Search Iview

    I'm working on a Portal Appllication called NRX. It's used as Interface for SAP Plant Maintenance
    There is an iview to search notifications in the R3
    When I log in I can see two buttons in the upper right corner. Hide and Show Preview button
    However, sometimes I log in and I can't see these buttons.
    We believe this is a node configuration issue.
    Can someone help me?

    Hi Srini,
    Thanks for the Immediate Response, I reviwed the Maetalink Note which you suggested, it was stated as:
    Starting from ATG_PG.H.Rollup 4, an enhancement has been made to the Notification Details screen.
    When the user viewing the notification has been granted the Workflow Administrator privilege (through the WF_ADMIN_ROLE preference), then the Reassign button will always be visible, even when the message attribute #HIDE_REASSIGN is set to Y.
    This allows Administrators to reassign any notification when necessary in exception cases.
    But in my case, the user do not have the Workflow Administrator privilege. He was not assigned with any workflow Admin Resps. Is there anything I am missing to check the WF_ADMIN_ROLE preference for a particular user?
    Regards,
    Sridhar

  • Query for Exploding all production orders needed to fulfil a sales order

    I am trying to write a query that explodes all the multiple levels BOMS and brings back a list of production orders that would need to be raised to fulfil a particular sales order.
    SELECT T0.[DocNum], T0.[CardCode], T0.[CardName], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T2.[TreeType] FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode WHERE T0.[DocNum] = [%0] AND T2.[TreeType] = (N'P')
    This is what i have at the moment, this only goes down one level, i cant think how i might drill down to lower levels. Any ideas?
    Thanks

    It will be a tough query to build.
    Check this for just adding one level:
    SELECT T0.DocNum, T0.CardCode, T0.CardName, T1.ItemCode, T1.Dscription, T1.Quantity
    FROM ORDR T0
    INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE T0.DocNum = [%0\] AND T1.ItemCode IN (SELECT Code From OITT)
    UNION ALL
    SELECT T0.DocNum, T0.CardCode, T0.CardName, T3.Code, T4.ItemName, T1.Quantity*T3.Quantity
    FROM ORDR T0
    INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITT T2 ON T1.ItemCode = T2.Code
    INNER JOIN ITT1 T3 ON T2.Code = T3.Father AND T3.Code IN (SELECT CODE FROM OITT)
    INNER JOIN OITM T4 ON T3.Code = T4.ItemCode
    WHERE T0.DocNum = [%0\]
    Thanks,
    Gordon

  • KM Search iView for User Search

    Hello,
    I am trying to create a new iView for User Search based on the KM Search iView Template. However, in the properties of the iView (Property Editor) there is no option to assign the ume index (contains users) to the iView. I previewed the iView, entered just a "normal" search term assuming that the iView would at least search for something, but the following error message occured. "TemplateError during search occurred - com.sapportals.wcm.WcmException: Index is corrupted, rollback required;index=ume,location=iwdf0003:39103 (Errorcode 2008)"
    Does anyone know how to solve this problem?
    Thanks a lot,
    Katharina

    Hi Katharina,
    now I understand. The problem is that you can't just use the KM search iView, you need to use a special iView based on com.sap.netweaver.coll.WhoIsWho or com.sap.netweaver.coll.WhoIsWhoNarrow. The configuration to be done (if you named the index for example not "ume") is described <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/05/a62c42de59da2ce10000000a1550b0/content.htm">here</a>.
    You can also find this iView in the com.sap.netweaver.coll.demo.CollaborationDemoRole role by navigating to Collaboration Demo -> People-Centric -> Who's Who.
    The steps on how to create the ume index are described <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/21/ac21410bc3ef23e10000000a155106/content.htm">here</a>.
    Hope this helps,
    Robert

  • Formatted search query for displaying invoice items details

    hi all,
    i need to display all the items in AP invoice.kindly suggest me a query for that.
    in AP invoice
    Ex. row items
    code--descqtyprice--
    total
    I0001--XXXXXXX5--
    100 -
    500
    query should display this row as
    code--desc--
    price
    I0001--XXXXXXX--
    100
    I0001--XXXXXXX--
    100
    I0001--XXXXXXX--
    100
    I0001--XXXXXXX--
    100
    I0001--XXXXXXX--
    100
    =================================
    the query should display as the qty is 5 so it will display the same item 5 times
    kindly suggest me some query for formatted search
    its very urgent
    regards
    sandip

    Hi Sandip,
    DoQuery("Select b.ItemCode from OINV a,INV1 b Where a.DocEntry=b.DocEntry")
    Hope its help for you
    Give me reward points,
    Regards,
    G.Suresh.

  • Basic Search: JSP?

    Hi,
    i have a small question about the Basic Search iview.
    How is this build up, I can't seem to find any JSP page inside the par file.
    I know about the methods to change the result list etc, but i just need to change the layout of the whole page (adding images and stuff).
    Is this possible?
    kind regards,
    Stephie

    Hi Deman,
    to implement an own search interface you can use the provided concept of search components. By implementing your own developed search components you can easily integrate images and other things in the search interface.
    Have a look at this article with code examples by Thilo Brandt: <a href="https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/km/searchcomponents/Developing%20a%20Search%20Component%20for%20KM%20Search%20iView.html">Developing a Search Component for KM Search iView</a>.
    Hope this helps,
    Robert

Maybe you are looking for

  • IE10, Reader XI, Win 7 x64 - can't read pdf files in browser

    Hi, As the title says, am using Reader XI, IE 10, Win7 x64. Every time I click a hyperlinked pdf, I get a new tab and a black x in the top left corner. Astonishingly this behaviour persists if I disable the pdf reader add-ons (i.e. pdf's are not laun

  • Getting ORA-06502 in Runtime, but not throug Developer

    I got a copy of Matrix.fmb & Matrix.pll from someone at oracle and changed it up for my application. It worked great. I just recently upgraded from 8.05 to 10G and Developer 5 to 6. If I run the form from Developer, it runs great. If I run in using t

  • RDWA - limit to one monitor full screen for IT support staff

    In our shop, we use RDWA to access the Windows 7 virtual desktops, server is Windows Server 2012. Since IT support staff have two monitors, when they login to user's virtual desktop for testing / support purpose, the display will be spanned across tw

  • Building an online inventory system using Oracle fusion

    I am developing an online inventory system which is my college project and I don't know where to start But I have collected materials and learned some about the inventory but I don't have knowledge about jsp/jsf or simply j2ee much. And I saw videos

  • How do I 'invert drawbars' in control surfaces?? Korg NanoKontrol & VB3

    I've set up my Korg nanokontrol with VB3 organ, and all is OK apart from the drawbars are inverted. (When I pull the fader down the drawbar decreases in volume rather than the other way around). Is there something to select to 'Flip' this action. The