Report on clients based on boundary

Hi,
I am trying to put together a report that will list the location based off of the boundary. We need this in order to charge back the remote branches in the company for licensing costs. I'm actually a bit surprised the canned reports don't already include
this field in all reports.
Almost all of the remote locations are setup to use IP Subnet as a boundary. IP ranges are used for the locations where we have multiple network VLANs for servers however.
I have successfully created a report that will achieve this goal using the following query:
Select distinct
       v_R_System.Netbios_Name0 AS [Computer Name],
       v_BoundaryInfo.DisplayName AS [Location]
FROM   v_R_System
        left join v_RA_System_IPSubnets ON v_R_System.ResourceID = v_RA_System_IPSubnets.ResourceID
        left join v_BoundaryInfo ON v_RA_System_IPSubnets.IP_Subnets0 = v_BoundaryInfo.Value
The main problem with this is that it doesn't work 100% of the time because sometimes the value for v_RA_System_IPSubnets.IP_Subnets0 is missing in the database. When the value is missing from the database it simply shows nothing in the location field for
the computer.
Another issue is this query doesn't include the boundaries that use IP address ranges. This results in showing nothing in the location field for those computers.
My thought of trying to fix the ones that don't have a v_RA_System_IPSubnets.IP_Subnets0 value in the database was to try and use the IP address obtained via hardware inventory (v_GS_NETWORK_ADAPTER_CONFIGUR.IPAddress0) to match against the boundary. The
problem here is I don't know what to use in the query to match only the first 3 octets of the IP address to the boundary address. And, is it possible to include both this IP Address look up along with the look up against the v_RA_System_IPSubnets.IP_Subnets0
value? And, is it possible to include another look up, in this same query, for the IP address ranges?
Please let me know if I need to explain this better for clarity. This was the best way I could think to describe what I'm trying to do and my thoughts on how I think it could be fixed.
Paul

In the query I provided in the original post I'm matching the value in v_RA_System_IPSubnets.IP_Subnets0 to the value in v_BoundaryInfo.Value, then showing the value from v_BoundaryInfo.DisplayName in the output of the report. That works for those that have
a boundary entry using an IP Subnet.
Here's some sample output from my query to show as an example. As you can see, some have NULL showing for the location. Those are the ones that are missing the v_RA_System_IPSubnets.IP_Subnets0 value in the database or have an IP subnet that is defined using
an IP address range instead of IP subnet for the boundary:
Computer Name    Location
WS-3DRSW             Branch - FL_Orlando
WS-DGEWS             Branch - CA_Ontario
WS-HWAXE3            NULL
WS-D6FW2E            Branch - OK_Tulsa
WS-3HWBSW           NULL
*The computer names listed here are fake but they do follow our naming convention throughout the company!
Naming conventions aren't by site so that wouldn't work.
I'm not trying to statically define each IP address in the report as you are suggesting because that would be too hard to upkeep/manage. Especially if I had multiple reports!
I had thought about the AD sites as being my only other option right after I posted this. We don't have domain controller at very many of our remote locations so we don't have them setup as sites in AD. I'm thinking though that I might have to go ahead and
do that, even though they don't have domain controllers at each location.
Paul

Similar Messages

  • How to print report on client default printer ?

    I develop web application. I use jdev 10.1.3.4.0 . I can print report in PDF format.
    My Problem
    I can't print report on client default printer. when Client run application and print. Report is printed at server default printer
    How can I do.
    _My source code for print to PDF format._
    FacesContext context = FacesContext.getCurrentInstance();
    response = (HttpServletResponse)context.getExternalContext().getResponse();
    String urlSchema = "jdbc:oracle:thin:@localhost:1521:ORCL";
    String schemaName = "hr";
    String schemaPass = "hr;
    reportPath = "D:\\Project\\Reports";
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection(urlSchema, schemaName, schemaPass);
    reportPath = reportPath.endsWith("\\") ? reportPath : (reportPath + "\\");
    input = new File(reportPath + reportName + ".jasper");
    reportParameters.put("SUBREPORT_DIR", reportPath);
    reportParameters.put("P_IMAGE_PATH", reportPath);
    jasperPrint = JasperFillManager.fillReport(input.getPath(), reportParameters, conn);
    response.setContentType("application/pdf");
    response.addHeader("Content-Disposition", "attachment;filename=" + reportNameOutput + ".pdf");
    OutputStream outputStream = response.getOutputStream();
    JasperExportManager.exportReportToPdfStream(jasperPrint, outputStream);
    outputStream.flush();
    outputStream.close();
    conn.close();{code}
    _My source code for print to *printer*._
    {code}FacesContext context = FacesContext.getCurrentInstance();
    response = (HttpServletResponse)context.getExternalContext().getResponse();
    String urlSchema = "jdbc:oracle:thin:@localhost:1521:ORCL";
    String schemaName = "hr";
    String schemaPass = "hr;
    reportPath = "D:\\Project\\Reports";
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection(urlSchema, schemaName, schemaPass);
    reportPath = reportPath.endsWith("\\") ? reportPath : (reportPath + "\\");
    input = new File(reportPath + reportName + ".jasper");
    reportParameters.put("SUBREPORT_DIR", reportPath);
    reportParameters.put("P_IMAGE_PATH", reportPath);
    jasperPrint = JasperFillManager.fillReport(input.getPath(), reportParameters, conn);
    JasperPrintManager.printReport(jasperPrint, false);
    conn.close();Edited by: jaae251 on Jun 18, 2009 2:29 AM

    If you offer a PDF to the end user, they usually know what to do with it. OTOH, if you wish to provide software to facilitate the local printing, you might launch an application on the client side that accesses the JNLP API's PrintService - that can be done in a sandboxed application.
    A signed application might access the normal J2SE based print services. Though I heard that Sun had decided to make printing a 'prompt on first attempt' deal - even for sandboxed apps., from 1.5 plus (or was it 1.6 plus?).
    It would be a serious security bug if a web site could print on the client printer, without trust or active involvement from the end user.

  • Realize a J2ME reporting thin client (for PDA) with XML for Analysis

    I'd create a reporting thin client (on PDA or smartphone) that uses the web service XMLA. How I can implement it? Can I use J2ME ?
    Can i have more informations ??

    I haven't tried generating stubs from WTK, but you could also try to access your WS by programming it. One of the solutions available for most of J2ME devices (MIDP/CLDC) is kSOAP (<a href="http://www.ksoap.org">www.ksoap.org</a>). I've tested it with Apache Axis and .NET-based WS servers - it works just fine, so I assume it should be working with SAP as well. This two articles might be valuable for you:
    http://www.javaworld.com/javaworld/jw-08-2002/jw-0823-wireless.html
    http://java.sys-con.com/read/37193.htm?CFID=671691&CFTOKEN=A29B9B9F-EE05-1072-E2866AEB2CFB4A79

  • Excel output of report on client machine

    excel output report on client machine
    hello
    i am running report from app server, output is excel file...
    using following URL
    web.show_document(rpt_url ||'&report='||rpt_path||'batch_idcards_print_excel.rdf&desformat=spreadsheet&destype=file&desname=c:\batch.xls','_blank');
    ----this stores the excel file at app server under c:\
    now i want to save it on client machine... how can i do that ?
    from one forum, i got help , so i changed URL as below
    web.show_document(rpt_url ||'&report='||rpt_path||'batch_idcards_print_excel.rdf&desformat=spreadsheet&mimetype=application/msexcel&destype=FILE&title=batch.xls','_blank');
    when i open report, no window opens for saving file...a new window opens and gets closed itself immediately...
    wht is the problem?... client machine having MS office excel 2003...

    Dear
    Could you, please, tell us what you've done to solve this issue? We're facing the same problem, and until now we couldn't figure out what is exactly happening.
    Thanks in advance for any help.

  • Access denied report App\Client SDK

    Server crashed, therefore I reinstalled Crystal Reports 9 & Crystal Enterprise 9 and attempting to rebuild the ASP pages which pass report parameters. The error received is:
    Technical Information (for support personnel)
    Error Type:
    webReporting.dll (0x80004005)
    Access denied. Please check directory setting for files you can access.
    /HTMLViewers/reportgenerator.asp, line 31
    Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 2.0.50727)
    Page:
    GET /HTMLViewers/reportgenerator.asp
    Line 31 on the page reads:
    .processHttpRequest Request, Response, Session
    Running the registry moniter I receive an access Denied for hklm\software\Crystal Decisions\9.0\report App\client SDK
    This is my first time on the forum, hope I explained myself properly.

    Thanks Shaun, I appreciate your link for the process monitor application. This replaces my older seperate reg mon & file mon apps.
    I have now been able to determine that my application is getting to where it is calling  the cachemanager.dll and it is experiencing the problem. I tried manually registering this dll and receive the error Loadlibrary("cachemanager.dll")failed. GetLastError Returns 0x00000007e.
    If I change the ASP pages to a very simple process, it will run the demo report, and my report. Once I attempt to use the ASP page with the login requesst, and parameter call I receive this error.
    Error Type:
    webReporting.dll (0x80004005)
    The system cannot find the path specified.
    /HTMLViewers/reportgenerator.asp, line 31
    Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 2.0.50727)
    Page:
    GET /HTMLViewers/reportgenerator.asp
    The reportgenerator ASP page which is causing this error is:
    trace.write(category,message)
    trace.warn(category,message)
    <%@ Language="VBScript"%>
    <%
    'Declare variables for the report viewer and the ObjectFactory objects, and create the ObjectFactory object.
    Dim ObjectFactory, userName, password
    dim clientid
    dim reportid
    clientid = request.querystring("Clientid")
    session("Clientid") = clientid
    reportid = request.querystring("reportid")
    ' open a report
    ' copy this report to "Report Directory" in RAS Configuration Manager
    Session("ReportName") = "C:\Program Files\Crystal Decisions\Report Application Server 9\Reports\logonparm\" & reportid
    userName = "SYSDBA"
    password = "masterkey"
    'Create the ObjectFactory for use in creating other Crystal Objects
    Set ObjectFactory=CreateObject("CrystalReports.ObjectFactory.2")
    'Instantiate the Server Control object which allows us to collect information about the required
    'inputs to run the report
    Set ServerControl = ObjectFactory.CreateObject("CrystalReports.CrystalReportServerControl")
    With ServerControl
       .ReportSource = Session("ReportName")
       .EnableLogonPrompt = False     ' Set this to false so that we can override the controls prompting for logon
       .processHttpRequest Request, Response, Session
    End With
    Set Session("ReportParameters") = ServerControl.ParameterFields
    ' Set Login info for all connections
    ' ***************** Added to logon using Viewer SDK *****************************
    Set connectionInfos = serverControl.databaseLogonInfos
    For x=0 To connectionInfos.count - 1
         Set connInfo = connectionInfos.Item(x)
        connInfo.UserName = CStr(username)
         connInfo.Password = CStr(password)
    Next
    For each parameter in Session("ReportParameters")
              Set parameterField = parameter
              paramName = parameterField.Name     
              if paramName = "INTERFACE ID" then
                   Dim paramValue
                   Set paramValue = ObjectFactory.CreateObject("CrystalReports.ParameterFieldDiscreteValue")
                   paramValue.Value = session("Clientid")
                   parameterField.CurrentValues.RemoveAll
                   ' Add this value to current value list
                   parameterField.CurrentValues.Add paramValue 
              end if
    Next
    Set clientDoc = CreateObject("CrystalClientDoc.ReportClientDocument")
    clientDoc.Open session("ReportName")
    set session("oclientdoc")=clientdoc
    Session("pathReport") = pathReport
    Set Session("connectionInfos") = connectionInfos
    Response.Redirect "Viewer.asp"
    %>
    My appologies if I do not explain my problem well. I am not an ASP programmer, and am desperatly looking for assistance to resolve this problem. If anyone can refer a contract programmer that would be interested and capable of assisting me, that would be appreciated. I believe I am close to resolving this problem. I purchased a support session only to find out that this version is no longer supported.

  • Bex report to report interface dynamically based on Value in the query

    Hi,
    Is it possible to change the destination of the report to report interface dynamically based on the data of the bex query?
    For example my query has the below data
    Plant | KPI | Quantity
    P1 | A | 20.00
    P2 | B | 25.00
    When the user selects KPI A I want to navigate to Query 1, and when KPI B is selected to Query 2. Query 1 and Query 2 have completely different layouts, Instead of create to two destinations is it possible to pick one based on the KPI selected.
    Is this possible in Bex report to report interface or any other way.
    Please suggest
    Thanks in advance.

    Hi
    we have RRI in sap bw. ( TCODE RSBBS.)
    Below article will enlighten you about this topic .
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/607e63d5-b56f-2c10-718f-8e33a08baa89?quicklink=index&overridelayout=true
    hope this helps

  • Print report from client machine without showing in screen

    Hi guys!!
    I m using (forms10g+ 10gAS). I want to Print report from client machine without showing in the screen/monitor.
    Currently I m generating report in pdf format. From the pdf I m printing the document.
    But my requirements is to print directly to the printer without showing preview
    Thanks in advance
    Mokarem

    Maybe this will help:
    http://forums.oracle.com/forums/thread.jspa?messageID=1209371&#1209371
    Gary

  • Call BI Publisher Report in APEX, based on R.T.F Template Layout.

    Hi to all respected members of this forum.
    Since 18th May (Saturday), I am trying to connect BI Publisher Reports with Oracle Application Express 4.2.2.
    My APEX Version = APEX 4.2.2
    Oracle BI Publisher Enterprise Edition (Trial) = 11.1.1.6.0
    Oracle BI Publisher Desktop 32 Bit = 11.117.0.79
    For this purpose what I did?
    Firstly I downloaded Oracle BI Publisher Enterprise Edition 11.7 and when I started Installation I came to know that "R.C.U (Repository Creation Utility)" is required during installation and I don't have that so, left this idea.
    Than I downloaded Oracle BI Publisher Enterprise Edition (Trial) from www.oracle.com and BI Publisher Desktop Edition for Templates because there is no facility in BI Publisher Trial Edition to design Report Templates. I have installed both successfully and created a report as per my requirement.
    Now, I want to call that report in Oracle APEX but I am unable to do that.
    I followed http://dgielis.blogspot.de/2007/12/call-bi-publisher-report-from-apex.html but the link which is shown in picture no: 03, is not available, so this didn't help me.
    Then, I followed Oracle BI Publisher Blog https://blogs.oracle.com/xmlpublisher/entry/apex_users_why_not_integrate_w which discuss to call BI Publisher Report in APEX based on "Generic Report Layout". This done successfully but still I am unable to call BI Publisher Report .
    Then I found this type of script
    http://localhost/xmlpserver/Guest/Reporting_Channel.xdo&id=FGFC&password=****&xt=Reporting_Channel&xf=pdf
    to call BI Publisher Report in APEX but this also failed.
    Please help me to understand that how to call "BI Publisher Report in APEX, based on R.T.F Template Layout.
    Thanks in Advance.
    *Regards:*
    *Muhammad Uzair Awan*
    *ORACLE APEX Developer*
    PAKISTAN.
    Edited by: uzairmalik on May 20, 2013 1:32 PM

    Are you trying to have multiple sql queries and have multiple sections displaying different data sets ? Or with one single query but display it in different ways in a single report ?
    You can create one single query as Report Query in APEX and associate it with a BIP report layout. So you can achieve a Dashboard layout with the report query/layout.

  • Crystal Report Viewer (flash based) is displaying partial of the flash interface. It is working well on Firefox 3.6.7 and below but not in Firefox 3.6.8. It is also working well on Internet Explorer and Chrome and Safari. Please check if you can advise o

    Crystal Report Viewer (flash based) is displaying partial of the flash interface. It is working well on Firefox 3.6.7 and below but not in Firefox 3.6.8. It is also working well on Internet Explorer and Chrome and Safari. Please check if you can advise on this problem we are facing. Thank you.
    == This happened ==
    Every time Firefox opened
    == Crystal Report Viewer (flash based) is displaying partial of the flash interface. It is working well on Firefox 3.6.7 and below but not in Firefox 3.6.8. It is also working well on Internet Explorer and Chrome and Safari. Please check if you can advise on this problem we are facing. Thank you. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5

    Reset the page zoom on pages that cause problems: '''View > Zoom > Reset''' (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can try if it works if you disable OOPP (Out-Of-Process-Plugins) for Flash
    You can set the prefs dom.ipc.plugins.enabled.* to false on the about:config page to disable the plugin-container process.
    dom.ipc.plugins.enabled (currently false by default)
    dom.ipc.plugins.enabled.npswf32.dll (Flash)
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • I am facing a problem in a crystal report which is based on Infoset query

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1
    Best Regards,
    Srinivas

    Hi,
    I would first of all suggest you don't open the same question twice. this looks like a duplicate to this entry:
    Best Practices v3.31 - SAP InfoSet Query connection
    Did you assign the queries and the infosets to an InfoSet user group and you assign the SAP account to it as well ?
    Ingo

  • I am facing a problem in a crystal report which is based on Infoset query.i

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1

    Please re-post if this is still an issue to the Business Objects Integration Kits - SAP Forum or purchase a case and have a dedicated support engineer work with you directly

  • Save report on client side in three tier architecture

    Hi,
    We have a 3 tier 10g R2 Application server installed on Unix.
    We want to generate and save report directly to a location on client machine.
    But when we try to do that report is saved in server and not on client machine.
    Can anyone help in this regard?
    Av.

    Hi,
    We are aware of this method, but this is causing following problems to us -
    1. Report name concurrency, we will have to change existing coding to a large extent to make sure same report when generated by different users should have seperate names so that there is no conflict.
    2. To transfer to client machine there can be access right issues, though we have not tested this aspect.
    So was thinking if there is any other way through wich we can directly save the report on client side rather than transfering file between AS and client?

  • Error Loding Crystal Report in Client Machine

    I have developed a windows application using vs2010 c# and also generated crystal report using the application.The problem is I
    am able to view report on my computer but when the same application runs on a client machine its throwing an error "could not load file or assembly crystaldecisions.windows.forms version 13.0".I am not able to load the report on client machine.What
    could be the possible reasons for the error.Any suggestions would be of great help? Thanks in advance

    Hello,
    This forum is for discussions and questions regarding profiles and Microsoft's recognition system on the MSDN and TechNet sites. It is not for products/technologies.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Issue in XL reporter on Client machine

    Hi Experts
    I am facing issue in running XL reporter on client machine aftre upgrading patch 10 of SAP B1 2007 B.
    System shows following errro
    Run TIme Error 430
    Class does not support Automation or does not support expected interface.
    pls. help me out from this.
    Regards
    Kamlesh Vagal

    Hi,
    Please check this link:
    http://support.microsoft.com/kb/248404
    Thanks,
    Gordon

  • How to open a file created at the server through form/report at client end

    How to open a file created at the server through form/report at client end
    Dear Sir/Madame,
    I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
    Thanks
    Rajesh Jain

    One way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
    Cheers, APC

Maybe you are looking for