How to modify search query based on new FE

Hi,
As per a requirement, in All Accounts search (advanced search section), I had to replace 5 checkboxes (e.g. Role1, Role2, Role3, Role4, Role5) by a single dropdown (codelist) name= "Account_Roles" containing same values (Role1, Role2, Role3, Role4, Role5). I created Customer's XBO and declared field of the codelist type, name= "Account_Roles". So, the XBO now has below 6 fields :
Role1, Role2, Role3, Role4, Role5 (type = Indicator)
Account_Roles                            (type = codelist)
Existing search on All Accounts worked on the 5 checboxes and fetched those accounts for which the values matched.
E.g.
If in search parameters, I check Role1 & Role2, and for Account1, these values are stored as "true", then Account1 will be shown in the result list.
Now the search UI doesn't have the checkboxes, but codelist ('Account_Roles') which can have value 'Role1'/'Role2'/'Role3'/'Role4'/'Role5' or combinations are also possible like 'Role1' OR 'Role2', etc..
My question here is -
Will the old search query that worked on indicator fields earlier, handle the new FE "Account_Roles" automatically ?
If not, then will modification be required to existing search query ?
If modification is required, what steps I need to follow to handle this new field instead of checkboxes.
I need exact steps to modify a search query, as I tried several things in the PDI but was not able to confirm if this requirement can be implemented by modifying search query or it is not feasible from PDI perspective.
Appreciate all your inputs.
Thanks,
Sachin.

Hi,
you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
regards
Siggi

Similar Messages

  • How to insert a query into a NEW workbook ?

    Hi Friends,
    Could some one tell me how to insert a query into a new workbook? i am trying to run query in NW2004S BEx Query Designer, which always open the query on web when executed. i want to run the query in NW2004S BEx Query Designer and want it to open the result in Excell.
    If i am not wrong then to do the same, i need to embed the query into workbook. Correct me if i am wrong. If i am right then plzz tell me the steps to insert the query into workbook.
    Ur help will be rewarded in terms of points.
    Thanks,

    Hello,
    If you open the BEx Query Designer from the desktop, you cannot execute the query directly to the BEx Analyzer for an Excel view. You can only execute it directly to the Web. This is true for the SAP BW 3.x version as well as the SAP NetWeaver 2004s version.
    If you open the BEx Query Designer from within BEx Analyzer, once you select (or create) your query, you will have a green check mark icon that will then allow you to deploy the query directly to the BEx Analyzer for the Excel view.
    However, this would only make sense if you are creating or modifying the query. If not, you would simply open BEx Analyzer and use the Open Query option in this tool to see your query in an Excel format, as has been previously suggested by the other respondents to this posting.
    Regards,
    Katie Beavers
    SAP NetWeaver Product Management

  • How to modify the query to get max id record

    Hi All,
    How to modify below query to get proper result.The query is returning some records are duplicated.I need only one record to display from duplicate based on max assetid.
    Here is my query:
    SELECT *
    FROM (
    SELECT a.uppertitle, a.composer, a.esongid,
    MAX (asset_new.assetid) AS assetid,asset_new.ownerid
    FROM (SELECT DISTINCT NVL (esong.title, '~') AS uppertitle,
    INITCAP (NVL (esong.composer, '~')
    ) AS composer,
    esong.esongid
    FROM esong, esongcountry_us eus
    WHERE 1 = 1
    AND eus.esongid = esong.esongid
    AND eus.isocountrycode IN ('US')
    AND esong.title LIKE 'LIVE TO TELL%'
    AND ROWNUM < 390) a,
    songwebrecording,
    recordingasset_new,
    asset_new
    WHERE a.esongid = songwebrecording.esongid(+)
    AND songwebrecording.recordingid = recordingasset_new.recordingid(+)
    AND recordingasset_new.assetid = asset_new.assetid(+)
    GROUP BY a.uppertitle, a.composer, a.esongid,asset_new.ownerid)
    WHERE ROWNUM <= 390
    ORDER BY uppertitle
    result:
         upperlittle composer esongid assetid onwerid
    1.     LIVE TO TELL Gelb, Howe 480340000 null      null
    2. LIVE TO TELL FROM THE Madonna (Ca)/ Leonard 125559900 null null
    3. LIVE TO TELL FROM THE Madonna (Ca)/ Leonard 125559900 3080366 null
    4. LIVE TO TELL FROM THE Madonna (Ca)/ Leonard 125559900 3038107 null
    5. LIVE TO TELL THE TALE Holopainen 859841500 nulll nulll
    I need the result like this :
         upperlittle composer esongid assetid onwerid
    1.     LIVE TO TELL Gelb, Howe 480340000 null      null
    2. LIVE TO TELL FROM THE Madonna (Ca)/ Leonard 125559900 3080366 null
    3. LIVE TO TELL THE TALE Holopainen 859841500 nulll nulll
    Please help me on this regard. oracle version is 9i
    Regards,
    Rajasekhar

    can you please format your code with                                                                                                                                                                                                                        

  • How to modify this query to get the desired output format

    I hv written a Query to display all the parent table names and their primary key columns(relevant to this foreign key of the child table).The query is given below...
    SELECT DISTINCT(TABLE_NAME) AS PARENT_TABLE,COLUMN_NAME AS PARENT_COLUMN
    FROM ALL_CONS_COLUMNS
    WHERE CONSTRAINT_NAME IN (SELECT AC.R_CONSTRAINT_NAME
    FROM ALL_CONSTRAINTS AC
    WHERE AC.TABLE_NAME=TABLE_NAME
    AND AC.TABLE_NAME='&TABLE'
    AND AC.R_CONSTRAINT_NAME IS NOT NULL);
    This query will display all the parent tables and their primary key columns.Now my problem is that how to modify this query to also display the foreign key column name of the child table.
    I want the query result in the following format.The query should display the following columns.1)child table's name,2)child table's foreign key column name,3)the corresponding parent table's name,4)the parent table's primary key column name(which is the foreign key in the child table).
    For Example I want the output as follows...
    TAKE THE CASE OF SCOTT.EMP(AS INPUT TO YOUR QUERY)
    CHILD_TABLE CHILD_COLUMN PARENT_TABLE PARENT_COLUMN
    EMP DEPTNO DEPT DEPTNO
    In this result I hv used alias name for the columns.The query should display this only for the foreign keys in the child table.In the query which I sent to you earlier will give the parent table and the parent column names,But I also want to append the child table and child column names there.
    any help on how to tackle would be appreciated.

    Try this query
    SELECT c.table_name child_table,
         c.column_name child_column,
         p.table_name parent_table,
         p.column_name parent_column
    FROM user_constraints a,user_constraints b,user_cons_columns c,
         user_cons_columns p
    WHERE a.r_constraint_name=b.constraint_name and
          a.constraint_name=c.constraint_name and
          b.constraint_name=p.constraint_name and
          c.position=p.position
    ORDER BY c.constraint_name,c.position
    Anwar

  • How to copy existing query report into new query report in SQ00

    Hi Experts,
    Hi Experts,
    I want to add fields "company code" "'region" to existing  query report AQZZ/SAPQUERY/FKF1============
    (list of vendor address) for this i done as following:
    1.In SQ01  go to "EDIT->other user group" and i selected user group as /SAPQUERY/FK
    2.I typed F1 in query field and click change button
    3.I clicked next screen button and entered into "change query f1: select fields screen".here i clicked "basic list" button and searched company code checkbox and saved it as result company code is appearing in the standard report"AQZZ/SAPQUERY/FKF1============"
    but unfortunately there is no region field(LFA1-REGIO) for this i think i should copy the existing  query report  into new query report(Ex:Z_LIST_OF_VEND) which should be 14 characters.please tell me briefly how to do this because this is first time i am using SQ00.
    one more issue is when i selected "edit-otheruser group" and choosing /SAPQUERY/FK  i  am getting only infoset "/SAPQUERY/FIKD" but i should need Info set: "/SAPQUERY/FIDD" please tell me how to add the previous one into user group.i think if i got /SAPQUERY/FIDD into usergroup  /SAPQUERY/FK i can add region also into Query report as i mentioned above by going SQ01 ...............................
    please help regarding this which should be very beneficiary to my carrier.
    Regards,
    naresh

    Hi Experts ,
    I solved issue by changing infoset in SQ02 by means of assigning field to field group and changed the query in SQ00.
    Regards,
    naresh.

  • How To Make Search Query Showing the Result As List of Buttons.

    Can some one give me an idea how to start to make a Search Query showing the results as list of buttons.. i have already have my buttons with names. i just dont know how to make a search query.
    this is my on screen keyboard i made..
    im making a system that the result were a list of buttons.. showing like this
    This was supposed to be the output of the query that i need to do..
    Please help me.. i just need a idea or tips how to make this one.

    Here is code I posted recently for another question
    Public Class Form1
    Const BUTTON_SIZE As Integer = 20
    Const SPACE As Integer = 5
    Sub New()
    ' This call is required by the Windows Form Designer.
    InitializeComponent()
    ' Add any initialization after the InitializeComponent() call.
    Dim buttons As New List(Of List(Of MyRadioButton))
    For row = 1 To 6
    Dim newRow As New List(Of MyRadioButton)
    buttons.Add(newRow)
    For col = 1 To 6
    Dim button As New MyRadioButton()
    button.row = row
    button.col = col
    button.Height = BUTTON_SIZE
    button.Width = BUTTON_SIZE
    button.Left = col * (BUTTON_SIZE + SPACE)
    button.Top = row * (BUTTON_SIZE + SPACE)
    button.Name = String.Format("radGr1{0}_{1}", row.ToString(), col.ToString())
    Me.Controls.Add(button)
    newRow.Add(button)
    AddHandler button.CheckedChanged, AddressOf Radio_Change
    Next col
    Next row
    End Sub
    Private Sub Radio_Change(ByVal sender As Object, ByVal e As System.EventArgs)
    Dim button As MyRadioButton = CType(sender, MyRadioButton)
    Dim row As Integer = button.row
    Dim col As Integer = button.col
    End Sub
    End Class
    Public Class MyRadioButton
    Inherits RadioButton
    Public row As Integer
    Public col As Integer
    End Class
    jdweng

  • How to build a query based on(UNION) 3 vendor InfoObject

    Dear Experts:
    I have a requirement to build one query based on 3 vendor InfoObjct: 0VENDOR + 0VEN_COMPC + 0VEN_PURORG.
    I tried to build a multiprovider upon these 3 infoobjects, but when I Identify(Assign) the key for each InfoObject, supposely there should be 3 InfoObject for me to check (0VENDOR, 0VEN_COMPC and 0VEN_PURORG) so that I can UNION these 3 infoobjects together on vendor number. But since the reference infoobject of these 3 vendor master data is different, I can not check the 3 together.
    Can anybody let me know how to build that query? I only need vendor number show once, and the attributes of 0VEN_COMPC and 0VEN_PURORG can be union to 0vENDOR.
    Any post would be appreciated and thank you all in advance!
    Best Regards!
    Tim

    Hi,
    you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
    regards
    Siggi

  • How to increase performanceof query based on Infoset?

    How to increase the performance of a query based on a Infoset?
    As per designing of query, all the necessary fields are placed where they are required.

    Hi  Akshara ,
    To improve performanceof query try to remove unnecessary characteristics, attributes, or key figures ,Superfluous conditions or variables .Large InfoCubes and Complex hierarchies .Variables populated by user exits
    For characteristics specify either variables or restrictions .
    You can create indexes on DSO and Aggregates on cubes (if any).
    Please go through the links :
    http://help.sap.com/saphelp_crm40/helpdata/en/77/4a213cc534f20ae10000000a11402f/content.htm
    Re: Performance of query built on infoset
    Query performance issue - Infoset query
    Hope you will find this helpful.
    Regards,
    Jaya

  • How to Broadcast Control Query based on User Exit Variable

    Hi Gurus,
    How to Broadcast dashboard based on Control Query based on User Exit
    Variable to different users via mail in BW 3.5 version. Any document or
    steps to achieve this will be very helpful.
    Regards
    Vishwanath

    Hi Surendra,
    Thanks for the reply and your suggestion. It will be great if you can help me to answer the below:
    1) What exactly we mean by Control Query - Any example will be very helpful
    2) As you mentioned, yes the user exist to be written will be for user-exit variable for dynamic period selection - An Example on how to create this will be helpful
    3) Once the above variable is created, what are the steps to include this variable in the Bex Query?
    4) Once all the queries to be used in dashboard are implemented with the exit variable, how to create a variant to be used in Broadcasting?
    5) How and where to configure the email recipients (to whom this dashboard will be sent via mail)?
    6) How to set up the BW broadcaster in BW 3.5 using the control query ?( My question is though we have to send the dashboard to the users, which has multiple queries, how a single control query with variant will help us).
    Awaiting your reply.
    Thanks and Regards
    Vishwanath

  • How to modify standerd query in sap...(/SAPQUERY/AM07)

    hi all,
    i am having one abap standard query, i have to modify that one and i have to include another colum which needs the requirment.
    07 Depreciation /SAPQUERY/AM07 ADA FIAA - DEPRECIATION
    the above i mentioned is the query, how ever i tryed this standared to copy but i am not able to connect infoset and all stuff.
    pls guide me how to insert additional colum in that standard report or query.
    pls guide me
    thanks and regards,
    sai

    Hello Srini,
    First of all first identify the actual Exit name .
    Now go to Exit and enter the
    Loop at screen.
      If your conidition satisfies.
        screen-input = ' ' .
        modify screen.
      Endif.
    Endloop.
    Thanks,
    Chidanand

  • How to Update in InDesign based on New XMLElements

    Hi Pals,
    I have InDesign File consist of contents which is based on an XML Hierarchy. And i have a new XML which is having some new XMLElements inserted in the Existing Hierarchy. The new added Elemensts are having same tag name.
    eg:
    InDesign Document XML Structure
    Root
    -<document>
      -<head>
      -<body>
      -<text1>
      -<text2>
      -<text3>
    New XML Structure
    Root
    -<document>
      -<head>
      -<body>
      -<text1>
      -<New>
      -<text2>
      -<New>
      -<text3>
    How to update the new elements in existing InDesign document in Exact place? Expecting favorable reply. Thanks in Advance.
    Regards,
    Subha

    i created below function but it did not update values properly
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    $webURL = "http://tspmcwfe:91" $listName = "Courts"
    Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    $list = $web.Lists[$listName] $items = $list.items
    $internal_counter = 1 $flagPID =1 $vPID=0
    Go through all items
    foreach($item in $items)
    $vPID=0
    $PID = $item["ParentID"] -not $null $Pno = $item["Processno"] -match $null $between = $item["ParentID"] -match $vPID
    if($PID -eq $true -and $Pno -eq $true)
    if($between -eq $true) {
    $item["ProcessNo"] = $internal_counter $vPID=$item["ParentID"] } else { $item["ProcessNo"] = $internal_counter
    $vPID=$item["ParentID"] }
    $internal_counter++
    $item.Update()
    $web.Dispose()
    adil

  • How to create collection (query) based on report results?

    Hello everyone,
    I have the following report;
    I would like to create a collection based on the "Non Compliant" and the "Unable to find compatible TPM" so I can re-deploy with right-click tools.
    If the above is NOT the solution to create a group for redeployment. How would I address this?
    Thank you in advance for any help.

    Unfortunately, there is no straight-forward answer here. ConfigMgr console queries use WQL and only have visibility to a subset of the complete information in the database. Most things you are probably interested in creating queries from are probably visible,
    but that's not guaranteed. Additionally, they are named slightly differently also so it really just takes some trial and error and personal investigation to see what is there and what isn't. The place to start is to open the root\sms\site_<sitecode>namespace
    on the system hosting the SMS provider. The public reference for most of the classes is at
    http://msdn.microsoft.com/en-us/library/hh948405.aspx . These all directly map to data in the database but as mentioned, not all views in the DB have a corresponding WMI class.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • How to sum the revenue based on new dimensional attribue?

    Experts,
    I have a requirement in which I want to report the monthly revenue based on a new attribue named cusotmer group.
    My existing customer dim hierarchy is something like this..
    customer_id -> customer_family -> Customer Segment -> Total Customer [No customer group]
    Now I introduce a new attribute customer group which has no relationship with the existing customer attributes or hierarchy. For example, a customer group, CG1 may correspond to any customer_id, customer_family and customer_segment. Now I want to report my revenue for every month based on the new customer group.
    NOTE : My customer dimension is very small (only 200 records) and we have added the customer group attribue column in the existing customer phyical table on database. We have around 12 distinct customer groups.
    Thanks for your help in advance

    Hi,
    Create alias column and place it in as a month level LBM and give the join between new attribute and fact .Now generate the report with revenue_alias and customer group.May you will the perfect results..
    mark if helpful/correct.....
    thanks,
    prassu

  • How to Modify Search URL's in Forums?

    OK, this has been plaguing me for a while now, but had time on my hands, so will ask for some assistance from the forum gurus here.
    Problem:
    I use the Forum Search (yeah, I know that the name could be better... ), to locate many articles to link to. In most cases, I know the exact Search keyword to use, but I then have an issue - the URL provided for the article is almost always pointing way down a long thread. That can be useful sometimes, but I want to get the URL for the beginning of those threads, to make it easier for others (especially new users) to get the thread from the beginning, and not at the end, or even the middle. Even when the Search keyword is in the title, and also in the OP, the Adobe Forum Search always dumps me at the end of the thread, or at best, the middle - never at the beginning.
    Here is an example:
    Search in Premiere Elements Tips & Tricks Forum for keyword "resources." I get http://forums.adobe.com/message/3953827#3953827, which is about the middle of that thread. The word "Resources" is used in the title, and also the OP (mine), but I do not get it, until down the thread. The Search function seems to overlook the first several uses of the word, and I get the URL for the Re:. This is the URL that I want: http://forums.adobe.com/thread/800455?tstart=0.
    What do I need to do, to get that ____start=0 ?
    Appreciated,
    Hunt

    Bill,
    Actually, it is sometimes possible to get to the thread URL in another way, but I am afraid it is no less silly.
    1) Make the search (Ask the Question) and get to wherever in the thread;
    2) Go to the top (if needed) and Click [the OP], then click [the OP]'s Stuff and see whether the thread is still in the list without Re: at the start.
    That will give the thread URL (without the ?tstart=0, though), as in this case http://forums.adobe.com/thread/1405227, which is viable in itself; you may add the ?tstart=0.
    I just made it before it went off the list.

  • How to Modify this Query to make it loop through Certain defined intervals

    hI ALL,
    I have a TABLE1 with one Column as ColumnA which will always have values either Value1,Value2,Value3.
    TABLE1:
    ColumnA CreationDateandTime
    Value1 8:56
    Value1 8:51
    Value3 8:49
    Value1 8:47
    Value2 8:45
    Value3 8:30
    I am using the below query to retrieve the count of how many Value1's,Value2's and Value3's exist in the ColumnA for the Given point of Time by using a 'where' condition to get the count between specified Time.
    SELECT
    COUNT (case when A.ColumnA ='Value1' THEN 0 ELSE NULL END) Value1,
    COUNT (case when A.ColumnA ='Value2' THEN 0 ELSE NULL END) Value2,
    COUNT (case when A.ColumnA ='Value3' THEN 0 ELSE NULL END) Value3
    from TABLE1 A
    WHERE A.CASECREATIONDATEANDTIME
    between '19-JUL-2006 8:00:00 pM' and '19-JUL-2006 9:00:00 PM' .
    Result::
    Value1 value2 Value3
    3 2 1
    Right now i am Manually changing the TimeLimits for every 1hour to find the Count of Values at that particular perioud of Time, I would like to know how can i Loop it so that I will get it for every one hour and also i want to Add a Dummy Column before the Value1 as my First Column which should show me the Lower Time Limit....
    Expected Result should be some thing like this..(for some imaginary existance of values for the ColumnA Field)
    LowerTimeLimit Value1 value2 Value3
    8:00P.M 3 2 1
    9:00 P.M 1 4 5
    10:00P.M 0 0 0 (Since the Time is only 9:30 by now)
    NOte;; It should not go into an Infinite Loop as i would be risking My job.
    Thanks in Advance,
    vJ

    Certain Time Limit say 4:00PM . How do i restrict that...
    Hope this will help you....
    SQL> select * from tbl;
    V          DT
    value1     8:41 AM
    value1     8:45 AM
    value2     8:46 AM
    value1     8:46 AM
    value2     8:49 AM
    value2     8:50 AM
    value3     8:50 AM
    value3     9:05 AM
    value1     9:35 AM
    value3     9:45 AM
    value2     10:33 AM
    value2     9:33 AM
    value3     10:45 AM
    value1     01:01 PM
    value1     01:15 PM
    value2     01:59 PM
    value3     04:12 PM
    value1     04:52 PM
    18 rows selected.
    SQL> select to_char(trunc(to_Date(dt,'HH:MI AM'),'HH')+interval '1' hour,
      2  'HH:MI AM') Hours,
      3  sum(decode(v,'value1',1,0)) value1,
      4  sum(decode(v,'value2',1,0)) value2,
      5  sum(decode(v,'value3',1,0)) value3 from tbl
      6  where to_char(to_date(dt,'HH:MI AM'),'HH24')<16
      7  group by to_char(trunc(to_Date(dt,'HH:MI AM'),'HH')+
      8  interval '1' hour,'HH:MI AM')
      9  /
    HOURS     VALUE1  VALUE2  VALUE3
    02:00 PM          2       1       0
    09:00 AM          3       3       1
    10:00 AM          1       1       2
    11:00 AM          0       1       1
    "though hours are not sorted..."

Maybe you are looking for

  • Cutom.xss Not working in R12

    Hi , I have done some color change on a table column based on certain condition. which is working fine in 11i instance but when i have migrated the same in R12 it is not working. Code in (PR) : OALinkBean bean1 = (OALinkBean)webBean.findChildRecursiv

  • /library/receipts ?

    I noticed a ton of .pkg files.... are these necessary? can i safely delete them? on the same note, are there any programs out there that can help delete unnecessary files/folders on my system?

  • Error DIsp+work process stoped

    Dear All, While i m starting my ecc6.0 server there is the message the disp+work process stoped . what would be the problem please . how to trubleshoot when disp+work process has been stoped . deepak

  • Line Item Validation

    ESO Experts, I have this particular requirement to make the location field as blank during Add Line Item (not during Add Material). I have already tried following logic on: Collection validation - Target - LINE ITEMS Validation Life cycle - Target Va

  • Building for iOS: how to load other SWFs?

    I have an AS3 app that loads two different kinds of SWFs: linear animations (basically stories consisting of a streaming narration track and still images with pans and dissolves), and SWF games of various types.   I know that CS5.5 can compile to iOS