XMII query deployment

Hi,
Does anyone have information on what kind of query deploymeny strategy xMII has. If we have multiple xMII servers and a change in made to a query how can that change be deployed to multiple xMII servers.
Thanks,
Mahwish

You can copy the Query Template xml file from server to server.  The file is in C:\Lighthammer\Illuminator\Templates.
Or, why don't you create a Virtual Server connection to the server that has the same query template?  If the template calls the same database (or datasource) try this method.  Meaning if you have a database in Pennsylvania that the xMII server in Pennsylvania calls and you want to copy that query to a server in Texas that queries the database in Pennsylvania, just point the Texas xMII server to the Pennsylvania xMII server.

Similar Messages

  • Calling Oracle stored procedure from xMII Query Templates.

    Hi All,
    We have a requirement to call a Oracle stored procedure from xMII, the SP expects some inputs and then it returns multiple rows.
    I tried different approches with no results, I remember some posts on the same topic but I could not get in search results.
    Looking for some help in this regards
    Rupesh.

    Hi Rupesh Bajaj,
    In oracle stored procedure we have to use Packages..if you used packages the u have to assign to some variable.
    To calling Stored procedure  in Query Template is CALL Testing('[Param.1]','[Param.2]',,:X)
    In above line Testing is Stored procedure name and Param.1 is parameters and X is Package.
    Thanks
    Ravilla Ramesh

  • Webreport (or Query) deployment to EP?

    Hi Experts,
    I would need to deploy a webreport (or a BEx Query) to the EP. I have created the webreport and made a new iView (type 'iView SAP-BW Report') on EP. I set the 'Query-String BEx Web Application' parameter of the iView to the tech name of the Webreport. It does not work. A blank page appears with icons on the top of the page (table, graphs etc.)
    How can I do that?
    (I am using BW 3.1 and EP 6.0)
    Thanks in advance,
    Dezso

    Hi dezso,
    is ur query is run from bw buisness explorer.
    if yes check ur BW WAS system property under portal.
    check the user mapping done correctly.
    regards,
    kaushal

  • XMII query against a SAP NetWeaver database

    Hi all,
    I have set up a data server for a SAP NetWeaver MSSQL database (DX1 on SAPSRV03) for SAP Web AS 6.40. The status of this data source shows OK. I try to create a new query template. In the SQL Query details, I can see the list of the tables and the list of the columns from a selected table. However, the test result always shows an error: “A SQL Error has occurred on query, [SAPSRV03\DX1]Invalid object name 'TMP_PRD_LINES'” It does not work for any table from that database, so it seems that the error has nothing to do with the table name.
    If I change the database name of that data server to something else, like pubs or Northwind, on the same SQL server, the query works well with any table.
    I wonder whether there is any special parameters that I need to set up so that I can query against a NetWeaver database.
    I’ll appreciate any advice on this problem!
    Best regards,
    Hart

    Hart,
    We are able to query a Netweaver DB, but we needed to include a schema.
    Your query to the TMP_PRD_LINES table should look like the following:
    Select * from SAPDX1DB.TMP_PRD_LINES
    Working with you through support I know that this worked for you - I am just wanted to post the answer for everyone to see.
    Thanks,                                                                
    Joe

  • XMII Query Selected tags not working

    I am using a query template for tag list against a UDS PI server and the "Selected Tags" dos not seem to wok. It retuns all tags or masked ones even when the check box "Use Group.Mask .....'  is unchecked.
    The UDS does not have groups since the alias tool  doesn't seem to allow wildcarding accomadating future tags.
    Product Version: 11.5.3 b66
    Thanks, Ed (for Shari)

    Hi,
    As Jeremy said, 'Use Group or Mask for Tag selection' is used for Current, History, HistoryEvent, and Statistics query modes. For namespace query modes such as TagList/GroupList it will not work. Please find the below link for you help:
    http://help.sap.com/saphelp_xmii115/helpdata/en/index.htm
    Hope it helps!
    Best Regards,
    Kedar

  • How to query deployment status.

    Hi all
    I'm trying to get the list of deployments in the admin console, namely, I'm trying to get the same thing you get when you go to Domain Structure -> Deployments, the list with the status of all the deployments, I need a third party application to check their health. Either by using a java or the command line tools, is that possible?
    I've tried the utilities (weblogic.Admin and weblogic.Deployer) and using the API that comes with Weblogic, but they don't seem to list the same things I get in the admin web interface. Any ideas?

    you can use WLST to get status of all deployed apps.
    below link describes nicely the steps for getting status:
    Getting Application States using WLST « Middleware Magic
    Thanks,
    Vivek Vishal

  • Error deploying MII 12.1.8

    Hi,
    after deploying successfully Netweaver 7.11 SP 05 SAP EHP1, I'm trying to deploy MII 12.1.8 (upgrading 12.1.0) with JSPM.After putting MII 12.1.8 .SCA file into inbox and running JSPM, I can see I should upgrade three "elements":
    J2EEFRMW
    LMCORE0
    XMII
    Looking at the logs, J2EEFRMW and LMCORE0 aren't really deployed, I can see multiple lines saying for example...
    tcmonitoringapi.sda for component sap.com/tcmonitoringapi is rejected because it is already deployed
    and at the end J2EEFRMW and LMCORE0 are resulting with status DEPLOYED.
    But when the system is trying to deploy XMII, i'm getting error:
    see follwing post

    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA for component sap.com/XMII aborted
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
              2. Contains Aborted deployment component:
    sap.com_xappsxmiijraapp
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC07.sda for component sap.com/sapjraxMIIIDOC07 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> xappsxmiiear.sda for component sap.com/xappsxmiiear is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> xappsxmiijraapp.sda for component sap.com/xappsxmiijraapp aborted
    Error: Detailed message:
              1. Exception.
               -> Policy configuration "eis/XMIIRFC08" does not exist in security context "SAP-J2EE-Engine" for connector "eis/XMIIRFC08" in application "null".
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC08.sda for component sap.com/sapjraxMIIIDOC08 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC04.sda for component sap.com/sapjraxMIIIDOC04 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC03.sda for component sap.com/sapjraxMIIIDOC03 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC10.sda for component sap.com/sapjraxMIIIDOC10 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> xappsxmiidbinit.sda for component sap.com/xappsxmiidbinit is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC02.sda for component sap.com/sapjraxMIIIDOC02 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC01.sda for component sap.com/sapjraxMIIIDOC01 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> xappsxmiiumeactions.sda for component sap.com/xappsxmiiumeactions is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Error: Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA --> sapjraxMIIIDOC05.sda for component sap.com/sapjraxMIIIDOC05 is rejected because deployment of other component it depends on is rejected
    Error: Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
    Info: Deployment message for component J2EE-FRMW : See Deploy Controller log E:\usr\sap\CE1\J00\j2ee\JSPM\log\log_2011_02_25_19_33_23\deploy_2011-02-25_19-42-07.log for details.. Detailed message:
              1. Already deployed component has version:1000.7.11.5.0.20100502230600
              2. Already deployed component has version:1000.7.11.5.0.20100502230600. Archive
    MIIQATEMP\sapmnt\trans\EPS\in\J2EEFRMW05_0-20002637.SCA for component sap.com/J2EE-FRMW was deployed successfully.
    Info: Deployment message for component LM-CORE : See Deploy Controller log E:\usr\sap\CE1\J00\j2ee\JSPM\log\log_2011_02_25_19_33_23\deploy_2011-02-25_19-42-07.log for details.. Detailed message:
              1. Already deployed component has version:1000.7.11.5.0.20100502230600
              2. Already deployed component has version:1000.7.11.5.0.20100502230600. Archive
    MIIQATEMP\sapmnt\trans\EPS\in\LMCORE05_0-20002600.SCA for component sap.com/LM-CORE was deployed successfully.
    Info: Deployment message for component XMII : See Deploy Controller log E:\usr\sap\CE1\J00\j2ee\JSPM\log\log_2011_02_25_19_33_23\deploy_2011-02-25_19-42-07.log for details.. Create an OSS message in component: XAP-MII for support.. Detailed message:
              1. Item is skipped because of failed deployment of item 'sap.com_xappsxmiijraapp' and because the applied error strategy is OnErrorStop
              2. Contains Aborted deployment component:
    sap.com_xappsxmiijraapp. Deployment of archive
    MIIQATEMP\sapmnt\trans\EPS\in\XMII08_0-20004625.SCA for component sap.com/XMII aborted.
    Error: com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
    Reason: ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [sap.com_xappsxmiijraapp].
    ; nested exception is:
         com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3297] An error occurred during deployment of [sdu id: [sap.com_xappsxmiijraapp]
    sdu file path: [E:\usr\sap\CE1\J00\j2ee\cluster\server0\.\temp\tcbldeploy_controller\archives\92\XMII08_0-20004625_SCA1298691730328\DEPLOYARCHIVES\xappsxmiijraapp.sda]
    version status: [HIGHER]
    deployment status: [Admitted]
    description: []

  • Named query in Entity Bean - Problem with embedded class

    Hello Forum,
    I'm trying to set up a named query in my Entity Bean and I'm unable to get
    it up and running for an embedded class object.
    The class hierarchy is as follows:
             @MappedSuperclass
             AbstractSapResultData (contains dayOfAggregation field)
                     ^
                     |
            @MappedSuperclass
            AbstractSapUserData (contains the timeSlice field)
                     ^
                     |
              @Entity
              SapUserDataThe named query is as follows:
    @NamedQuery(name = SapUserDataContext.NAMED_QUERY_NAME_COUNT_QUERY,
                                query = "SELECT COUNT(obj) FROM SapUserData AS obj WHERE "
                                         + "obj.sapCustomerId"
                                         + "= :"
                                         + SapResultDataContext.COLUMN_NAME_SAP_CUSTOMER_ID
                                         + " AND "
                                         + "obj.sapSystemId"
                                         + "= :"
                                         + SapResultDataContext.COLUMN_NAME_SAP_SYSTEM_ID
                                         + " AND "
                                         + "obj.sapServerId"
                                         + "= :"
                                         + SapResultDataContext.COLUMN_NAME_SAP_SERVER_ID
                                         + " AND "
                                         + "obj.dayOfAggregation.calendar"
                                         + "= :"
                                         + DayContext.COLUMN_NAME_DAY_OF_AGGREGATION
                                         + " AND "
                                         + "obj.timeSlice.startTime"
                                         + "= :"
                                         + "timeSliceStartTime"
                                         + " AND "
                                         + "obj.timeSlice.endTime"
                                         + "= :"
                                         + "timeSliceEndTime")The query deploys and runs except that part:
                                         + "obj.dayOfAggregation.calendar"
                                         + "= :"
                                         + DayContext.COLUMN_NAME_DAY_OF_AGGREGATIONI don't see any difference to the part of the query accessing the timeSlice
    field which is also an embedded class object - I access it in exactly the same way:
                                         + "obj.timeSlice.startTime"
                                         + "= :"
                                         + "timeSliceStartTime"
                                         + " AND "
                                         + "obj.timeSlice.endTime"
                                         + "= :"
                                         + "timeSliceEndTime"The problem is that the complete query runs on JBoss application server
    but on the SAP NetWeaver application server it only rund without the
                                         + "obj.dayOfAggregation.calendar"
                                         + "= :"
                                         + DayContext.COLUMN_NAME_DAY_OF_AGGREGATIONpart - If I enable that part on SAP NetWeaver the server complains:
    [EXCEPTION]
    {0}#1#java.lang.IllegalArgumentException: line 1: Comparison '=' not defined for dependent objects
    SELECT COUNT(obj) FROM SapUserData AS obj WHERE obj.sapCustomerId= :sap_customer_id AND obj.sapSystemId= :sap_system_id AND obj.sapServerId= :sap_server_id AND obj.dayOfAggregation.calendar= :day_of_aggregation AND obj.timeSlice.startTime= :timeSliceStartTime AND obj.timeSlice.endTime= :timeSliceEndTime
                                                                                                                                                                                                 ^I know that this isn't an application server specific forum but the SAP NetWeaver server is the most strict EJB 3.0 and JPA 1.0 implementation I've seen so far so I think I'm doing something wrong there.
    Someone in the SAp forum mentioned:
    The problem here is that you compare an input-parameter with an embeddable field of your entity.
    Regarding to the JPQL-grammer (spec 4.14) you are not allowed to compare
    with the non-terminal embeddable field but with the terminal fields of your
    embeddable. Stating that your embedded class might have the fields
    startTime and endTime your JPQL query might look like this:
    Query q = em.createQuery("SELECT count(obj.databaseId) FROM SapUserData obj WHERE obj.timeSlice.startTime = :startTime AND obj.timeSlice.endTime = :endTime");
    q.setParameter("startTime", foo.getStartTime());
    q.setParameter("endTime", foo.getEndTime());
    q.getResultList();
    This limitation in the JPQL grammar is rather uncomfortable.
    An automatic mapping of the parameter's fields to the terminal fields of your
    embedded field would be more convenient. The same can be said for lists
    as parameter-values which is possible in HQL, too. I think we have to wait
    patiently for JPA 2.0 and hope for improvements there. :-)
    With that help I was able to get it up and running for the timeSlice field but
    I don't see the difference to the dayOfAggregation field which is also just
    another embedded class using an object of a class annotated with
    @Embeddable.
    The get method of the dayOfAggregation field is as follows:
         * Get method for the member "<code>dayOfAggregation</code>".
         * @return Returns the dayOfAggregation.
        @Embedded
        @AttributeOverrides({@AttributeOverride(name = "calendar", /* Not possible to use interface constant here - field name must be used for reference */
                                                column = @Column(name = DayContext.COLUMN_NAME_DAY_OF_AGGREGATION,
                                                                 nullable = false)),
                             @AttributeOverride(name = "weekday",
                                                column = @Column(name = DayContext.COLUMN_NAME_WEEKDAY,
                                                                 nullable = false)),
        public Day getDayOfAggregation() {
            return this.dayOfAggregation;
        }The link to my question in the SAP forum for reference:
    https://www.sdn.sap.com/irj/sdn/thread?messageID=3651350
    Any help or ideas would be greatly appreciated.
    Thanks in advance.
    Henning Malzahn

    Hello Forum,
    got a response in the SAP forum - Issue is a bug in the SAP NetWeaver
    app. server.
    Henning Malzahn

  • Installation advice for xMII V12.0

    Hi all,
    xMII is my first foray into the SAP experience.  We are planning a POC using xMII to build a simple MES system with communication to existing SAP ECC/ERP, various PLCs and Proficy iHistorian and printing to Zebra label printers.  We have a sandbox xMII V11.5 installed and working with ECC via RFCs/JCO.
    It makes sense to use xMII V12 for the POC as we will not be going live for a year and the work we are doing now is discovery work.  We are planning a new installation as the requirement for NetWeaver changes requirements quite dramatically.
    I have been looking through the mountain of documents on Wikis, document sites, and Blogs and have found Master guides, Installation Guides, Upgrade Guides, Release Notes, Config Guides, SAP Notes...  Then there is JCO, SAP JRA, UDSs of various types, Netweaver (UME, WebAS, CCMS, ...), JRE, database, Windows...  I am attempting to make a list of what needs to be installed and in what order for the POC. I have not found a definitive source of information on the installation of an xMII server.  -Does one exist?-
    Here is my current list of what to install on the xMII server, in the order they must be installed.  I could use some feedback!
    The server:  Dell Optiplex GX620  -  1G RAM - 2.8Ghz - 40Gb HD -Is this adequate?  More RAM? More Disk?-
    Windows Server 2003
    MS SQL Server 2005
    Sun JRE 1.4.2_16  (When will this be upgraded to 1.6, or even 1.5!)
      Is JAVA_HOME required?  Does it matter which JRE is in the Windows PATH environment variable?
    SAPCAR 7.0
    NetWeaver 7.0 (2004s) SR2  Usage Selection - Application Server Java  - and configure JRA
    xMII V12.0 SR3 - and configure users
    XMII 12.0 Migration Tool SP02  XMIIMIGRATION02_0-10004466.SCA
    JCOlibs for XMII 12.0  JCOLIBS00_0-10004406.SAR
    XMII Framework UDS SP00   XMIIFRAMEWORK_0-20001475.zip
    XMII OPC UDS SP00   XMIIOPCUDS_0-10005336.ZIP
    XMII OPC HDA UDS SP00   XMIIOPCHDAUDS_0-10005335.ZIP
    XMII iHistorian3 UDS SP00  XMIIIHISTORIAN3_0-20001465.zip
    Label printing - TBD
    What did I miss?  Is everything in the correct order?
    Thanks all,
    --Amy Smith
    P.S.  I have been impressed by the quality of the posts on this forum.  I look forward to joining the community!

    Amy,
    This is probably not what you want to hear but the guide will most likely not be updated since the JDBC driver and it's configuration is specific to the vendor and not SAP.  This is the reason for all of the various configuration fields you see in the xMII Data Server configuration screen.  It allows the xMII system to support a connection via any JDBC driver.  The MS site where you downloaded the 2005 driver from has the Server URL defined there and there are plenty of supplementary sites on configuring the URL properly for your system.  If you still think it should be added then please create a CSN/CSS message requesting the change.
    To cover some previous comments on the NW installation, plan for approx 2-4 days in installing and configuring Solution Manager; if you don't already have it in your corporate landscape.  The actual installation took me 20hrs on a 2GB RAM Dual-DualCore 2 GHz CPU machine and took approx 45 GBs of space (This is now required by SAP and last I checked was free).  You'll need this because it will help you maintain/manage your various systems corporate wide.  Also it is needed to generate "Solution Manager Keys" which are required for NW installations and to download NW support package updates from Service Marketplace.
    Once that's done it's about 3 hours for each successive NW AS Java installation and about 5 minutes for the xMII v12 deployment and finished off at around 5GBs of space. 
    This is all in the guide I am putting together along with a "High-Availability" section which is adding some extra time to it's release but I can guarantee it's worth the wait!
    It's nice to see that you've done your homework on this, hope this helps to explain and clarify...
    Sam

  • EJB QL (deployment error)

    I'm trying to deploy an application containing 2.0 style CMPs to OC4J 9.0.3...
    One of the CMP beans has a EJB-QL finder method. I packaged the application using Ant and tried deploying it to OC4J.
    From ejb-jar.xml:
    <query>
    <query-method>
    <method-name>findByCompany</method-name>
    <method-params>
    <method-param>long</method-param>
    </method-params>
    </query-method>
    <ejb-ql><![CDATA[SELECT OBJECT(a) FROM Address AS a WHERE a.coNum = $1]]></ejb-ql>
    </query>
    Deploy Error:
    Encountered "a . coNum = $1" at line 1, column 7.
    Was expecting one of:
    "NOT" ...
    "IdentificationVar" "." "CmpField" "NOT" ...
    "IdentificationVar" "." "CmpField" "IN" ...
    "IdentificationVar" "." "CmpField" "LIKE" ...
    "IdentificationVar" "." "CmpField" "IS" ...
    "+" ...
    "IdentificationVar" "." "CmpField" "*" ...
    "IdentificationVar" "." "CmpField" "/" ...
    "IdentificationVar" "." "CmpField" "+" ...
    "IdentificationVar" "." "CmpField" "-" ...
    "IdentificationVar" "." "CmpField" "BETWEEN" ...
    "IdentificationVar" "." "SingleValuedCmrField" ...
    "IdentificationVar" "." "CollectionValuedCmrField" ...
    "IdentificationVar" "NOT" ...
    "IdentificationVar" "MEMBER" ...
    "IdentificationVar" "." "CmpField" "=" "+" ...
    "IdentificationVar" "." "CmpField" "=" "-" ...
    "IdentificationVar" "." "CmpField" "=" "IdentificationVar" ...
    "IdentificationVar" "." "CmpField" "=" <CHAR_LITERAL> ...
    "IdentificationVar" "." "CmpField" "=" <STRING_LITERAL> ...
    "IdentificationVar" "." "CmpField" "=" <INPUT_PARAM> ...
    "IdentificationVar" "." "CmpField" "=" <INTEGER_LITERAL> ...
    "IdentificationVar" "." "CmpField" "=" <FP_LITERAL> ...
    "IdentificationVar" "." "CmpField" "=" "TRUE" ...
    "IdentificationVar" "." "CmpField" "=" "FALSE" ...
    "IdentificationVar" "." "CmpField" "=" "CONCAT" ...
    "IdentificationVar" "." "CmpField" "=" "SUBSTRING" ...
    "IdentificationVar" "." "CmpField" "=" "LOCATE" ...
    "IdentificationVar" "." "CmpField" "=" "LENGTH" ...
    "IdentificationVar" "." "CmpField" "=" "ABS" ...
    "IdentificationVar" "." "CmpField" "=" "SQRT" ...
    "IdentificationVar" "." "CmpField" "=" "(" ...
    EJB QL statement : 'SELECT OBJECT(a) FROM Address AS a WHERE a.coNum = $1'
    EJB QL method : public abstract java.util.Collection com.insuresuite.company.ejb.AddressEBHome.findByCompany(long) throws javax.ejb.FinderException
    com.sun.ejb.ejbql.EjbQLQuery com.sun.ejb.ejbql.parser.EjbQLParser.parse(com.sun.ejb.ejbql.SymbolTable, com.sun.enterprise.deployment.PersistenceDescriptor, java.lang.reflect.Method, java.lang.String)
    com.sun.ejb.ejbql.EjbQLQuery com.sun.ejb.ejbql.EjbQLDriver.parse(com.sun.enterprise.deployment.PersistenceDescriptor, java.lang.reflect.Method, java.lang.String)
    void com.sun.ejb.sqlgen.SQLGenerator.generateSQLForEjbQLQueries(com.sun.enterprise.deployment.PersistenceDescriptor, com.sun.ejb.ejbql.EjbQLDriver)
    void com.sun.ejb.sqlgen.SQLGenerator.generateSQL(com.sun.enterprise.deployment.EjbBundleDescriptor, com.sun.enterprise.deployment.ResourceReferenceDescriptor, boolean, com.sun.ejb.sqlgen.DBInfo)
    void com.evermind.server.ejb.deployment.EJBPackage.init(byte[], int, int, boolean)
    void com.evermind.server.ServerComponent.init()
    com.evermind.server.ejb.deployment.EJBPackage com.evermind.server.ejb.EJBPackageDeployment.getPackage()
    java.util.Map com.evermind.server.administration.ServerApplicationInstallation.finish(java.util.Map)
    java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
    void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
    void com.evermind.util.ThreadPoolThread.run()
    Any help is greatly appreciated.
    - Ranga

    * I modified the query a bit and was able to deploy the application.
    * This is what I have now:
    <![CDATA[SELECT OBJECT(a) FROM Address AS a WHERE a.coNum IS NULL]]>
    * It somehow doesn't like the $1 notation.
    * Are there any workarounds for this?

  • SOAP Web Service Authentication configuration

    Hello,
    I've got a little problem with Web Service authentication configuration.
    I'm working on the SAP NetWeaver CE EHP1 7.11. I also have a XMII application deployed on the server and there are some SOAP Web Services(over XMII Transactions) that require basic authentication.
    I use all Web Services in the EJB layer. So, I've generated proxy using SAP NetWeaver as a Web Service Runtime for generation. And Iuse an injection mechanism to get a service implementation:
    @WebServiceRef(name="GetBatchListService")
    private XacuteWS batchListWS;
    In this case I could use Single Service Administration application in the NetWeaver Administrator@SOA Management@Application and Scenario Communication to configure basic authentication for EVERY Web Service. And this configuration disappears after every redeploy.
    The question is how and where could I configure authentication for all web services?
    I've read a lot of documentation, but, unfortunately, I haven't found needed one. I could see 2 direction of searching now, it might help:
    1) Destination: Configure HTTP Destination or Web Service Template Destination and use it in all Web Services proxies somehow.
    2) Find Configuration way: Create a configuration group or anything else to configure all services from one screen.
    Best Regards,
    Dmitry

    Dimtris,
    If your WSDL url is pointing to the URL of the Adapter Engine as shownin the Hot to Use the SOAP adapter there is no option. You cannot add it to the SOAP Url.
    But, if you change the SOAP Url to the Url shown in this blog by Stefan Grube then you can add the user id and pasword to the url by adding sap- user=userid and sap-password = password.
    The optin shown ion the blog by Grube can be used as long as you do not have to use SOAP attachments and in this  case you would not need both sender SOAP adapter and a sender agreement.
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    Regards
    Bhavesh
    Regards
    Bhavesh

  • Same SQL Statement Works in Data Service but not in its Input Port

    Hi Experts,
    I am using this query in one of my data service. Test execute success which returned:
                                            E      U      H     M      L
    2     Less Than 1 Week     0     0     0     0     0
    3     1 - 2 weeks          0     0     0     0      0
    4     2 - 4weeks          0     0     0     0      0
    5     More Than 1 Month     0     0     6     0     0
    However, when i copy the same query to the input port, enclosing it with "[my query]"
    Deployed and run it. I get an "Unspecified Error" message box prompted in the iView, and null pointer exception error in the log file.
    #1.5 #001A64CA3F5600660000034400001140000487DBB6D27A4D#1275277641800#com.sap.portal.visualComposer_NWBIKit_logger#sap.com/irj#com.sap.portal.visualComposer_NWBIKit_logger#TOMAS004#89896##n/a##37c590906c6711df8503001a64ca3f56#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Java###null
    [EXCEPTION]
    #1#java.lang.NullPointerException
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.processTemplateParams(BIRelationalQuerySql.java:40)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.<init>(BIRelationalQuerySql.java:31)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalFactory.newRelationalQuery(BIRelationalFactory.java:59)
    Any idea what is the mistake?
    Thanks in Advance,
    Sarah

    Hi Experts,
    I am using this query in one of my data service. Test execute success which returned:
                                            E      U      H     M      L
    2     Less Than 1 Week     0     0     0     0     0
    3     1 - 2 weeks          0     0     0     0      0
    4     2 - 4weeks          0     0     0     0      0
    5     More Than 1 Month     0     0     6     0     0
    However, when i copy the same query to the input port, enclosing it with "[my query]"
    Deployed and run it. I get an "Unspecified Error" message box prompted in the iView, and null pointer exception error in the log file.
    #1.5 #001A64CA3F5600660000034400001140000487DBB6D27A4D#1275277641800#com.sap.portal.visualComposer_NWBIKit_logger#sap.com/irj#com.sap.portal.visualComposer_NWBIKit_logger#TOMAS004#89896##n/a##37c590906c6711df8503001a64ca3f56#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#/System/Server#Java###null
    [EXCEPTION]
    #1#java.lang.NullPointerException
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.processTemplateParams(BIRelationalQuerySql.java:40)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalQuerySql.<init>(BIRelationalQuerySql.java:31)
         at com.sap.portal.guimachine.bikit.query.relational.impl.BIRelationalFactory.newRelationalQuery(BIRelationalFactory.java:59)
    Any idea what is the mistake?
    Thanks in Advance,
    Sarah

  • BEx Selection screen Hierarchy display (text - key)

    Hi,
    We have a new query deployed that uses several hierarchies in the selection screen.
    When running the reports, the drop down for the hierarchies on the variable selection screen displays the full text. 
    However, the users are more familiar with the key value and would prefer to see that.  In the actual report, the keys are displayed.
    I am trying to find where the default display can be set for the hierarchies on the BEx selection screen so I can show the key values?
    Thanks!
    Darryl
    Edited by: Darryl Goveas on Nov 16, 2011 12:14 PM

    Create a FM like below and a wrapper for it so you can call it as part of process chain; we load all of our hierarchies then call this:
    FUNCTION ZBW_CHANGE_HIER_DISPLAYNAME.
    ""Local Interface:
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
      data: hieid(25) type c,
            hienm(30) type c,
            lgtxt(60) type c.
      RETURN-TYPE = 'I'.
      RETURN-ID = '01'.
    Select each hierarchy from list table
      select nhieid nhienm t~txtmd
      into (hieid, hienm, lgtxt)
      from rshiedir as n
      join rshiedirt as t
      on nhieid = thieid
      where n~objvers = 'A'
      and   t~objvers = 'A'.
        if sy-subrc = 0.
        concatenate Key and Text
          concatenate hienm '-' lgtxt into lgtxt SEPARATED BY space.
        update table with new description
          update rshiedirt
          set TXTLG = lgtxt
          where langu = 'E'
          and hieid   = hieid
          and objvers = 'A'.
          if sy-subrc = 0.
            RETURN-NUMBER = '001'.
            RETURN-MESSAGE = 'Successfully updated Hierarchy Descriptions.'.
          else.
            RETURN-NUMBER = '002'.
            RETURN-MESSAGE = 'Error when updating Hierarchy Descriptions.'.
          endif.
        else.
          RETURN-NUMBER = '003'.
          RETURN-MESSAGE = 'Error when selecting Hierarchy Descriptions.'.
        endif.
      endselect.

  • Problems with the OPC Connector for older OPC DA servers?

    Hello,
    we are developing a solution involving OPC data access and want to utilize xMII as a gateway between the OPC server and our application. The xMII installation we use works fine with three different demoservers we connected, even when accessing them remotely.
    When first trying to connect to our real datasource, we encountered problems. The namespace was not browsable from within the xMII Query Template editor. A taglist was given though, but the tags did not give proper results. The general log stated, that an "invalid server" was being used.
    Other OPC clients which are designed for diagnostic use did not have any problems with namespace browsing or accessing the data in our server, so the problem was limited to the use of xMII. Reconfiguring the namespace of the OPC server led to data access working in xMII, but the namespace is still not browsable from within xMII.
    We use a Simatic NET OPC Server, which states it fulfills OPC DA specification 1.0A and SAP xMII 11.5.1 with an OPCDatasource2_5_0_4beta Connector. The question is, if our problems could arise from our use of such an old OPC specification in the server? It is stated that the DataSource Connector works with "any OPC server", but as I understand it the actual specification is OPC DA 3.0, which would be quite a distance in versions.
    Thanks in advance for any useful hints!
    Andreas Gössling

    Hello Martin,
    thanks a lot for the answer! This is exactly the information I need to explain my senior staff members why it is not my fault.
    Luckily, I found a stable state for cooperation between my components. Now I have the validation that this state must not be altered by others.
    Thanks again!
    Andreas

  • Screen Freeze until Data loading

    Hi,
    I am new to Flex. I devloped an application which will get Data from SAP xMII Query templates and load it in datagrid via HTTP Service.
    The problem is on sometimes when it is getting slow to fetch the data and in Datagrid it is showing as empty grid. If we refresh the screen 2 to 3 times, it will get loaded.
    I want to freeze the screen until the Datagrid is loaded. After it is loaded only, i want to show the screen.
    How to do this?
    Regards,
    Senthil

    Try enabling showbusycursor in httpservice definition and disable
    or enable the application using
    this.enabled by checking if cursor is busy. We can check this using cursormanager.

Maybe you are looking for

  • Lightroom 4.4 crashes at launch

    I am running Lightroom 4.4 (Creative Cloud) version on Mac OS X 10.8.3 on a 2007 iMac with 6GB of RAM. Lightroom crashes when launched. I have tried removing the preferences, using the Adobe cleanup tool. Launching with a new catalog, etc. Nothing se

  • How can I get the Doc object from any other object?

    Dear colleagues, in FrameScript it is dead-simple to get to the document part of any object, just add .Doc to the variable. How can I achieve the same with ExtendScript? I amtired of passing the document object next to AFrames or Pgfs along into subr

  • Embedded font not working in Spark Label control?

    Hi, I'm trying to use embedded fonts with the Spark Label (formerly SimpleText) control. I'm using SDK 4 build 10485 now, but I could not manage it in Beta 1 neither. I'v been playing with cff: true/false, embedAsCFF:true/false but no results. I've a

  • My background will not work. How do i fix it?

    If you look at this page: http://bryan-roberts.com/Untitled-7.html in Firefox it looks fine. Then if you look at it in Internet Exploer it is messed up on the right and left side. So far what i figured out is that internet exploer push's everything d

  • BW reporting drawbacks over BO

    Hi Experts, What are the drawbacks of bw reporting(bex/web) that make crystal reports all the more appealing? Thanks CC