Getting error for using alias

Hi,
am using database version
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
and when I run below command,
select e.empname from emp as e;
am getting error
ORA-00933 SQL Command not properly ended,
but this is allowed right? I mean we can give alias name by using as or whitespace,
Can any one please comment on this,
Thanks,

NSK2KSN wrote:
Hi,
am using database version
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
and when I run below command,
select e.empname from emp as e;
am getting error
ORA-00933 SQL Command not properly ended,
but this is allowed right? I mean we can give alias name by using as or whitespace,
Can any one please comment on this,
Thanks,Column aliases can use the optional "as" keyword.
Table aliases must not use the "as" keyword.
select e.empname from emp e;

Similar Messages

  • I would like to combine my word files to a pdf and i get errors for pdfmaker

    i would like to combine my word files to a pdf and i get errors for pdfmaker

    is it 32 bit or 64 bit. you can check it by following the steps mentioned below
    In the program in which you want to verify the version, click the Microsoft Office Button, and then click Program_Name Options.
    Click Resources, and then click About.
    To locate the About Microsoft Program_Name dialog box in programs that do not use the Ribbon user interface,  click About on the Help menu.
    Thanks,
    Vikrantt Singh

  • Getting error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure

    I have create Logic App under Azure App Services, I am getting
    error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
    Following are the screen shots:
    Login App Connector Diagram:
    hema

    Marking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
    http://twitter.com/joshtwist

  • Getting Errors for not Connected to Internet

    Okay, so this happens with any program that I download that has to connect to a server, (Like Google Chrome), and Adobe.  Please help me.  I am really sad   When I try downloading anything it gives me an error saying please, have an internet connection.  I disable windows firewall, and no luck!  This happened before all my anti-virus!  Please help me!  I am going to cry   Please please please!  If you help me, I will be very very very happy!  I get errors for Im not connected to internet

    What Adobe product are you trying to download?  Where exactly are you receiving this error message?

  • File download is getting error while using popup

    Hi experts,
    Working in jdev 11.1.1.3.0, ADF BC with rich faces.
    I am downloading word document from ADF application, i am using fileDownloadActionListener it's working fine, but before opening any file if i invoke any popup, like in my case i have to select the now of rows which user wants select the rows in the table and popup opens and i will enter some number in that and click ok, then the rows will be selected after that if i try to download the document then i am getting error in the console and in the UI the internet explorer is giving the popup as information Bar and asking to download .
    <Aug 17, 2010 11:28:50 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@21083818[app:CardEmboss_New module:CardEmboss_New-ViewController-context-root path:/CardEmboss_New-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.IllegalStateException: Response already committed
         at weblogic.servlet.internal.ServletOutputStreamImpl.clearBuffer(ServletOutputStreamImpl.java:336)
         at weblogic.servlet.internal.ServletOutputStreamImpl.reset(ServletOutputStreamImpl.java:289)
         at weblogic.servlet.internal.ServletResponseImpl.reset(ServletResponseImpl.java:327)
         at javax.servlet.ServletResponseWrapper.reset(ServletResponseWrapper.java:193)
         at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:127)
         Truncated. see log file for complete stacktrace
    >
    <Aug 17, 2010 11:28:50 AM EDT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Aug 17, 2010 11:28:50 AM EDT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Aug 17, 2010 11:28:50 AM EDT SERVER = DefaultServer MESSAGE = [ServletContext@21083818[app:CardEmboss_New module:CardEmboss_New-ViewController-context-root path:/CardEmboss_New-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.IllegalStateException: Response already committed
         at weblogic.servlet.internal.ServletOutputStreamImpl.clearBuffer(ServletOutputStreamImpl.java:336)
         at weblogic.servlet.internal.ServletOutputStreamImpl.reset(ServletOutputStreamImpl.java:289)
         at weblogic.servlet.internal.ServletResponseImpl.reset(ServletResponseImpl.java:327)
         at javax.servlet.ServletResponseWrapper.reset(ServletResponseWrapper.java:193)
         at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:127)
         at oracle.adfinternal.view.faces.event.rich.FileDownloadActionListener.processAction(FileDownloadActionListener.java:77)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:673)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = MIA-DT-06282 TXID = CONTEXTID = f7ad25c4bcd184ea:601da344:12a8060fa0a:-8000-00000000000001b5 TIMESTAMP = 1282058930160
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
    oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
    Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48315: ADR unavailable
    DIA-48315: ADR unavailable
    DIA-48168: the ADR sub-system is not initialized
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:891)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:269)
         at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:264)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
         at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
         at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
         at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
         at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
         at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
         at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
         at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
         at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
         at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:792)
         at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:552)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base="C:\\Documents and Settings\\ldpila\\Application Data\\JDeveloper\\system11.1.1.3.37.56.60\\DefaultDomain\\servers\\DefaultServer\\adr" product_type=ofm product_id=defaultdomain instance_id=defaultserver
    set base C:\\Documents and Settings\\ldpila\\Application Data\\JDeveloper\\system11.1.1.3.37.56.60\\DefaultDomain\\servers\\DefaultServer\\adr
    set homepath diag\ofm\defaultdomain\defaultserver
    create incident problem_key="BEA-101020 [HTTP][java.lang.IllegalStateException]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-08-17 11:28:50.160 -04:00" ecid="f7ad25c4bcd184ea:601da344:12a8060fa0a:-8000-00000000000001b5"
    Cause: There was an error executing adrci commands; the following errors have been found "DIA-48315: ADR unavailable
    DIA-48315: ADR unavailable
    DIA-48168: the ADR sub-system is not initialized
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1183)
         at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:870)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:871)
         ... 19 more
    Can any one help me what may be the issue here.
    Code:
    popup ok button:
    public void selectCardNumber(ActionEvent actionEvent) {
    // Add event code here...
    try {
    RichTable _table = this.getEmbossTB();
    RowKeySet rks = new RowKeySetImpl();
    CollectionModel model = (CollectionModel)_table.getValue();
    BigDecimal nCount = (BigDecimal)getNoOfCards().getValue();
    System.out.println("number: " + nCount);
    String newNum = getNoOfCards().getValue().toString();
    if (nCount != null && Pattern.matches("^[0-9]+$", newNum)) {
    for (int i = 0; i < nCount.intValue(); i++) {
    model.setRowIndex(i);
    Object key = model.getRowKey();
    rks.add(key);
    _table.setSelectedRowKeys(rks);
    AdfFacesContext.getCurrentInstance().addPartialTarget(_table);
    ADFUtils.hidePopup(this.getP1().getClientId(FacesContext.getCurrentInstance()));
    } else {
    FacesContext fctx = FacesContext.getCurrentInstance();
    FacesMessage message =
    new FacesMessage("Please enter positive Integer number");
    message.setSeverity(FacesMessage.SEVERITY_ERROR);
    fctx.addMessage(null, message);
    } catch (Exception e) {
    e.printStackTrace();
    Edited by: user5802014 on Aug 17, 2010 8:42 AM
    Edited by: user5802014 on Aug 17, 2010 8:53 AM

    Hi,
    I even got the same issue when doing this.
    public void downloadcsv(javax.faces.context.FacesContext facesContext,
    OutputStream outputStream) {
    PrintWriter out = new PrintWriter(outputStream);
    for(int i=0;i<4000;i++)
    out.println("text");
    out.flush();
    out.close();
    facesContext.responseComplete();
    Workaround:
    public void downloadcsv(javax.faces.context.FacesContext facesContext,
    OutputStream outputStream) {
    StringBuffer buffer = new StringBuffer("");
    for(int i=0;i<4000;i++)
    buffer.append("text\n")
    String result = buffer.toString();
    outputStream.write(result.getBytes());
    outputStream.flush();
    outputStream.close();
    facesContext.responseComplete();
    Thanks,
    Tulasi Raghuveer Beesabathuni.

  • Getting Errors while using IMPDP command in UNIX

    Hi All,
    My work involves Refreshing of DB with latest Data. For this i am using IMPDP command to import the data. But Every time during refresh i will get errors saying like "oracle Generated Errors Oracle Not available".
    I don't know what is the reason for getting this error, and that too my db goes down after this error. Again i will startup the db , and i will try my luck to complete the process.
    so please tell me what are the actual problems that might cause the IMPDP to be failed.
    with one advise , i have stopped my listener and done the importing, Interestingly this time IMPDP works without errors. But this is also not always working.
    But i feel that every time starting and stopping the listener is not the correct solution.
    so please help me in this regard.
    Regards
    Naveen R.

    The error i am getting is...
    UDI-03113: operation generated ORACLE error 3113
    ORA-03113: end-of-file on communication channel
    Process ID: 6208
    Session ID: 346 Serial number: 298
    UDI-03114: operation generated ORACLE error 3114
    ORA-03114: not connected to ORACLE
    [user1@node1 cpt]$
    DB version is 11.1.0.6.0
    os is.. Red Hat Linux

  • Getting Error for Install of Prerequisite Components in 64 bit operating system

    we have generated our .exe file by adding prerequisite  in setup project and prerequisite (sql server 2005 Express
    sp2 (x86)) works for windows xp. But we are facing an issue while we install prerequisite (sql server 2005 Express sp2 (x86))  not working in windows 7 64 bit and 32  bit operating system. We have added prerequisite (sql server 2005 Express sp2 (x86))
    using visual studio 2010.While we install prerequisite (sql server 2005 Express sp2 (x86)) in windows 7 we getting error like " Prerequisite check for system component SQL Server 2005 Express Edition SP2 (x86) failed with the following error message:
    "This version of SQL Server 2005 Express Edition (x86) is not supported for the current processor architecture."
    See the setup log file located at 'C:\Users\BS-90\AppData\Local\Temp\VSDCFFC.tmp\install.log' for more information.
      ". We need only sql server 2005 express edition to be installed but not sql server 2008 express edition to be
    placed as prerequisite for our application because our .mdf file supports sql server 2005 express edition only.

    Hello Zhang,
                        As per your reply here is my summary  fallows as:
                       Microsoft SQL Server 2005 9.00.3042.00 
                       ============================== 
                       OS Version      : Professional Service Pack 1 (Build 7601) 
                       Time            : Mon Nov 10 14:55:46 2014 
                       BS-90-PC : The feature(s) specified are not valid for this edition of SQL Server.
     SQL Server Setup failed. For more information, review the Setup log file in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt. 
    Time            : Mon Nov 10 14:55:50 2014
    List of log files:
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_BS-60-PC_Core(Local).log
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_BS-60-PC_Datastore.xml
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_BS-60-PC_.NET Framework 2.0.log
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_BS-60-PC_Support.log
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_BS-60-PC_Core.log
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt
    C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_BS-60-PC_SCC.log
    And Detail Logs fallows as:
    The following properties have been set:
    Property: [AdminUser] = true {boolean}
    Property: [InstallMode] = HomeSite {string}
    Property: [ProcessorArchitecture] = AMD64 {string}
    Property: [VersionNT] = 6.1.1 {version}
    Running checks for package 'Windows Installer 3.1', phase BuildList
    The following properties have been set for package 'Windows Installer 3.1':
    Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
    Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
    'Windows Installer 3.1' RunCheck result: No Install Needed
    Running checks for package 'SQL Server 2005 Express Edition SP2 (x86)', phase BuildList
    Running external check with command 'C:\Users\BS-90\AppData\Local\Temp\VSDCFFC.tmp\SqlExpress\SqlExpressChk.exe' and parameters ''
    Process exited with code 1
    Setting value '1 {int}' for property 'SQLExpressInstalled'
    The following properties have been set for package 'SQL Server 2005 Express Edition SP2 (x86)':
    Property: [SQLExpressInstalled] = 1 {int}
    Running checks for command 'SqlExpress\sqlexpr32.exe'
    Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionNT' and value '5.1': true
    Result of checks for command 'SqlExpress\sqlexpr32.exe' is 'Bypass'
    Running checks for command 'SqlExpress\sqlexpr32.exe'
    Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1': false
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Result of running operator 'ValueExists' on property 'Version9x': false
    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
    Result of checks for command 'SqlExpress\sqlexpr32.exe' is 'Fail'
    'SQL Server 2005 Express Edition SP2 (x86)' RunCheck result: Fail
    A prerequisite failed for Package "SQL Server 2005 Express Edition SP2 (x86)"
    Package failed with message "This version of SQL Server 2005 Express Edition (x86) is not supported for the current processor architecture."

  • Getting error while using BAPI  'BAPI_GOODSMVT_CREATE'

    Hi,
    I am using the BAPI 'BAPI_GOODSMVT_CREATE' in program for goods issue i.e code 03.I am providing all details. the quatity is in KG and i am also providing ISO code i.e KGM but still getting error that Deficit of BA Unrestricted-use 32,900 KG .what would be the problem.

    Hi There,
    Please check if the PO in question has GR-based IV set to active.  In this case please refer to the SAP note 109396 which explains how the IDoc segment has to be filled in order for the posting be successful. The IDoc has to be filled as described in the note when try to post with this particular constellation (i.e. GR-based IV active, more than one goods receipt for the line item, first goods receipt already reversed). Normally when posting in dialog the user has to choose the correct line item to reverse. In the case of IDoc/BAPI processing this is not possible so these particular fields have to be filled at the interface so that the system finds the correct document to reverse.                            
    I hope this helps,
    Best Regards,
    Elaine.

  • Getting error while using jaxb/xjc

    hello every one,
    i have a xsd and i want automated classes from it for which i am using jaxb and xjc compiler but when i am running it then i am getting error
    parsing a schema...
    compiling a schema...
    Exception in thread "main" java.lang.IllegalArgumentException: Expected
    class ja
    vax.xml.bind.annotation.XmlAccessType but found class
    javax.xml.bind.annotation.
    my xsd is
    <xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="clients"
    type="ClientsDef"/>
    <xs:complexType name=" ClientsDef ">
    <xs:sequence>
    <xs:element name="pers" type="Person"
    maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Person">
    <xs:sequence>
    <xs:element name="name"
    type="xs:string"/>
    <xs:element name="date_of_birth"
    type="xs:date"/>
    <xs:element name="cnp"
    type="xs:string"/>
    <xs:element name="adress"
    type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    any one please help me out...

    Hi,
    XSD is well formed but for JAXB, it needs to have the complexType declaration inner the root element:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="clients">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="pers" type="Person" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="Person">
    <xs:sequence>
    <xs:element name="name" type="xs:string"/>
    <xs:element name="date_of_birth" type="xs:date"/>
    <xs:element name="cnp" type="xs:string"/>
    <xs:element name="adress" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>Tested this works with this Main using jaxb-bindings in Netbeans (defining XSD compilation under clients package, Main in default package):
    import clients.Clients;
    import clients.ObjectFactory;
    import clients.Person;
    import java.io.ByteArrayOutputStream;
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Marshaller;
    public class Main
        public static void main(String args[]) throws Exception
            ObjectFactory of = new ObjectFactory();
            Clients cd = of.createClients();
            Person p = of.createPerson();
            p.setAdress("address");
            p.setCnp("cnp");
            p.setName("name");
            cd.getPers().add(p);
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            try
                JAXBContext ctx;
                ctx = JAXBContext.newInstance(Clients.class);
                Marshaller marshaller = ctx.createMarshaller();
                marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, new Boolean(true));
                marshaller.marshal(cd, bos);
                System.out.println(bos.toString());
            finally
                bos.close();
    }Generates:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <clients>
    <pers>
    <name>name</name>
    <cnp>cnp</cnp>
    <adress>address</adress>
    </pers>
    </clients>

  • Getting error while using Callouts

    Hi Gurus,
    I am getting the below error while using callouts.
    Error -: AIP-51806: Error during callout invocation: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
         at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
         at oracle.tip.adapter.b2b.callout.B2BCalloutHandler.handleOutgoingCallout(B2BCalloutHandler.java:344)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1606)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    Caused by: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
         at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:47)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
    I have configured the property "password" in the "Callout Properties" & "Callout Usage". I think no properties reaching the "CalloutContext" in the callout class.
    Please help me in this.
    Regards,
    Vithal
    Edited by: Vithal R on 03-Jun-2009 08:07

    Hi Vithal,
    Did you try with sample callouts -
    http://download-uk.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm
    For your case, make sure -
    You are following below steps to create the property -
    http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm#BEIFDECJ
    You have selected the appropriate callout usage while creating the agreement.
    Callout Directory : Just mention the folder and not the jar.
    Mention the appropriate jar file in the Libray name section of the "create call out"
    Let us know the result please.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jun 4, 2009 11:39 AM

  • Dashboard Prompt - Getting error for Adding SQL query in "Default to"

    Hello Oracle,
    I am facing some problem in Dashboard Prompt. Like when i add some sql query in "Default to" in Dashboard prompt and for the next prompt when i check for Contrain option i get error in the second prompt. but it works fine when i hard-code a value in "Default to" options.
    For Example:
    Like when we consider a two prompts :
    1) Year -> (In Default to i select SQL Query and enter the query as SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)
    2) Business Unit -> (In specific value i give as some hard code value of Business Unit and check the contrain option)
    i get error as
    Business Unit
    Error Generating Drop Down Values
    A numeric value was expected (received "SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)"). Error Details
    Error Codes: EHWH2A7E
    but i get correct value for Year as 2011.
    I need to use SQL query in default to option and need to check the constrain option too.
    Looking for positive feedback.

    You need to create a dashboard prompt and in Default To -> select SQL Results
    Click on the ... (three dots ) underneath it and put in your sql
    For Example , I have a Table called "Sales Date" in my "ABC" presentation folder. This has a column called "Year" and "Date". If I want to have a Year prompt with the default value set to current year, here is what the syntax of my sql result will be :-
    SELECT "ABC"."Sales Date".YEAR
    FROM "ABC"
    WHERE "Date" = current_date
    In SQL, we cannot put SQL as we know of in terms of Oracle, Sql Server etc. The SQL here refers to sql as OBIEE understands it and should be in the form of Select "Presentation foler"."Table Name".ColumnName from "Presentation Folder"
    Hope this helps

  • Getting error for classpath setting during compilation

    Hi,
    I tried sampel code of SchematronValidation bpel sample code from oracle site.But while compiling the code,I am getting following error:
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "SchematronValdiationProcess" of composite "default/SchematronValidation!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Plz help me on this to resolve!!!
    Regards,
    Deb
    Edited by: DevD on Jun 30, 2011 2:40 PM

    Hi Yatan,
    Thanks for your inputs.
    I have added BPM-Workflow class file in project properties.Now SOA-BUILD successful,but while deploying to server I am getting error:
    Error during deployment: Deployment Failed: Error occurred during deployment of component: SchematronValdiationProcess to service engine: implementation.bpel, for composite: SchematronValidation: ORABPEL-01005
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "SchematronValdiationProcess" of composite "default/SchematronValidation!1.0*soa_1272dcc8-82cf-4306-b31f-7aacd0be61cb"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    [05:10:15 PM] Check server log for more details.
    [05:10:15 PM] Error deploying archive sca_SchematronValidation_rev1.0.jar to partition "default" on server soa_server1 [10.185.51.136:8001]
    [05:10:15 PM] #### Deployment incomplete. ####
    [05:10:15 PM] Error deploying archive file:/C:/JDeveloper/mywork/GM_POC/SchematronValidation/deploy/sca_SchematronValidation_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Plese help me on this!
    Regards,
    Deb

  • Getting error -200452 using DAQmx Base Trigger (Digital Edge).

    I'm trying to set up AI and counter output, and I'm using digital output as trigger for to start AI and counter at the same time. I get error 200452 "Specified property is not supported by the devise..." not consistently, but around 5 runs out of 100. Below the error description, the error box shows "This error code is undefined. No one has provided a description for this code..." If I "Retain Wire Values" in Block Diagram, the error first appears after 'Start Digital Edge' block in top counter output line.
    Using LabView 8.5 on MAC OS X and DAQmxBase 3.2
    The MAC I have is not Intel base, so I can't upgrade LabView and DAQmxBase to latest version
    Note: The file contains just a small portion of the program, but the rest of the program does not have any other DAQmxBase blocks accessing the channels used here in code attached.
    Attachments:
    Combined V 1.5.41_sm.vi ‏98 KB

    Hi Azotov,
    It looks like the DAQmx Base driver readme includes Mac OS X support for LabVIEW 8.5.  Could you specify what hardware you are using?
    I found one KnowledgeBase specifying that error code occurs when you try to use certain properties with certain devices.  Of course, this would most likely occur every time you run the task, not 5% of the time.
    Since I'm running Windows, it's a little difficult to see if you have DAQmx Base "Reset Device" functionality with that version of the driver.  You might check if you can run that functionality before using your device, though.
    National Instruments

  • Getting Error While using CriteriaQuery

    Hi ,
    I am developing a small enterprise application using netbeans with glass fish application server.
    I am getting error when i am using CriteriaQuery and Criteria Builder. Even import these two packages
    still am getting error.It is showing "Package javax.persistence.criteria doesn't exist".
    please help me
    Thanks in advance.

    Well it's not a standard Java package so whatever 3rd party tool you are using is missing something that you need in your classpath.
    m

  • Getting Error while using CallTarget class

    I am getting following error while using the CallTarget.
    "Exception in thread "main" java.lang.NullPointerException
    at org.apache.tools.ant.taskdefs.Ant.init(Ant.java:147)
    at org.apache.tools.ant.taskdefs.CallTarget.init(CallTarget.java:85)
    at org.apache.tools.ant.taskdefs.CallTarget.setTarget(CallTarget.java:150
    at AntCallTarget.main(AntCallTarget.java:7)"
    Can anyone please help me solve this problem.
    The code where i am getting this error is
              CallTarget antCall = new CallTarget();
              antCall.setTarget("Main");

    I am getting following error while using the CallTarget.
    "Exception in thread "main" java.lang.NullPointerException
    at org.apache.tools.ant.taskdefs.Ant.init(Ant.java:147)
    at org.apache.tools.ant.taskdefs.CallTarget.init(CallTarget.java:85)
    at org.apache.tools.ant.taskdefs.CallTarget.setTarget(CallTarget.java:150
    at AntCallTarget.main(AntCallTarget.java:7)"
    Can anyone please help me solve this problem.
    The code where i am getting this error is
              CallTarget antCall = new CallTarget();
              antCall.setTarget("Main");

Maybe you are looking for

  • RFC input structure

    Hello, I am trying to call a RFC from my WebDynpro application. The RFC has a mandatory input structure called PERSDATA. I am using the following test code to call the RFC:      IWDMessageManager manager = wdComponentAPI.getMessageManager();      try

  • Getting Mac OS X Snow Leopard

    Hi, I would like to buy the new Mac OS X 10.6 Snow Leopard, but, to my great surprise, I have found that the price for the "Single User" version is £ 30.18 (GBP) on the Apple Store UK website, while the price on Apple Store US is only $ 29.00 (USD).

  • Quick question about Time Machine

    The hard drive I use for my TM backup has failed and I need a new one. Will pretty well any external hard drive do the job, solong as it has enough capacity? Thanks

  • FM for list of holidays

    Hi Friends, i need a Function module for knowing the list og holidays based on emplyoee subgrouping and personnel subarea grouping and workschedule as shown in PT03 transaction. regards Kumar M

  • Where do I begin?

    1) I have a table full of data 2) I have an XML schema 3) I need to get the data from the table and put it into an XML file that conforms to the XML schema. 4) I don't want to write a ton of PL/SQL to manually output the XML. There are so many produc