Query to show applications with administrative category value

I'm trying to write a SQL query that will show applications that have a certain Administrative Category selected then show me the AppName and Deployment Collection......I'm struggling on where to start with tables or views and which ones.  I'm vaguely
familiar with SQL queries but not an expert by any means.

Hi,
You may also check the following SQL views. This should be helpful.
http://technet.microsoft.com/en-us/library/dn581963.aspx
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Open application with administrative privilege

    Can anyone point me to resources on how to execute a command in Java to open an application with administrative privileges - similar to the windows runas command - but will accept the login and password in the command?

    First figure out how to do it at the command line (it's beyond me). Then use Runtime.exec() to run the command. You'll have to use the Process's output stream to respond to the password prompt, and it's possible that might not work if Windows isn't prompting on stdin.

  • SQL query to show "starts with" rather than "is like"

    Hi friends,
    I've written a query to show all BPs we have sold to in a particular Zip Code region. I have used WHERE T1.[ZipCode] like '%[%0]%'  but this brings up everyone where the zip code contains the phrase:
    I want to search for Zip Codes starting "BT" it will bring in post codes like MK41 9BT.
    How can I tell the report to bring in BPs where the Zip Code starts with "BT"
    Thank you

    Hi Tim,
    Try this option also ,
    WHERE left(T0.[e_mail],2)  like '[%0]%%'
    OR
    WHERE left(T0.[e_mail],2)  =  '[%0]'

  • Show dates with no corresponding values

    Howdy all....
    I have a report that quantifies newspaper draws by the day of the week for the purpose of giving to the delivery persons. I am trying to use a cross-tab to show the amount of papers for each location, in columns by the day of week. When a location is closed on a particular day (having a null entry in the draw record), there is simply no record for that day, leading to a situation where as one looks down the column in the cross tab table, one is not necessarily looking at the same day's data in the column. For instance, if Sunday is the first day of the sales week, I would like Sunday to be the entire first column, irrespective of the amount allocated to that location, so that the entire column sums to be the total for that date rather than for the first day that the location has papers assigned to it. Every location would have a value for all seven days, regardless of the number of days with draws assigned.
    Hope that make sense. I'm certain that it's something that should be apparent to me, but it just isn't. Any help is greatly appreciated!
    Edited by: MicahY on May 3, 2011 4:47 PM

    YOu will need to build a manual cross tab where you have formula to define your columns.
    eg
    @sunday
    if dayofweek(yourdatefield) = 1 then valuefield else 0
    repeat for each day. add these to details and suppress detail section
    Add sum summary to your relevant group.
    Now you will get a column for each day irresepective as to whether there is data or not.
    Ian

  • Table: Only show XML with a certain value?

    I am building a table from an xml file and it is working great if I ask it to show every node.
    But I only want the row to be added if it matches a particular value in the xml.
    For example my xml has values for name, rating and enrollment.
    So something like...
    if ({@rating}=="acceptable"){
                   <tr spry:repeat="ds1" >
                           <td width="300">{@name}</td>
                           <td width="150">{@rating}</td>
                           <td width="150">{@enrollment}</td>
                   </tr>
    Any suggestions would be appreciated.
    Thanks.

    Set setXPath is probably the best way to go. See here http://labs.adobe.com/technologies/spry/samples/data_region/SetURL.html#

  • Show rows with empty values

    Hello,
    We are creating a cross tab report, with products as the columns, and relationship managers with direct and shared revenue displayed across the rows.
    For Eg
    Relationship Manager    Coverage         Product1   Product2   Product3   Product4
    Bob                                Direct                 100,           0,               35,            50
                                          Shared                0,              0,               15,            0
    Alex                               Direct                  15,            25,             40,            10
                                          Shared                5,              0,               5,               0
    George                          Direct                  0,               0,              0,               30
                                          Shared                0,               0,              0,               5
    The problem lies when either one of the products has no values, or one of the relationship managers has no direct or shared revenues. If one of the products has no revenues, it disappears, and also when one of the RMs has no direct or shared revenues, the Direct or Shared row disappears.
    I have tried to create a second query just included the Coverage variable, and using this variable in Query 2 with the RM variable from query 1, along with checking the "Show Rows with Empty Measure values", "Show Rows with Empty Dimension Values" and "Show when empty", but it still does not appear to work.
    It only shows rows with values in them, and shows the rows with empty values at the end with no RM.
    I have not tried to solve for empty columns yet.
    Help with this would be much appreciated!!!!!!!!
    Thank you

    Hi ,
    I think you can resolve this issue following ways ,
    you need create another query  ( Ex :Qauery2 ) add Product object and RM (Direct,shared) object only without  conation. So now query2 result wil have all product and RM(Direct,shared).
    Merge the Product object and RM  between query1 and query2
    Now create table using Product and RM from query2 and measure value from query1.  Now you will get row even there is no data.
    If you want try this sample report using efasion unvierse.
    1) Add year ,state and Discount objects  and apply condition Year Not in list "2004"  and state Not in list "California "
    2) run this query and create the cross tab table . Now you will not get 2004 column  and California row in table.
    3) Create query2 add Year and State only without any condition , run the query. Now query 2 will display all state and year .
    4) Merge the column Year and State between query1 and query2
    4) Create the cross table ussing Year and state from query2 and Discount from Query1
    Now cross table will show 2004 and California ,even there is not in query 1.
    I hope this will help you.
    Ponnarasu
    Edited by: ponnarasuk on Dec 7, 2011 12:48 PM

  • Application Server Administration Service Timer Job stuck at Initialized 0% . Config Cache clear doesnt Help.MOSS2007

    Hi All,
    One of my WFE/Query server for MOSS is showing Application Server Administration Service Timer Job  stuck at Initialized  0% in CA timer Job status. 
    In timer Job Status in CA under the SSP Job Control service I find the Application Server Administration Service Timer Job  struck at 0%
    I have tried Clearing config cache of the Farm . I have tried disconnecting this server from Farm and reconnecting it with Psconfig UI, I have tried running Psconfig.exe on the affected server. But even after doing this service is stuck at 0%
    If I exit the OWSTimer.exe from task manager, it shows aborted at 0% . I am using a single SSP and reconfiguring SSP is not an option right now.
    Any help regarding it will be greatly appreciated.
    Regards,
    Rohit

    Hello,
    Have you changed the password recently? Also try to restart the windows timer service on all server.
    You might also want to check these threads:
    http://sharepoint.stackexchange.com/questions/44073/why-timer-job-stucks-at-initialized-status
    http://social.msdn.microsoft.com/Forums/en-US/d238cc1c-5c41-4762-9878-020cb36679c3/wss-30-workflow-timer-job-status-stuck-at-initialized-0
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/7d932581-91a9-41f2-8848-95f8a72ba19b/timer-job-initialized-0?forum=sharepointadminlegacy
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Can I build a query to show monthly sales by item by business partner?

    Hi all
    Is it possible to build a query to show monthly sales (quantity not value) by item by business partner?
    So the table would look something like this.
                   Jan     Feb     Mar     Apr
    Item 1      10       4         8         7
    Item 2      4         3         5         6
    Item 3      4        12        9         3
    Item 4      1         0         1         2
    Etc...
    As you can see, the monthly figure needs to be quantity of the item and not sales value.
    Would be grateful for any help.
    Many thanks.
    Wendy

    Hi,
    Try this:
    declare @code as varchar(15)
    set @code = ( select max(ta.cardcode) from OINV ta where ta.cardcode = [%0])
    Select [a] as Cardcode, [B] as Cardname, [c] as Item#, [D] as Descr,[1] as Jan,[2] as Feb,[3]as Mar,[4] as April,[5] as May,[6] as June,[7] as July ,[8] as Aug,[9] as Sept,[10] as Oct ,[11]as Nov,[12] as Dec
    from(
    SELECT T0.[CardCode] as  A , T0.[CardName] as  B, T1.[ItemCode] as C, T1.[Dscription] as D, sum(T1.[Quantity]) as t,month(T0.[DocDate]) as month FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE year( T0.[DocDate]) = 2014 and t0.cardcode = @code GROUP BY T0.[CardCode], T0.[CardName], T1.[ItemCode], T1.[Dscription],T0.[DocDate] ) S
    pivot
    (sum(t) for month IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    Thanks & Regards,
    Nagarajan

  • Invoke VC application with URL-rewriting

    Hi Guru's,
    is that possible, visual composer application with an initial value in form of URL-rewriting to start, for example:
    http://localhost:50100/webdynpro/dispatcher/sap.com/test~helloworld/testVC?id=11234324
    can the value of "id" be taken as an "input" and passed to the VC application that has to be invoked?
    thx
    hao

    Hi,
    You want to pass the Values to VC Application using Url right?
    if yes blog is soln.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2090414b-cd20-2a10-d594-8de9d146044a]
    Regards,
    Govindu

  • SQL query to list the "Administrative category" field for all applications

    yesterday i started a thread to list the "Optional reference" field for all cm applications in a SSRS report. I've got the query with the help of Torsten.
    https://social.technet.microsoft.com/Forums/en-US/00419e6e-e3c2-4b80-b6af-2a24ced1032d/sql-query-to-list-the-optional-reference-field-of-all-packages-in-cm-2012?forum=configmanagersdk
    But again today, i'm looking for a way to get "Administrative category" field in a SSRS report. Could someone point me to the right direction ?
    Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin

    Hi,
    You could monitor the SMSProv.log when you check the category of an application. It shows that SQL query the SCCM provider used is related to function fn_ListCategoryInstances.
    Best Regards,
    Joyce

  • To show the data from BI query in bar graph with thousand separator

    Hello Experts,
       I am using Visual composer 7.0.I have designed an application where i have user BI query to show data as a bar graph.I have roundoff the data to 2 places of decimal an i have to show the data with thosand separator as well.
    i am using the formula
    NVAL(NSTR(@Actual_value,"C.2"))
    Where @Actual_value is a value which comes from BI queryand is to be displayed as a bar graph.
    Points will be awarded for reply.
    Thanks ,
    Rakesh

    Hi Rakesh,
    I have found some links which may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/38/2d9b732beb4c68bba2962602a7d6bd/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/26/64fb472a144a0dbaf88f5ec75d9270/content.htm
    http://oregonstate.edu/dept/computing/warehouse/PDF/8-reports.pdf

  • Trouble hiding / showing element with DA based on results of query

    Hi all,
    I have a field that I would like to valid either on keypress or lose focus. What I need to do is query a table with the value entered to determine if it exists. If it does, I want to show a little green checkmark, if not a red 'x'. I figure that I can use getElementById() to hide or show the image, but I can't seem to figure out how to do that based on the result of the query.
    I've tried this so far:
    DA
    event: lose focus
    type: item
    item: P3_PO_REF_NUMBER
    condition: not null
    true action: execute pl/sql code
    code:
    BEGIN
    declare
    l_exists number;
    begin
      select count(*) into l_exists
      from PO_LINE
      where BUSINESS_UNIT = 'METRO' and
        (PO_ID = to_char(:P3_PO_REF_NUMBER,'FM000000000') or PO_ID = 'S'||:P3_PO_REF_NUMBER);
      if l_exists > 0 then
        apex_util.set_session_state('P3_VALID', 'VALID');
      else
        apex_util.set_session_state('P3_VALID', 'NOT_VALUE');
      end if;
    end;
    END;page items to submit: P3_PO_REF_NUMBER
    page items to return: P3_VALID
    Eventually I thought that I'd create another hide/show DA based on the value of P3_VALID, but before I went much further, I wanted to check to see how this worked. It didn't. Error: exception thrown and not caught.
    Any thoughts as to what I'm missing, or am I doing this completely wrong?
    Thanks,
    Joe

    Ok, just for closure. I did get this working.
    I ended up deleting the original P3_PO_REF_NUMBER item and recreated it, and everything began to work. As I was doing this, I noticed that it seemed like things would begin to go awry when I changed the item's name, even if I changed it back again. It was almost as if there was an associated between the DA that became corrupted once the item name was changed. If I took the item out of the page items to submit field, no error. Of course the DA wouldn't fire correctly then either because it wasn't getting any value changes, but when I added the item back into the page items to submit field, I go an error.
    So:
    When I created the second PO_REF_NUMBER item, I did not delete the original first, so the new one of course had to be named differently. Then I modified the DA to use the new item name (PO_REF_NUM). It worked! Cool. So, no wanting to get rid of the original yet, I rename it, and then renamed the second one to what the original was (I have other code using that item name). Then I changed the DA again...but now it failed - unless I blanked out the page items to submit field...
    3rd time is a charm. So, this time, I made sure that no items were named "PO_REF_NUMBER", then I created the PO_REF_NUMBER again, naming it exactly as I needed it to be so I wouldn't have to change it later. Then I set out to tweak the field (size, etc), but did not touch the name. Now my DA is working nicely! It sets a hidden field's value, then another DA shows or hides an icon based on that hidden field's.
    Hopefully someone will find this useful,
    Joe

  • How to develop this report/Query that selects records with MAX Value

    Hi,
    My requirment is to develop a report to show all emp whose policy is going to expire ith in the user selected date intreval...
    Emp_ID--App_Date-Policy_Strt_Date--Policy_End_Date--App_Status
    101.01.2007---BlankBlank--
    NEW   (New application for a Medical Insurance policy raised for employee)
    101.01.2007---01.02.200730.05.2007--
    COMPLETE (policy issued for emp with strt & end dates)
    115.05.2007---01.02.200730.05.2007--
    RENEWAL  (a application is raised to renew emp policy)
    115.05.2007---01.06.200731.12.2007--
    COMPLETE  (policy issued for emp with strt & end dates)
    115.12.2007---01.06.200731.12.2007--
    RENEWAL  (a application is raised to renew emp policy)
    115.12.2007---01.01.200831.05.2008--
    COMPLETE  (policy issued for emp with strt & end dates)
    115.05.2008---01.01.200831.05.2008--
    RENEWAL  (a application is raised to renew emp policy)
    115.05.2008---01.06.200831.05.2009--
    COMPLETE  (a application is raised to renew emp policy)
    So EMP 1 got valid policy untill 31.05.2009.
    When a user executes a query to show all employees whose policy expiry date intreval (01.05.2008 to 31.05.2008)
    it shouldn't show Emp 1 as he got  valid policy untill 31.05.2009  but currently it is showing Emp 1....
    How can i achieve this
    Thanks

    Hi
    Thanks for the update
    I created variable on Plc End end
    If user enter show all emps whose policy is expiring in MAY (01.05.2008---31.05.2008) it is displaying EMp 1 as well but emp 1 has a policy which expires in 2009
    Thanks

  • Creation of a Query to show the values for the current month and the last 12 months data.

    Dear All,
    Good day!
    I have to create a Query with the below requirement.
    I have to create a Query to show the values for the current month and the last 12 months data.
    Can you please guide me how to achieve this ??
    thank you,
    Regards,
    Hema

    Hema
    explain the exact problem..? as you mentioned you want to create query to show values for current month and last 12 months.. so I think you want to show values for 12 months from current data.. you can achive this by multiple way..
    you can have selection screen and field with date .. and restrict based on system current date and 12 months before or you can handle this at your target.. .. I mean there are multiple ways to restrict data by date range..
    for some more hints..
    http://www.forumtopics.com/busobj/viewtopic.php?t=34393&sid=7fba465d0463bf7ff5ec46c128754ed6
    http://businessintelligence.ittoolbox.com/groups/technical-functional/cognos8-l/how-to-display-last-12-months-in-report-based-on-todays-date-3231850
    http://scn.sap.com/thread/3217381
    search on SDN you will get many other ways..
    Thanks,
    Bhupesh

  • Calling a BSP application with MVC and send one start value

    Hi,
    I developed a BSP application with BSP. The application has a start page with one input field. The user gives a number and click the send button. The controller creates the modeler and gives the userinput as start parameter for the data search. After the data are read/found, the controller calls a view to show the data.
    This is very easy and does work.
    I have to call this simply application from another one: the caller application sends the start value.
    I don't know, if is better to send the start value in the URL or not. I tried it, but the controller cannot read it.
    How can I call the controller with a start value?
    Thank you!
    Bye
    Patrizia

    Hi ,
    what you need to do is
    1) for the "Send" button attach a java script.
    <htmlb:button id="myButton" text="Submit ...." onClick="sendRequestWrapper()"/>
    this javascript should take the inputfrom the field,
    then in the javascript create the URL.
    function sendReqeustWrapper(){
    sendRequest(InputField);
    function sendRequest(InputField)
    var URL;
    URL  = window.location.protocol + "//" ;
    URL += window.location.host ;
    <b>Note: its only Example link,</b>
    URL += "/sap/bc/bsp/sap/<BSPApplication>/controller.do";
    URL +="?InputFieldName=";
    URL +=InputFieldValue;
    <b>then use</b>
    Your URL will look like:
    http://ld0507.wdf.sap.corp:50007/sap/bc/bsp/sap/<bsp appl>/controller.do?InputFieldName=XXXXX
    window.open(URL,"_self","");
    so once this URL is triggered  you need to goto the respective controller and handle the input. You can see the reply from Mr. Akshaya Rao .
    regards,
    Vijaya Kumar M.
    Message was edited by: Vijaya Kumar

Maybe you are looking for

  • Linking wireless network through airport extreme to sound and video

    I wish to use mac mini and/or macbook pro to link hd lcd tv and stereo amplifier (home theatre) system. Not sure how to proceed. Have basic components and want to do it right the first time.

  • BUG?  Music Player in iTunes is broken after update to 10.5

    I updated to iTunes 10.5.0.142 so that I could load the new ios on my iPad.  My music player worked flawlessly prior to the update, but now every single song in my library plays distorted.  Most songs are mp3's that I've ripped myself so I can play t

  • Opening old Word files

    I have copied from diskettes some old Word files that show on my Mac as being Word files (the icon has the blue 'a' in the middle, and the have the .doc suffix), and if I click on 'Get Info' it says they are Word files, but I can't open them. If I cl

  • Problem starting managed server.

    Hi, I have my weblogic server running on UNIX server which has 2 users (UserA and UserB). The Admin server has been started with UserA and the nodemanager with UserB. I have 3 clusters with 2 managed servers each configured in my server. When i start

  • Steaming video is distorted

    Recently my video playback has been distorted. When playing Youtube videos for example, there is a line splitting the picture when there is fast action being played. However, any video that has been saved to the disk doesn't show this interference. a