EntityNew results in error

Hi! I started to learn CF9 and wanted to  try the ORM features, but i am getting an error when
calling the entityNew() - methode
So i enabled ORM in my application.cfc by using the line
<cfset this.ormenabled = "true">
then i create the entity cfc in package components/orm/abteilung.cfc, which looks like this:
<cfcomponent persistent="true">
    <cfproperty name="abteilung_id" fieldType="id" generator="native">
    <cfproperty name="bezeichnung" ormtype="string">
    <cfproperty name="abtnr" ormtype="string">
</cfcomponent>
I tried the to get the data using <cfQuery> and it works fine. But when i try to create a new entity
using (ColdfusionBuilder presents me 'abteilung' for selection when i type the command)
<cfset abt = entityNew("abteilung")>
this results in an error.
I already tried to create the entity after setting the path to the cfc folder and defining the dialect
<cfset this.ormsettings.cfclocation = "components/orm/">
<cfset this.ormsettings.dialect = "Informix">
The error appearing is:
onRequest: coldfusion.runtime.EventHandlerException: Event handler exception
and the code calling is as following:
<h1>Print Abteilungen</h1>
<cfquery name="test">
     SELECT * FROM abteilung
</cfquery>
<cfdump var="#test#" >
<cfset a=entityNew("abteilung") >
<cfdump var="#a#" >
Everything works fine until i added the entityNew - call
As i found out on google entityNew does only create an instance of the passed cfc name, and doesn't use the database
or hibernate/Orm methodes... so i have no idea how to solve that.
Can anyone help? Would be much appriciated!
All the best Florian

I get rid of the error, but i don't really know how...
I started to create a new CF project and made the simplest orm application possible.
Just setting:
    <cfset this.name = "ormtest">
    <cfset this.dataSource = "b2b">
    <cfset this.ormEnabled=true>
in Application.cfc
Using abteilung.cfc from the past example and following index.cfm:
<h1>Test</h1>
<cfset fluffy = entityload("abteilung",1)>
<cfdump var="#fluffy#" >
It worked on first call...
Now i tried to find out why the old page wasn't working... but, dada... everything works fine.
I noticed that my static client pagecount (in the old application) variable was set back.
I guess that means the server got restarted?
Do i have to restart CF before first using the orm features?
mfg florian

Similar Messages

  • DSC: Importing Shared Variables results in error -1950679010

    This post is more of an "FYI" rather than a question.  I am using LV DSC 8.2.
    ASIDE:  I ran into this problem because I was trying to solve a related problem with Deploy Library.vi (I had dependant libraries that deployed manually, but not programmatically).  Eventually, I found the answer in http://digital.ni.com/public.nsf/allkb/8EF71E1DDDC36C908625716900594B50 (not a very satisfactory answer however, IMHO).
    During my solution search, another hint was provided with http://forums.ni.com/ni/board/message?board.id=170&message.id=177268&requireLogin=False which hints that using a "Network" defined SV, as opposed to a "Project" defined SV, could help.  Then I discovered the difference between NetworkrojectPath and Network:URL in the SV property definition.  Then I realized that NetworkrojectBinding is exposed in the Import fields (using the Multiple Variable Editor to do the importing of course), and this gave me the idea of being able to define a Network SV using the Import function.
    Unfortunately, it does not work.  In the csv file I set NetworkrojectBinding to FALSE, Network:UseBinding to TRUE and provide a valid Network SV path, but this results in error -1950679010: "Shared variable is bound but path or URL is not specified", which occurs when trying to save the LVLIB.  It would be nice to know why this doesn't work, as I think it should.  I think it is a problem with the SV import mechanism.
    David Moerman
    TruView Technology Integration Ltd.

    Yes, you can do this programatically.  I've attached a small chunk of example code (LV 8.5) that creates just 1 variable, as well as an image of it in case you are using an earlier version of LV.  If you want to create multiple variables for the same library just put the "AddSharedVariableToLibrary" in a loop, of course.
    David Moerman
    Attachments:
    Create Library and SV.PNG ‏48 KB
    Create Library of SVs - BASIC.vi ‏24 KB

  • Using LOV with Validation on the Numeric Fields results in Error

    Dear JHeadstart Team,
    During my work with lov I encountered another problem. I defined a lov and attached the lov to a numeric field and check the LOV for validation. Now when I use LOV using the LOV button it works fine but when I enter some numbers and then press tab the LOV was not shown correctly and resulted in the following errors and the worst thing is that you can not navigate to any other pages and all try to navigate to other pages results in errors too. When we put the same LOV on a string field (which is not desirable for us) it worked fine.
    It seems to me like a bug. Am I right? Is ther any solution or workaround for this problem?
    Thanks in advance,
    Navid
    16:31:29 DEBUG (LovItemBean) -Cleared value of item HrTrainingCourseSchedulesTitle
    16:31:29 DEBUG (LovItemBean) -Cleared value binding #{bindings.HrTrainingCourseSchedulesTitle.inputValue} of item HrTrainingCourseSchedulesTitle
    16:31:29 ERROR (ApplyRequestValuesPhase) -java.lang.ClassCastException: java.lang.Long
    javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.Long
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1079)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at oracle.adf.view.faces.component.UIXSelectInput.broadcast(UIXSelectInput.java:215)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.pooya.controller.jsf.PooyaAuthenticationFilter.doFilter(PooyaAuthenticationFilter.java:256)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: java.lang.Long
         at oracle.jheadstart.controller.jsf.bean.LovItemBean.validateWithLov(LovItemBean.java:101)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 31 more

    Hi Navid,
    We ran into the same bug and have the next workaround for it:
    We extended the JHeadstart class 'LovItemBean' and we have overridden the method 'validateWithLov(...)' with:
      public void validateWithLov(ValueChangeEvent valueChangeEvent)
        Object newValue = valueChangeEvent.getNewValue();
        if(newValue != null && !(newValue instanceof String))
          newValue = newValue.toString();
          ValueChangeEvent newEvent = new ValueChangeEvent(valueChangeEvent.getComponent(), valueChangeEvent.getOldValue(), newValue);
          newEvent.setPhaseId(valueChangeEvent.getPhaseId());
          super.validateWithLov(newEvent);
        else
          super.validateWithLov(valueChangeEvent);
      }Next step is to use a custom template in your JHeaedstart Application Structure file for 'LOV_ITEM_BEAN'. In this custom template you should use your own class as 'managed-bean-class' instead of the default JHeadstart one.
    Now you can safely generate LOV with validation of number fields.
    Maybe something the JHeadstart can pcik up in the next release of JHeadstart :-)
    Hope this helps.
    Pascal

  • WSRP: Relative URL results in error code 404 in the consumer access.log

    Hello everyone,
    I deployed a JSF portlet(implemented in facelets) in Weblogic Server 10.3.2 (11g) [extended to support WSRP]. When the JSF portlet is consumed from a 'consumer' portal [Weblogic 10.3.2 portal], WSRP URL Rewrite results in error code 404 in the consumer portal access.log if the relative path (contextPath+resourcePath) of the javaScript resource is provided.
    However, when the absolute path (protocol + serverName + port+ contextPath) of the JavaScript resource is provided, it works correctly:
    works:
    <script type="text/javascript" src="#{request.protocol}://#{request.serverName}:#{request.serverPort}#{request.contextPath}/resources/scripts/search/patientSearch.js"><!-- --></script>
    Failed:
    <script type="text/javascript" src="#{request.contextPath}/resources/scripts/search/patientSearch.js"><!-- --></script>
    Any idea on what is causing the incorrect URL Rewrite?
    The .xhtml and the portlet wsdl are listed below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:nchic="http://www.saic.com/nchicago/jsf">
    <ui:composition template="/WEB-INF/facelets/templates/page-protected.xhtml">
    <head>
    <title>not used</title>
    <ui:define name="title">#{msgs.searchPageTitle}</ui:define>
    <ui:define name="head">
    <f:verbatim>
    <style type="text/css">
    #patientSearchContainer .pageCentered {
    width: 800px;
    #patientSearchFormInstructions {
    padding: 10px 0px 10px 0px;
    font-weight: bold;
    font-size: 11px;
    text-align: left;
    .s-form-label {
    width: 250px;
    .s-form-input {
    width: 450px;
    </style>
    </f:verbatim>
    <script type="text/javascript" src="#{request.protocol}://#{request.serverName}:#{request.serverPort}#{request.contextPath}/resources/scripts/search/patientSearch.js"><!-- --></script>
    </ui:define>
    </head>
    <body >
    <ui:define name="body" >
    <h:panelGroup id="patientSearchContainer"
    layout="block"
    style="text-align: center;">
    <rich:panel id="patientSearchPanel"
    styleClass="pageCentered"
    header="#{msgs.searchPanelSearchTitle}">
    <h:panelGroup id="patientSearchFormInstructions" layout="block">
    <h:outputText value="#{msgs.searchInstructions}" />
    <ul>
    <li><h:outputText value="#{msgs.searchInstructions1}" /></li>
    <li><h:outputText value="#{msgs.searchInstructions2}" /></li>
    <li><h:outputText value="#{msgs.searchInstructions3}" /></li>
    </ul>
    </h:panelGroup>
    <h:panelGroup id="errorPanel"
    layout="block"
    rendered="#{searchForm.hasMessages}">
    <h:panelGroup layout="block"
    style="padding: 5px;">
    <h:outputFormat value="#{msgs.errorMultipleMessage}"
    rendered="#{searchForm.errorCount &gt; 1}">
    <f:param value="#{searchForm.errorCount}" />
    </h:outputFormat>
    <h:outputFormat value="#{msgs.errorSingleMessage}"
    rendered="#{searchForm.errorCount == 1}">
    <f:param value="#{searchForm.errorCount}" />
    </h:outputFormat>
    <h:messages layout="list"
    showSummary="false"
    showDetail="true"
    errorClass="errors"
    styleClass="errorsList" />
    </h:panelGroup>
    </h:panelGroup>
    <h:form id="patientSearchForm" prependId="false">
    <h:panelGrid columns="2"
    columnClasses="s-form-label,s-form-input"
    summary="#{msgs.tableSummary}">
    <nchic:label for="queryIdType"
    value="#{msgs.labelIdType}"
    required="false" />
    <h:selectOneMenu id="queryIdType"
    value="#{searchForm.criteria.identificationType}"
    converter="patient.IdentificationType"
    tabindex="2"
    styleClass="masked-hidden not-required">
    <f:selectItems value="#{searchForm.lists.allIdTypes}" />
    <a4j:support event="onchange"
    reRender="sponsorSearch,queryIdNumber"
    oncomplete="JointReg.searchForm.patientIdTypeUpdateComplete();"
    onsubmit="JointReg.searchForm.patientIdTypeUpdateSubmit();"
    actionListener="#{searchForm.identificationTypeChangeListener}" />
    </h:selectOneMenu>
    <nchic:label for="sponsorSearch"
    value="#{msgs.labelIdNumberRadios}"
    required="false" />
    <h:selectOneMenu id="sponsorSearch"
    value="#{searchForm.criteria.sponsorSearch}"
    tabindex="3"
    disabled="#{searchForm.identificationDisabled}"
    styleClass="masked-hidden not-required">
    <f:selectItem itemValue="true" itemLabel="#{msgs.labelSponsor}" />
    <f:selectItem itemValue="false" itemLabel="#{msgs.labelPatient}" />
    </h:selectOneMenu>
    <nchic:label for="queryIdNumber"
    value="#{msgs.labelIdNumber}"
    required="false" />
    <h:inputText id="queryIdNumber"
    converter="patient.IdentificationNumber"
    value="#{searchForm.criteria.identificationNumber}"
    tabindex="4"
    styleClass="not-required resettable"
    disabled="#{searchForm.identificationDisabled}"
    maxlength="11" />
    <nchic:label for="queryBirthDate"
    value="#{msgs.labelBirthDateShort}"
    required="false" />
    <nchic:date id="queryBirthDate"
    value="#{searchForm.criteria.birthDate}"
    monthValues="#{searchForm.lists.allMonths}"
    dayValues="#{searchForm.lists.allDays}"
    yearValues="#{searchForm.lists.allYears}"
    tabindex="5"
    styleClass="masked-hidden not-required resettable" />
    <nchic:label for="queryLastName"
    value="#{msgs.labelLastName}"
    required="false" />
    <h:inputText id="queryLastName"
    value="#{searchForm.criteria.lastName}"
    tabindex="8"
    maxlength="30"
    styleClass="not-required resettable" />
    <nchic:label for="queryFirstName"
    value="#{msgs.labelFirstName}"
    required="false" />
    <h:inputText id="queryFirstName"
    value="#{searchForm.criteria.firstName}"
    tabindex="9"
    maxlength="30"
    styleClass="not-required resettable" />
    <nchic:label for="queryGender"
    value="#{msgs.labelGender}"
    required="false" />
    <h:selectOneMenu id="queryGender"
    value="#{searchForm.criteria.gender}"
    converter="patient.Gender"
    tabindex="10"
    styleClass="masked-hidden not-required resettable">
    <f:selectItems value="#{searchForm.lists.allGenderTypes}" />
    </h:selectOneMenu>
    </h:panelGrid>
    <h:panelGroup layout="block" style="text-align: center">
    <h:panelGroup layout="block"
    style="padding-top: 15px; margin-left: auto; margin-right: auto;">
    <h:commandButton action="#{searchForm.searchAction}"
    value="#{msgs.buttonSearch}"
    styleClass="s-button"
    tabindex="11"
    onclick="jQuery(document.body).mask('Searching...');" />
    <rich:spacer width="10" />
    <h:commandButton type="button"
    styleClass="s-button"
    onclick="return JointReg.searchForm.resetSearchForm();"
    tabindex="12"
    value="#{msgs.buttonClearSearch}" />
    <rich:spacer width="100" />
    <h:commandButton action="#{searchForm.createJohnDoeAction}"
    styleClass="s-button"
    onclick="jQuery(document.body).mask('Registering...');"
    tabindex="13"
    value="#{msgs.buttonJohnDoe}" />
    </h:panelGroup>
    </h:panelGroup>
    </h:form>
    </rich:panel>
    </h:panelGroup>
    </ui:define>
    </body>
    </ui:composition>
    </html>
    WSDL:
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    - <s0:definitions xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:s2="urn:oasis:names:tc:wsrp:v1:bind" xmlns:s3="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s4="urn:bea:wsrp:ext:v1:bind" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
    <import location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-2.0/markup?WSDL" namespace="urn:oasis:names:tc:wsrp:v2:wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" />
    <s0:import location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/markup?WSDL/wlp_wsrp_v1_bindings.wsdl" namespace="urn:bea:wsrp:ext:v1:bind" />
    <s0:import location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/markup?WSDL/wsrp_v1_bindings.wsdl" namespace="urn:oasis:names:tc:wsrp:v1:bind" />
    <wsp:UsingPolicy s0:Required="true" />
    - <wsp:Policy s1:Id="ProducerDefaultPolicy">
    - <wsp:All>
    - <wssp:Identity xmlns:wssp="http://www.bea.com/wls90/security/policy">
    - <wssp:SupportedTokens>
    - <wssp:SecurityToken TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-2004-01-saml-token-profile-1.0#SAMLAssertionID">
    - <wssp:Claims>
    <wssp:ConfirmationMethod>sender-vouches</wssp:ConfirmationMethod>
    </wssp:Claims>
    </wssp:SecurityToken>
    </wssp:SupportedTokens>
    </wssp:Identity>
    </wsp:All>
    </wsp:Policy>
    - <s0:service name="WSRPService">
    - <s0:port binding="s2:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
    <s3:address location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/markup" />
    </s0:port>
    - <s0:port binding="s2:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
    <s3:address location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-1.0/serviceDescription" />
    </s0:port>
    - <s0:port binding="s4:WLP_WSRP_v1_Markup_Ext_Binding_SOAP" name="WLP_WSRP_Ext_Service">
    <s3:address location="http://10.75.2.235:7711/RegistrationPortlet/producer/wsrp-wlp-ext-1.0/markup" />
    </s0:port>
    </s0:service>
    </s0:definitions>

    did you publish the internetserive "<b>bbpstart</b>" to site internal?
    Regards
    Raja

  • Configuration validation resulted in error(s)

    Hi,
    I am facing a problem in configurator,we are using deferred booking workflow.When we are creating new orders with ATO/PTO items the standard BOOK Node in the workflow is getting completed with result Incomplete.
    The error message on sales order, which we can see from View all open messages, is saying as"Configurator validation resulted in error(s)".
    When we copy the above sales order which is failing with above error and create a new order, the new order is getting booked successfully.We are not changing anything in the copied order.
    Also the deferred workflow is not giving any issues when creating a sales order using the Standard item.The OM debug is also not suggesting anything related to this.
    Please let me know if anyone have come across this issue.
    Thanks!

    Thanks Sandeep for ur reply on this..
    I followed the process u mentioned but it didnt work.Actually as I mentioned in my first question, this issue is coming up only when we are creating new sales order.If we copy the sales order which is not getting booked then the new one(copied) sales order's gets booked correctly.Though the copied sales order also have same configuration.
    I also tried to validate the Configuration for the sales order having issue using the api CZ_CONFIG_API_PUB.verify_configuration and this resulting as SUCCESS.
    Is there any thing in the deferred booking process which may cause this issue?
    Also the error message Configuration Validation resulted in errors is coming through a exception, and the exception is being used in CZ_BATCH_VALIDATE.The batch validate is being called from Send_Input_xml procedure.It seems if we copy the order this procedure for batch validate is not being called.
    but i m not getting any clue in Send_Input_xml procedure abt why exception is being raised.
    Thanks!

  • 'Check  covered levels OKS'  process results in error during QA checkup

    Hi,
    The following process in QA test, before submiting a service contract results in error.
    'Check covered levels OKS' with the error message
    "Atleast one covered line is required".
    I'm not able to choose any product.
    How to set the covered level as product in service contracts?
    In the service contracts authoring window, under lines tab -->pricing/products-->
    effectivity
    line number
    level- covered product. But the lov in name field doesn't list any value ?
    what could be the possible reason for this?
    Regards,
    Nithya

    Well, I think I can only give some limited info about these questions since I am only a contracts user, not a developer or administrator.
    But here's a few things that might help.
    1 & 2) I have always created contracts from scratch where I work. They can't seem to get OM to create contracts correctly (so I can't help with question 2). I don't use OM except for inqueries.
    When you create such a contract, it should show up in the Install Base (IB) if you look up the IB record with the related Reference Number (which changed to Product Number in the IB when my company switched from 11.5.5 to 11.5.8). In my case it was the Contracts tab in 11.5.5 (Java interface) and the Contracts link in 11.5.8 (HTML interface).
    3) From my experience, the Contract Number is the Sales Order Number in View Transactions if you had the AR Interface checked in the contract.
    If you want to change from not having the AR Interface checked to having it checked, I think this works fine and the contract will bill the next time the Main Billing program is run after you make the change, as long as the Bill On Date (11.5.5) or Invoice Date (11.5.8) is set to the current date or earlier. An Invoice (INV line item with invoice # -99) will show up in the Billing History after the AR to Contracts Interface program is run. The actual invoice # will show up in this Billing History after the Invoicing programs are run.
    In 11.5.5, if our contract started in the future, we not only had to make sure the Bill On Date was current or earlier, but also run the Main Billing program on that contract with a date equal to or later than the end date of the contract we wanted to bill before it would work. Do not do this on all your contracts at once if you have recurring billing on any of them. You must run it on the individual contracts, otherwise the recurring contracts will bill in full. This is supposedly fixed in 11.5.8, since you can use offsets of more than 31 days on the invoice date, but we haven't billed any yet, so I can't say for sure.
    I had problems with billing when trying to change the ammounts in the line items after the billing program had already invoiced a contract in 11.5.5 and haven't tried this in 11.5.8 (it billed incorrect ammounts on the successive invoices).
    Note that we have a highly customized version of Oracle Applications 11i, so your results may differ somewhat.

  • Distribution Cycle KSV5 Resulting in error when deselected the test run chk

    Hi Experts,
    Please help me out
    iam getting an error while running a Distribution Cycle KSV5 Resulting in error when deselected the test run chk box.
    When run the same in the test run, there isn't any error log. but when i deselect the same & run iam getting an error like
    First Message:
    Balance per segment 9999 is not zero
    Message no. FAGL_COFI025
    Diagnosis
    Balance per segment 9999 is not zero.
    The balance on segment 9999 is 50.00 (transaction currency), 0.00 (object currency), and 50.00 (controlling area currency).
    System Response
    With the standard settings, postings cannot be made to the document because the balance for segment and partner segment does not amount to zero. This may be due to a programming error, or this setting may have been made (perhaps unintentionally) in the BAdIs for determining the segment or partner segment.
    Procedure
    If there is a programming error, please inform your system administrator.
    If this behavior is intentional, you can deactivate error message FAGL_COFI 025 in Customizing or change the error message into a warning message or an information message.
    2nd Message
    Balance per segment 1000 is not zero
    Message no. FAGL_COFI025
    Diagnosis
    Balance per segment 1000 is not zero.
    The balance on segment 1000 is 50.00- (transaction currency), 0.00 (object currency), and 50.00- (controlling area currency).
    System Response
    With the standard settings, postings cannot be made to the document because the balance for segment and partner segment does not amount to zero. This may be due to a programming error, or this setting may have been made (perhaps unintentionally) in the BAdIs for determining the segment or partner segment.
    Procedure
    If there is a programming error, please inform your system administrator.
    If this behavior is intentional, you can deactivate error message FAGL_COFI 025 in Customizing or change the error message into a warning message or an information message.
    3rd Message
    No update performed due to an error
    Message no. GA719
    Diagnosis
    A serious error occurred during processing.
    System Response
    Processing is continued as far as possible, but results are not posted.
    Procedure
    This error is shown in the error list before this error message. Here you can find more information about this particular error.
    I would appreciate an early reply........!!!
    Thanks & Regards,
    Neela

    Hi,
    Check notes 764652 and 897086; it might be helpful.
    Regards,
    Eli

  • Solman_admin password changes results in errors during managed system setup

    Hello all,
    I am trying to get Solman 4.0 EHP 1 to work, but get numberous problems.
    Currently I have 6 messages at SAP, but no solution yet.
    Situation:
    Solman 4.0
    SAP_BASIS     701     0003
    SAP_ABA     701     0003
    ST-PI     2008_1_700     0000
    PI_BASIS     701     0003
    SAP_BW     701     0003
    CRMUIF     500     0001
    SAP_AP     700     0014
    BBPCRM     500     0013
    CPRXRPM     400     0014
    BI_CONT     704     0002
    ST     400     0019
    ST-A/PI     01L_CRM570     0000
    ST-ICO     150_700     0016
    ST-SER     701_2008_2     0002
    So, it is uptodate.
    The problem:
    Changing the solman_admin password results in errors during connecting a managed system.
    In the inital setup the solman_admin is created with a pasword.
    After the basic setup I setup some managed systems.
    In the meantime I had to change the password of solman_admin
    I am logged in with solman_admin and do solman_setup to setup the managed system.
    During the setup a process tries to logon back to the solman using solman_admin and the incorrect password.
    This is the logging:
    Step SSO Details
    Found SID for SSO ACL entry : MSD
    Found login.ticket_client for SSO ACL entry : 000
    The Read entry permission on TicketKeystore/SAPLogonTicketKeypair-cert was given to sap.com/tcwebadministratorsolmandiag/servlet_jsp/smd/root/WEB-INF/lib/SetupLib.jar
    The TicketKeystore/SAPLogonTicketKeypair-cert was succesfully read (823 bytes)
    A failure occured while connecting to ABAP stack on localhost sys=70 client=300 user=SOLMAN_ADMIN
    !! Exception : Password logon no longer possible - too many failed attempts
    A failure occured while importing ABAP SSO ticket certificate in ABAP stack
    !! Exception : java.lang.NullPointerException
    Java SSO ticket certificate of MSD was imported in ABAP PSE of kswv024.mob.local (client 300)
    The Java SSO ticket certificate was successfully imported in ABAP System PSE, and the ACL updated accordingly (SID=MSD LoginTicketClient=000)
    Anyone else has this problem?
    gr
    Sander

    Just for clarification it's Solman 7.0 EHP1 correct?
    Also you may want to unlock the following user:
    localhost sys=70 client=300 user=SOLMAN_ADMIN
    Then if you navigate (in solution manager) to TCode solman_workcenter -> "Root Cause Analysis" tab ->"Agent Administration" menu item on the left -> "Applications Configuration" tab -> under the Agent Applications - Configuration menu on the left select "com.sap.smd.agent.application.global.configuration" -> Change the "Scope" drop down in the frame to the right to the SMD agent that you are using for "localhost sys=70 client=300" -> Click the "edit" button to the right of the Scope drop down box -> now find the entry below that lists "SOLMAN_ADMIN" as the user and find the corresponding password entry and update it with the new password that you changed it to -> click save and try the managed setup again.
    Hope this helps, please let me know and we can go from there.

  • Export from OWB Release: 9.2.0.2.8  results in error: MDL1255: Error export

    An export of a whole project from the OWB-client results in error en crash of the OWB Client.
    Does anyone know what causes this?
    Below the contents of the log-file generated by the export-utility
    Export started at 11/14/2005 4:53:17 PM
    * Export from OWB Release: 9.2.0.2.8 Version: 9.2.0.2.0
    * User: owbrep_MDN_dev Connect String: (DESCRIPTION=(ADDRESS=(HOST=l2-bm13-e0g.nl.rsg)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=owbrep.l2_bm13_e0g.nl.rsg)))
    * Definition File: null
    * Data File: C:\data\owb\o\MIS_MDN-20051114_1651.mdl
    * Log File: C:\data\owb\o\Log.log Log Message Level: ALL
    * Physical Names: Y Field Separator: | Character Set: WE8MSWIN1252
    * Project: MIS_MDN Configuration Data: Y
    MDL1256: Error occurred exporting LOCATION with physical name <DB>, business name <DB>.
    Detailed Error Message:
    MDL1255: Error exporting CONNECTOR for LOCATION <DB/DB>.
    Error in SQL Statement. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    *************************************************************

    This will not work.. Ypu cannot use FTP to 'PULL' a document into the database. (Yes I know there's a placeholder for an FTPURITYPE() but it was never implemented).
    However you can use an FTP client to PUSH content into the XML DB repository. If the content is schema based XML associated with a known (registered) XML schema the content of the file will automatically be stored in the default table associated with the root element of the file. If the content is not associated with an known XML schema you can then use xdburitype to read the resource that was created when the document was uploaded into the repository

  • WS17900260 - Task TS17900108 resulted in error, in HCM Processes and Forms

    Hi,
      I have designed a HCM process and workflow. In custom workflow ,WS17900260 (TS17900108) has been used to save data. In this step it is resulting in error and shows the below message in "Step History" tab. No message in Message Tab.
    Work item 000000172044: Object CL_HRASR00_WF_COMPONENTS method SAVE_FORM_DATA_TO_DB cannot be exe
    Message no. WL821
    An exception with the type CX_HRASR00_PROCESS_MODE LLING occurred, but was neither handled locally.
    I tried executing the associated method and I did not get any error. Please let me know if anyone has faced this issue and how it is resolved.
    Thanks,
    Sri

    Hi Sri
    Expecting a prompt answer in 2 hours time is a tad too demanding for all of us
    We try to help you based on our experience and if we do not have it, we just wait for the right one to respond.
    It is not that I have experience in HCM Processes and Forms, but a little bit of googling to help you gave me the following:
    1) SAP Help for your task TS17900108 states that it has the same requirements for binding as that of task TS17900107 .... check the latter half of the page here:
    https://help.sap.com/saphelp_erp60_sp/helpdata/en/42/f28f8a1e5132c3e10000000a1553f6/content.htm
    2) If you check TS17900107 binding requirements, it needs certain necessary parameters which may be causing the issue. Check the mandatory requirements here:
    https://help.sap.com/saphelp_erp60_sp/helpdata/en/42/f2cf2c249b3268e10000000a1553f6/content.htm
    Also check for authorizations
    3) See how another user solved the issue with the same method here:
    http://scn.sap.com/thread/1753027
    4) See the possible advice for a similar issue with task TS17900107 (which is kind of similar to your task)
    Novice in HR forms and processes workflow - help in usage of TS17900110
    I checked various threads and the common link is that it all depends on your system and the bindings or the custom functions called within. Also do check for authorizations as mentioned in the first link from Help.sap.com
    I am sorry, I cannot give you further details because I myself do not have experience in HCM P&F. I am sure you too can google further from here, or we can be a little more patient for others to reply (I understand that some issues are critical and need immediate resolution, but we all are busy in our own projects and sometimes are not able to reply immediately).
    Regards,
    Modak

  • PLEASE HELP!!! Item Validation Resulted in error(s).

    We get following error when using Oracle process_order API to create an Order.
    Where should I check from? All the items seem valid.
    There were errors in Oracle API
    Item Validation Resulted in error(s).
    Cannot get valid name for - Item_Relationship_Type

    Pl see if ML Doc 417696.1 will help
    Srini

  • ExecuteQueryForObject returned too many results jdbc error

    Hi All,
    I am getting the following error on running the tomcat 6.0 and I have Oracle 11g installed.
    08 Dec 2010 16:23:41 ERROR [QUARTZ_Worker-5] org.quartz.core.JobRunShell - Job DCTM.DCTMServerPipe threw an unhandled Exception:
    org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; Error: executeQueryForObject returned too many results.; nested exception is java.sql.SQLException: Error: executeQueryForObject returned too many results.
         at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:121)
         at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:322)
         at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:212)
         at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(SqlMapClientTemplate.java:271)
         at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(SqlMapClientTemplate.java:265)
         at com.emc.documentum.bpm.daos.impl.AbstractIbatisBaseDaoImpl.queryForObject(AbstractIbatisBaseDaoImpl.java:119)
         at com.emc.documentum.bpm.bamengine.daos.impl.ServerConfigDaoImpl.getDBCurrentTime(ServerConfigDaoImpl.java:28)
         at com.emc.documentum.bpm.bamengine.services.server.factory.impl.ServersFactoryImpl.updatePipeServerTimezoneOffset(ServersFactoryImpl.java:56)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy50.updatePipeServerTimezoneOffset(Unknown Source)
         at com.emc.documentum.bpm.bamengine.services.sharedservices.impl.TaskManagerServiceImpl.executePipe(TaskManagerServiceImpl.java:341)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy52.executePipe(Unknown Source)
         at com.emc.documentum.bpm.bamengine.scheduler.impl.PipeJobImpl.execute(PipeJobImpl.java:17)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
    Caused by: java.sql.SQLException: Error: executeQueryForObject returned too many results.
         at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForObject(MappedStatement.java:124)
         at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:518)
         at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:493)
         at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:106)
         at org.springframework.orm.ibatis.SqlMapClientTemplate$1.doInSqlMapClient(SqlMapClientTemplate.java:273)
         at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:209)
         ... 23 more
    How can this be resolved? Please help !!
    Thanks, T
    Edited by: 805903 on Dec 9, 2010 3:00 AM

    Error executeQueryForObject returned too many results
    Typical Error msg:
    “SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; Error: executeQueryForObject returned too many results.; nested exception is java.sql.SQLException: Error: executeQueryForObject returned too many results”
    The error is caused for using queryForObject (for a single result) instead of queryForList (when expecting multiple results).
    Example of correct solution
    In DAO:
    public List<UpdatedContractRateDO> getUpdatedCtrctRate(Map paramMap) throws DataAccessException {
    return (List<UpdatedContractRateDO>) getSqlMapClientTemplate().queryForList("charge.getUpdatedCtrctRate", paramMap);
    }

  • SMS... iPhone spontaneously adding 1 to phone numbers, resulting in error

    I have all of my contact phone numbers stored as 10 digit numbers.
    Recently, when texting to some of these contacts, the iPhone has started adding the extra digit "1" before the phone numbers, resulting in error messages, and undelivered text messages.
    What gives? Has anyone else had this problem?

    you can do this with apple script.
    Paste the following into Script Editor and run it.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Address Book"
    set NP to number of people
    repeat with i from 1 to NP
    set pers to person i
    repeat with cphone in phones of pers
    if value of cphone is not equal to "" then
    set cur_phone to value of cphone
    set value of cphone to "1" & cur_phone
    end if
    end repeat
    end repeat
    end tell</pre>

  • Does multiple instances of DAQmx start task result in error?

    I am trying to read voltages from pressure transducers and LVDTs in two separate While Loops. But when running the program there is an error regarding DAQmx Start Task.vi. So I was wondering if multiple instances of DAQmx Start task results in error. I have attached the vi.
    Thanks
    Attachments:
    IsoConsolidationDAQMAX02.vi ‏140 KB

    Thank you for the reply. New to Labview so I didn't know that we had to search using the error code, I tried searching using text though. Will do that from the next time, thanks.
    I do not have the problem with the write tasks but only with the read tasks. Right now I have one start task for all the input from the pressure transducers and LVDTs and three start tasks for the three analogue outputs and the program seems to run fine.

  • Item Validation Resulted in Error(s)

    Hi,
    We getting this message ' Item Validation Resulted in Error(s)' while doing the following.
    - Changed the ship to address at the header level for the booked order
    - Oracle is asking whether to cascade the changes to the line level
    - On selection yes to cascade the changes to the line level we are getting
    this error message' Item Validation Resulted in Error(s)'
    Do you have any idea about the fix for this problem.
    Note - Currently we are using a workaround for this.
    Step 1) deselecting and the Item identifier type and Ordered item on the MAIN order line tab --> Saving the changes
    Step 2) Changing the Ship to address to the new desired value on the ADDRESSES tab.
    Thanks
    Sunil

    Hi - I am getting something similar when attempting to add a line to certain order via the Process Order API. The source for this new line is copied from a previous order but when I try to copy to the new order I get the same error. In order to get around the problem, I do not copt the original ORDERED_ITEM and ITEM_IDENTIFIER_TYPE (which was 'CUST'). When doing this, the order line copies to the new order successfully but shows the item's SEGMENT1 value rather than the ORDERED_ITEM from the source order. Any pointers would be much appreciated
    Steve

Maybe you are looking for

  • You can have BIG TROUBLE with FIOS (half phone line only)

    Hello world, I got the FIOS mid-September, and this week it will be one month since my phone line broke for a lot of people (they can't call me anymore), and Verizon can't do anything to correct their misconfiguration. So, I am alone, with half of a

  • Veescope Live on Macbook Pro via Matrox IO?

    Hope you've all been doing well Question: Green Screen and live keying and viewing Camera: Sony A65 Viewing Devices: 2011 Macbook Pro 15 inch (System Unit), Sony Bravia (HDTV) About to do my first green screen movie and wondering what devices would b

  • Consume SAP WebService Bean with Flex

    Hello, I have an flex application thaht call an sap java webservice bean. And this bean have his own xml namespace. How can I read this xml in flex ? I have done some test with e4x but I found no solution. flex : <?xml version="1.0" encoding="utf-8"?

  • Anyone know what I need for basic program text?

    So I have a 'server' (really an older desktop) running Arch, and only recently have I installed a GUI which I use remotely through FreeNX or VNC. The reason for this is because sometimes it's faster to get things done through the GUI than the command

  • Acccount/Contact WSDL question

    I retrieve a record from the Account WSDL I then access the ListOfContact interface to get a Contact Record. In this Contact record is a field plPrimary_Position. I don't see any documentation for this field. Am I missing a docuement? My specific que