Error in defining a correlation in netbeans for a BPEL
hallo,
would anybdy be kind enough to tell me where i've done somthing wrong?
there are two receive activities in a BPEL, recieve1 and recieve2. on the latter i have defined a correlation whose initiator is recieve1. the related source code from correlationWSDL is :
<vprop:property name="wzrd_prop_ContactNo_ContactNo" type="xsd:int"/>
<vprop:propertyAlias propertyName="tns:wzrd_prop_ContactNo_ContactNo" messageType="ns:checkLeadDuplicationStatusRequest" part="part1">
<vprop:query>/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>
</vprop:propertyAlias>
<vprop:propertyAlias propertyName="tns:wzrd_prop_ContactNo_ContactNo" messageType="ns:leadWSOperationRequest" part="part1">
<vprop:query>/ns0:LeadDetailedInfo/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>
</vprop:propertyAlias>error that i'm getting is:
ERROR: The first step has to be "ns0:LeadCoreInfo", if an absolute path is used for query. Expression: "/ns0:LeadCoreInfo/ns0:ContactNo"
regards
thanks, mr. bhasin.
i have used the same wizard for correlation.i haven't solved the problem, but have found an alternative instead. lemme tell you what i have done. if i replace
<vprop:query>/ns0:LeadDetailedInfo/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>with the following code line then it works:
<vprop:query>/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>the problem is that the element that is correlated on the two recieve activities has to be on the same level of hierarchy, otherwise it does give error. it seems quite ridiculous to me, coz inputs might be different at any two activities, and is the case most of the times.
part of the schema is:
<xsd:element name="LeadCoreInfo" type="tns:leadCoreInfoType"/>
<xsd:element name="LeadDetailedInfo" type="tns:leadDetailedInfoType"></xsd:element>
<xsd:element name="LeadDuplicationStatus" type="xsd:string"/>
<xsd:element name="LeadCreated" type="xsd:integer"/>
<xsd:element name="AgentAssigned" type="tns:agentType"/>
<xsd:element name="AutoID" type="xsd:int"/>
<xsd:element name="Result" type="xsd:string"/>
<xsd:complexType name="leadCoreInfoType">
<xsd:sequence>
<xsd:element name="FirstName" type="xsd:string"/>
<xsd:element name="LastName" type="xsd:string"/>
<xsd:element name="ContactNo" type="xsd:int"/>
<xsd:element name="Email" type="xsd:string"/>
<xsd:element name="AutoID" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="leadDetailedInfoType">
<xsd:sequence>
<xsd:element name="LeadCoreInfo" type="tns:leadCoreInfoType"/>
<xsd:element name="LeadOwner" type="xsd:string"/>
<xsd:element name="Title" type="xsd:string"/>
<xsd:element name="LeadSource">
<xsd:complexType>
<xsd:choice>
<xsd:element name="ColdCall" type="xsd:string"/>
<xsd:element name="ExistingCustomer" type="xsd:string"/>
<xsd:element name="IncomingCall" type="xsd:string"/>
<xsd:element name="EmailLead" type="xsd:string"/>
<xsd:element name="CustomerReferral" type="xsd:string"/>
<xsd:element name="Web" type="xsd:string"/>
<xsd:element name="WordOfMouth" type="xsd:string"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
in leadBPEL i have defined a correlation on recieve2 whose initiator is recieve1. in correlation wizard, i mapped AutoID (of message sent to recieve1) to AutoID (of message sent to recieve2). the source code of leadBPEL is:
<?xml version="1.0" encoding="UTF-8"?>
<process
name="leadBPEL"
targetNamespace="http://enterprise.netbeans.org/bpel/LeadWebService/leadBPEL"
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://enterprise.netbeans.org/bpel/LeadWebService/leadBPEL" xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" xmlns:ns0="http://enterprise.netbeans.org/bpel/WizardCorrelationProperties" xmlns:ns1="http://xml.netbeans.org/schema/LeadSchema">
<import namespace="http://j2ee.netbeans.org/wsdl/leadWS" location="leadWS.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/checkLeadDuplicationWS" location="checkLeadDuplicationWS.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/createLeadWS" location="createLeadWS.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://enterprise.netbeans.org/bpel/WizardCorrelationProperties" location="WizardCorrelationProperties.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<partnerLinks>
<partnerLink name="checkLeadDuplicationWSpartner" xmlns:tns="http://j2ee.netbeans.org/wsdl/checkLeadDuplicationWS" partnerLinkType="tns:checkLeadDuplicationWS" partnerRole="checkLeadDuplicationWSPortTypeRole"/>
<partnerLink name="createLeadWSpartner" xmlns:tns="http://j2ee.netbeans.org/wsdl/createLeadWS" partnerLinkType="tns:createLeadWS" partnerRole="createLeadWSPortTypeRole"/>
<partnerLink name="leadWSpartner" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" partnerLinkType="tns:leadWS" myRole="leadWSPortTypeRole"/>
</partnerLinks>
<variables>
<variable name="CreateLeadOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" messageType="tns:leadWSOperationResponse"/>
<variable name="AutoAssignLeadOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/createLeadWS" messageType="tns:createLeadWSOperationResponse"/>
<variable name="AutoAssignLeadOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/createLeadWS" messageType="tns:createLeadWSOperationRequest"/>
<variable name="CreateNewLeadOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/createLeadWS" messageType="tns:createNewLeadOperationResponse"/>
<variable name="CreateNewLeadOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/createLeadWS" messageType="tns:createNewLeadOperationRequest"/>
<variable name="CreateLeadOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" messageType="tns:leadWSOperationRequest"/>
<variable name="CheckLeadDuplicationStatusIn1" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" messageType="tns:checkLeadDuplicationStatusRequest"/>
<variable name="CheckLeadDuplicationStatusOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" messageType="tns:checkLeadDuplicationStatusResponse"/>
<variable name="CheckLeadDuplicationWSOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/checkLeadDuplicationWS" messageType="tns:checkLeadDuplicationWSOperationResponse"/>
<variable name="CheckLeadDuplicationWSOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/checkLeadDuplicationWS" messageType="tns:checkLeadDuplicationWSOperationRequest"/>
<variable name="CheckLeadDuplicationStatusIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" messageType="tns:checkLeadDuplicationStatusRequest"/>
</variables>
<correlationSets>
<correlationSet name="wzrd_set_Receive1_Receive2" properties="ns0:wzrd_prop_AutoID_AutoID"/>
<correlationSet name="wzrd_set_Receive1_Receive2_1" properties="ns0:wzrd_prop_AutoID_AutoID"/>
</correlationSets>
<sequence>
<receive name="Receive1" createInstance="yes" partnerLink="leadWSpartner" operation="checkLeadDuplicationStatus" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" portType="tns:leadWSPortType" variable="CheckLeadDuplicationStatusIn">
<correlations>
<correlation set="wzrd_set_Receive1_Receive2_1" initiate="yes"/>
</correlations>
</receive>
<assign name="Assign1">
<copy>
<from variable="CheckLeadDuplicationStatusIn" part="part1"/>
<to variable="CheckLeadDuplicationWSOperationIn" part="part1leadCoreInfo"/>
</copy>
</assign>
<invoke name="Invoke1" partnerLink="checkLeadDuplicationWSpartner" operation="checkLeadDuplicationWSOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/checkLeadDuplicationWS" portType="tns:checkLeadDuplicationWSPortType" inputVariable="CheckLeadDuplicationWSOperationIn" outputVariable="CheckLeadDuplicationWSOperationOut"></invoke>
<assign name="Assign2">
<copy>
<from variable="CheckLeadDuplicationWSOperationOut" part="leadDuplicationStatus"/>
<to variable="CheckLeadDuplicationStatusOut" part="leadDuplicationStatus"/>
</copy>
</assign>
<reply name="Reply1" partnerLink="leadWSpartner" operation="checkLeadDuplicationStatus" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" portType="tns:leadWSPortType" variable="CheckLeadDuplicationStatusOut"></reply>
<receive name="Receive2" createInstance="no" partnerLink="leadWSpartner" operation="createLeadOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" portType="tns:leadWSPortType" variable="CreateLeadOperationIn">
<correlations>
<correlation set="wzrd_set_Receive1_Receive2_1" initiate="no"/>
</correlations>
</receive>
<assign name="Assign3">
<copy>
<from variable="CreateLeadOperationIn" part="part1"/>
<to variable="CreateNewLeadOperationIn" part="leadDetailedInfo"/>
</copy>
</assign>
<invoke name="Invoke2" partnerLink="createLeadWSpartner" operation="createNewLeadOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/createLeadWS" portType="tns:createLeadWSPortType" inputVariable="CreateNewLeadOperationIn" outputVariable="CreateNewLeadOperationOut"/>
<if name="If1">
<condition>$CreateNewLeadOperationOut.leadCreated = 1</condition>
<sequence name="Sequence1">
<assign name="Assign4">
<copy>
<from variable="CreateNewLeadOperationIn" part="leadDetailedInfo"/>
<to variable="AutoAssignLeadOperationIn" part="leaddetailedInfo"/>
</copy>
</assign>
<invoke name="Invoke3" partnerLink="createLeadWSpartner" operation="autoAssignLeadOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/createLeadWS" portType="tns:createLeadWSPortType" inputVariable="AutoAssignLeadOperationIn" outputVariable="AutoAssignLeadOperationOut"/>
<assign name="Assign6">
<copy>
<from>1</from>
<to variable="CreateLeadOperationOut" part="leadCreated"/>
</copy>
<copy>
<from variable="AutoAssignLeadOperationOut" part="agentAssigned"/>
<to variable="CreateLeadOperationOut" part="agentAssigned"/>
</copy>
</assign>
</sequence>
<else>
<assign name="Assign5">
<copy>
<from>0</from>
<to variable="CreateLeadOperationOut" part="leadCreated"/>
</copy>
<copy>
<from>'NULL'</from>
<to>$CreateLeadOperationOut.agentAssigned/ns1:FirstName</to>
</copy>
<copy>
<from>'NULL'</from>
<to>$CreateLeadOperationOut.agentAssigned/ns1:Lastname</to>
</copy>
<copy>
<from>0</from>
<to>$CreateLeadOperationOut.agentAssigned/ns1:agentID</to>
</copy>
</assign>
</else>
</if>
<reply name="Reply2" partnerLink="leadWSpartner" operation="createLeadOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/leadWS" portType="tns:leadWSPortType" variable="CreateLeadOperationOut"/>
</sequence>
</process>
the generated source code of correlation wizard is:
<vprop:property name="wzrd_prop_AutoID_AutoID" type="xsd:int"/><vprop:propertyAlias propertyName="tns:wzrd_prop_AutoID_AutoID" messageType="ns:checkLeadDuplicationStatusRequest" part="part1">
*<vprop:query>/ns0:LeadCoreInfo/ns0:AutoID</vprop:query>*
</vprop:propertyAlias>
<vprop:propertyAlias propertyName="tns:wzrd_prop_AutoID_AutoID" messageType="ns:leadWSOperationRequest" part="part1">
<vprop:query>/ns0:LeadDetailedInfo/ns0:LeadCoreInfo/ns0:AutoID</vprop:query>
</vprop:propertyAlias>
the error that i get is:C:/Documents and Settings/bushra/My Documents/NetBeansProjects/LeadWebService/src/WizardCorrelationProperties.wsdl:28,8
ERROR: The first step has to be "ns0:LeadCoreInfo", if an absolute path is used for query. Expression: "/ns0:LeadCoreInfo/ns0:AutoID"
if this AutoIDs in both queries are in same level of hierarchy (if for example i send LeadDetailedInfo to recieve2, instead of LeadCoreInfo), then there is no error. Why is that?
Similar Messages
-
Error in defining a property & property-alias for a correlation for a BPEL
hallo,
would anybdy be kind enough to tell me where i've done somthing wrong?
im using netbeans 6.1 for SOA application development. there are two receive activities in a BPEL, recieve1 and recieve2. on the latter i have defined a correlation whose initiator is recieve1. the related source code from correlationWSDL is :
<vprop:property name="wzrd_prop_ContactNo_ContactNo" type="xsd:int"/>
<vprop:propertyAlias propertyName="tns:wzrd_prop_ContactNo_ContactNo" messageType="ns:checkLeadDuplicationStatusRequest" part="part1">
<vprop:query>/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>
</vprop:propertyAlias>
<vprop:propertyAlias propertyName="tns:wzrd_prop_ContactNo_ContactNo" messageType="ns:leadWSOperationRequest" part="part1">
<vprop:query>/ns0:LeadDetailedInfo/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>
</vprop:propertyAlias>error that i'm getting is:
ERROR: The first step has to be "ns0:LeadCoreInfo", if an absolute path is used for query. Expression: "/ns0:LeadCoreInfo/ns0:ContactNo"
regardshallo,
would anybdy be kind enough to tell me where i've done somthing wrong?
im using netbeans 6.1 for SOA application development. there are two receive activities in a BPEL, recieve1 and recieve2. on the latter i have defined a correlation whose initiator is recieve1. the related source code from correlationWSDL is :
<vprop:property name="wzrd_prop_ContactNo_ContactNo" type="xsd:int"/>
<vprop:propertyAlias propertyName="tns:wzrd_prop_ContactNo_ContactNo" messageType="ns:checkLeadDuplicationStatusRequest" part="part1">
<vprop:query>/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>
</vprop:propertyAlias>
<vprop:propertyAlias propertyName="tns:wzrd_prop_ContactNo_ContactNo" messageType="ns:leadWSOperationRequest" part="part1">
<vprop:query>/ns0:LeadDetailedInfo/ns0:LeadCoreInfo/ns0:ContactNo</vprop:query>
</vprop:propertyAlias>error that i'm getting is:
ERROR: The first step has to be "ns0:LeadCoreInfo", if an absolute path is used for query. Expression: "/ns0:LeadCoreInfo/ns0:ContactNo"
regards -
Is it possible to create two correlation id's for same message in BPM
Hi All
Is it possible to define two correlation id's for the same correlation in BPM.. intially we defind one field as a correaltion id but in some rare situations we are getting two fiels at time containing the same correlation id then it is generation two instances for them ,but only one instance is executing and another one is in wait mode,in monitoring its showing TBDL (to be deliver mode)...we added one more field as a correlation id in correlation editor, but its not working only the first id is working.
Seeking your valuable suggestions.
Thanks.Are you correlatiing on a field whose occurence is more one 1(like 0..unbounded).?
if you want to correlate on the first occurence of that field then you have to specify in the XPATH.
try [1] at the end of xpath
If the field contains a structure, select Multiline.
refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm] for how to specify XPATH -
Connection error while defining a IT resource for SQLServer
Hello,
I am new to the OIM. I am trying to provision users to a SQLServer database. I installed the DBConnector successfully, but while defining a ITResource (of type 'DBUM ITResource definition') for SQLServer from Web UI, I am getting this error.
Test connectivity is not supported for the IT resource type DBUM ITResource definition
Click Back to correct the connection parameters and re-test connection or click Continue to create the IT Resource anyway
Here are the parameters I am providing. I am sure I am entering the correct uid and pwd for the database.
Abandoned connection timeout :900
Admin ID : testUser
Admin Password : testPassword
Configuration : Lookup.DBUM.MSSQL.Configuration
Connection pooling supported : False
Connection Properties :
Connection Retries : 2
Connection Timeout : 1000
Connection wait timeout : 60
Database Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
Database Name : testDatabase
Inactive connection timeout : 300
Initial pool size : 3
isSecure : No
JDBC URL : jdbc:sqlserver://SQLServerHost;database=testDatabase
Max pool size : 30
Min pool size : 2
Native connection pool class definition :
Pool excluded fields : Configuration Lookup
Pool preference : Default
ResourceConnection class definition : oracle.iam.connectors.dbum.common.db.util.DBUMResourceConnectionImpl
Retry Interval : 1000
Target supports only one connection : False
Timeout check interval : 30
Validate connection on borrow : true
Thanks!
KabiHi,
I setup the trace of com.waveset.adapter.ScriptedConnection.
the log message is following, what's reason of prblem? please help.
20070723 16:16:47.937 httpWorkerThread-8080-4(0x01341244) ScriptedConnectionPool#getConnection() Entry no args
20070723 16:16:47.937 httpWorkerThread-8080-4(0x01341244) ScriptedConnectionPool#getConnection() Exit void
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) TelnetConnection#connect() Entry no args
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) TelnetConnection#connect() Exit void
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#runScript(Script) Entry no args
20070723 16:16:47.938 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#processWaitFor() Entry no args
20070723 16:16:47.939 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#refreshUnprocessedInput(int, int, String, boolean) Entry no args
20070723 16:17:57.990 httpWorkerThread-8080-4(0x01341244) ScriptedConnection#processWaitFor() Info Script failed waiting for "LOGIN:" with the following unprocessed text: "" -
I was trying to create a text alert. I was calling following in jsp
email.setContactPointPurpose(myLookUpCode); //say XXMY_SMS_SHIP
PartyManager.createEmail(email, ApiConstant.CONTACT_POINT);
Getting following exception:
Error in saving customer information.
Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.
Error trace:
oracle.apps.ibe.customer.CustomerException: Error in saving customer information. at oracle.apps.ibe.tcav2.Email.create(Email.java:187) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Caused by: oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) ... 11 more Error in saving customer information. oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.Tried this but it is giving the below error
APP-FND-01242: Cannot read value from field PER_ASSIGNMENT_ID
Cause: The field PER_ASSIGNMENT_ID could not be located or read.
Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field. -
Error when defining successor for node 0000000198
Hello ,
We are using leave request service on ESS portal.
From last few days we are getting error like " Error when defining successor for node 0000000198 "
All agents are assigned properly and also v have checked PFTC setting for Workflow.
the method which are using is Synchrounous.
this error is nt coming perticulary for one employee but it is coming for sick leave workflow.
Please help
thanksHi,
This is a binding issue between the workflow container and the task
container because we can see the text in the workflow container but
it is empty in the task container.
Our proposed solution is to go into the Dev or QAS environment and
regenerate the binding between the workflow and this particular task.
We will test and if this works, this will resolve issue. -
Error when defining successor for node
Experts,
We are having a problem with one of our workflows that keeps erroring whenever we try to complete it. The error message states "Error when defining successor for node 0000000159". This error does not occur in 4.6c environment and the workflow is working fine. However, our team is in the process of upgrading to ECC 6.0 and the workflow is not working properly in that environment. The workflow is designed for BO BUS2038 and the error occurs when we try to close all tasks and complete the workflow. Can someone direct us to something that we can check, we've pretty much exhausted all our options? Thanks.Hi Teferi,
This problem occurs in ECC 6 when a step with Synchronous Task/Method does not have the Step executed outcome activated (this is allowed in 4.6C for synch task with terminating events). Check if your Task/method is synchronous.
Cheers,
Ramki Maley. -
Error while defining a warehouse as Bonded Store
Hi All
I am getting one error while defining a OPM Warehouse as Bonded Store in OPM Inventory Module under Warehouse Attributes.
The error is 'APP-JA-460778: This Warehouse does not have a Parent Organization defined in Oracle Financials'. Can any one tell me where i missed the setup part of defining a parent organization in Financial Module. We are on OPM 11i EBS.
Thanks in advance
Prem.I think you are using India Localization. Sorry, I don't have any knowledge in that area.
I got following information about how to setup Organization/Warehouse. And it says that any deviation from this may result in error. Check if you are following all the steps required for defining warehouse and organization.
Please ensure that the following setups are done exactly as mentioned below:
1) Create an OPM organization in OPM System Administration using OPM Organization Screen eg. ‘PM1’
2) Create a Location using ‘HR Locations’ form with the same name as the OPM Organization (eg. PM1)
3) Create an Inventory Organization using the form ‘HR Organizations’ with the same Organization Code as the OPM organization Code created in step 1. (Additional Identification details of the Organization could be given after a colon (:) in the Organization Name – Eg. ‘PM1: Vision Process India Mumbai’). Make this Inventory Organization as ‘Process Enabled’ and in the ‘Process Organization’ field, refer to the OPM Organization. Attach the HR Location created in step 2 to this Inventory Organization.
4) On saving the Inventory Organization record, the system shall automatically create a Warehouse with the same name in OPM under the OPM organization. (eg.PM1)
5) Query the Location ‘PM1’ and attach the Inventory Organization ‘PM1’ to it.
6) Go to Organization Additional info in OPM System Admin – Create a record for ‘PM1’.
Enter the EC Code for this Organization, as this is the Excise Licensed Organization. After saving
the record here, an automatic entry is created in India Local Inventory – Organization Additional Information for the Inventory Organization.
7) Go to India Local Inventory Org Additional Info and query for this Organization (it will be visible without location). DO NOT mark this as Master Organization.
8) Add another record for the Organization with Location (eg. PM1)
9) Check the 'Master Org' flag for this combination of Organization and Location.
B: Warehouse :
1) Create an Inventory Organization in India Local Inventory corresponding to the Warehouse in OPM (eg. ‘WSH’). Make this as ‘Process Enabled’ and give the ‘Process Organization’ as the
OPM Organization created earlier (PM1), which is the Process Organization this Warehouse is going to report to.
2) Create location (WSH-With the same name as the Warehouse Code) in India Local Inventory and attach it to organization ‘WSH’ in India Local Inventory
3) System automatically creates Warehouse ‘WSH’ in OPM under the OPM organization (PM1)
4) Using the ‘Warehouse Attributes’ form, classify this Warehouse as Bonded/Trading/OSP
5) Go to India Local Inventory Organization Additional Information form and create a record ‘WSH’ giving the Master Organization as ‘PM1’ (actually this is referring to the combination of PM1 with Location
PM1 as Master Organization) . Add another record for the same Org ‘WSH’ with Location ‘WSH’
with Master Organization as ‘PM1’. Please ensure that the EC Code is exactly same as the Master Organization.
6) Optionally ensure that in the Register Priorities, highest priority (1) is set against PLA.
7) Optionally ensure that Allow Negative PLA Balance Flag is checked.
Also make sure that all objects (triggers, packages etc) that are related to localization are valid. -
Error during goods receipt of Finished goods for production order
hi friends
pls help me iam struggle this issue and mentioned the issue .
when i do goods receipt for production order system getting error like
No price could be determined for material/batch FG/ plant ZTP
Message no. CK 465
Diagnosis
The system could not calculate a price for material/batch FG/ in plant
ZTP for valuation view 0, because none of the valuation strategies in
valuation variant 007 was successful.
System Response
User-defined error management enables you to specify whether the message
is an error message, a warning message or an information message.
o If you have defined the message as a warning message or an
information message, the costing item will be entered in the cost
estimate with a value of zero.
If you have defined the message as an error message, the cost
estimate contains an error or errors.
- In the case of a material cost estimate, the system sets the
status KF.
- If it is a cost estimate without quantity structure, or base
object cost estimate (that is, a unit cost estimate), the
system cannot proceed with costing until you have corrected the
errors.
If the system issues a termination message, the cost estimate cannot
be processed, and processing is terminated.
procedure
o Check the master data for material/batch FG/ in plant ZTP.
o If you have authorization for Customizing, check the valuation
strategy for materials in valuation variant 007.
Note
If the message is a warning message or an information message, there is
a danger that materials with errors will be ignored by the system.
If, because of this, you issue a warning message and at the same time
include materials with a zero value in cost estimates, you can make the
following settings for these materials in the costing view of the
material master:
1. Enter a very low price in the planned price 1, 2 or 3 fields
manually, for instance 0.01 USD. These prices are used for costing
purposes only; they are not read by other applications.
2. Enter the highest price unit possible, for example 10000.
Note: If you enter a new price unit that is higher than the costing
lot size, the system increases the costing lot size accordingly.
3. Change the valuation strategy, such as strategy 4, where you could
enter the planned price field in which you entered the low price.
The system now costs as follows:
Using the valuation strategy, the system finds planned price 1, 2 or
3. Due to the low price and high price unit, the system rounds the
value to zero. However, the cost estimate still obtains status KA
(free of errors), and no error message is issued.
This procedure can be used for all materials that have caused error
message CK465 to be issued.
with regards
dinesh
Edited by: code acess on Nov 8, 2010 4:06 AMhi ragavendra,
this is dinesh .i maintained the costing view and planned price. but again i have same error.so please reply me where i missed the data
with regards
dinesh
Edited by: code acess on Nov 9, 2010 4:01 AM -
Error "You cannot enter a partner function for output NEU"
Hi Experts,
I'm having these error "You cannot enter a partner function for output NEU" (message VN041) when I tried to assign a partner function (e.g OA) in the conditions records for application "EV" (Purchase outline agreement). The system do not allow me to do this for any doc type (LP, LPA, MK, OA, etc). I'm using t-code NACE or MN08.
I want to assign partner for key combination "Document Type". The conditions is already there but with no value, so I want to assign partner function "OA" or "VR".
I already check all the configuration and looks fine. For example, define possible partner functions for output type "NEU" for application "EV" (Purc outline agree).
Hope you can help me to find the problem.
Thanks,
Mairo.I have the error in NACE or using tcode MN08.
As soon I executed those transaction the system shows the condition records created for varios Doc Type (e.g LP, LPA, MK, etc) but with no partner function assigned. For example:
Doc. Type / Name / Funct / Partner / Medium / Date/time / Language
LP / Scheduling Agreement / blank / blank / 2 / 3 / EN
LPA / Scheduling Agreement / blank / blank / 1 / 3 / EN
For example, I try to assign function "OA" for Doc. Type "LP", choose value from quickpick. Then when I press enter, the system give me the error "You cannot enter a partner function for output NEU", message no. VN041. Do not allow me to continue, so I have to leave this field blank, with no change.
Thanks, -
Error while defining alert rule.
Hi ,
I am working with Alert framework and it is triggering the mail when ever message is failing at IE or AE level.
I have defined the following container variable of ABAP data type
SXMS_FROM_SERVICE SXI_FROM_SERVICE
SXMS_FROM_NAMESPACE SXI_FROM_ACTION_NS
SXMS_FROM_INTERFACE SXI_FROM_ACTION
SXMS_TO_SERVICE SXI_TO_SERVICE
SXMS_TO_NAMESPACE SXI_TO_ACTION_NS
SXMS_TO_INTERFACE SXI_TO_ACTION.
and my long text is defined as
Sender service = &SXMS_FROM_SERVICE&
Sender namespace = &SXMS_FROM_NAMESPACE&
Sender interface = &SXMS_FROM_INTERFACE&
Receiver service = &SXMS_TO_SERVICE&
Receiver namespace = &SXMS_TO_NAMESPACE&
Receiver interface = &SXMS_TO_INTERFACE&
Now I am defining 2 alert rule one for IE and one for AE by using above alert categories.
now My Question
1. When I am putting * for sender Interface and giving receiver Interface detail it is working fine for AE errors.but it is not working when i am giving sender Interface description and putting * for receiver interface description.
I have checked several time that i am giving correct entry for sender Interface detail.
2.my long text giving the wrong Information.
when i have defined my sender interface detail and giving * for receiver interface at my alert rule ,it is copying the sender interface name and namespace name to the receiver interface and namespace name .
EX-
Sender service = ECC1
Sender namespace = testInterface
Sender interface =urn:test.com
Receiver service = 3party1
Receiver namespace = testInterface
Receiver interface = urn:test.com
and reverse is happening when I am giving * for sender detail and entry for receiver detail.
I think these container variable get filled at run time and it has to give correct detail in long text.
please help in knowing why this is happening.
regards,
NavneetHi..
please try this....Goto KSR2_VBP.
THere are two strategies.. 01 and 02.
01 for manual creation of settlement rules
02 for auto creation..
first check whether 01 and 02 are in your plant.
Sales and distrib....basic functions......auto gen. of settlement rules.......
here you ll find two activities.
(1)maintaining the settlement strategies and
(2)activating one among them.
If you activate 02, your problem will be solved..
Also check this..
http://help.sap.com/erp2005_ehp_03/helpdata/EN/a9/ab777d414111d182b10000e829fbfe/frameset.htm
The settlement profile is to be defined for thee particular Order Type to generate automatically.
Define Production Order Type in OPJH
Under Cost controlling check the settlement profile .
If not create the same in OPJH.
Settlement Profile: Create settlement profile - SPRO > Controlling > Product Cost Controlling > Product cost by Order > Period End Closing > Settlement > Create Settlement Profile
Enter Settlement profile from OPJH or Choose one for production order
and configure Settlement profile. Indicators
with wishes
karthick. -
Weblogic Server 6.1 SP2 is running fine. But unable to get XAConnections! I am getting following error
java.sql.SQLException: Internal error: Cannot obtain XAConnection Creation of XAConnection for pool ibesXaConnection Pool failed after waitSecs:300
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1063)
at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:236)
at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
-GoutamGHi Gautam!
Please make sure your refresh minutes is turned off in config.xml. You should put very large value like 999999 for RefreshMinutes parameter for
defination of connectionpool in config.xml instead of 0.
Thanks,
Mitesh
Goutam wrote:
Weblogic Server 6.1 SP2 is running fine. But unable to get XAConnections! I am getting following error
java.sql.SQLException: Internal error: Cannot obtain XAConnection Creation of XAConnection for pool ibesXaConnection Pool failed after waitSecs:300
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1063)
at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148)
at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:236)
at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
-GoutamG -
DECODE SQL Function - Parsing error in Defining Objects in Universe Designe
Hi,
I have created a class and an object in BO XI R3 Universe designer.
I am getting the parsing error while defining the object when using the custom SQL as
select decode(matteraction,null,decode(matterissue,null,'MATTER','ISSUE'),decode(matterissue,null,'TYPE IS ACTION',' ACTIONu2019)) as TYPE from wh_cf_cmsu
The object Type is "character", i have tried with Long Text, Number, Date as well and the same sql works fine by returning String values through TOAD.
Do we have any constrains in using DECODE in BO XI R3 or any other syntax please....
Please guide me in resolving this issue.
Thanks,
Karthik.Hi,
1.At back end check the data type for matteraction column and define it accordingly in object definition.
2. Try to break your select clause definition into smaller parts and check it where the exact issue is as below
i.select decode(matterissue,null,'TYPE IS ACTION',' ACTIONu2019) ............
ii.select decode(matteraction,null,decode(matterissue,null,'MATTER','ISSUE') ..........
iii.select decode(matteraction,null,decode(matterissue,null,'MATTER','ISSUE'),decode(matterissue,null,'TYPE IS ACTION',' ACTIONu2019)) as TYPE from wh_cf_cmsu -
Trouble defining BAM Enterprise Message Source for BEA WebLogic Server
Hi all,
I've just started to play a little with Oracle BAM Architect.
I've WLS 10.0 and Oracle BAM Architect 10g release 3.
On Oracle BAM Architect I've defined an Enterprise Message Source for BEA WebLogic Server as follows:
Name: ALSBSource
Owner: ...
Type: BEA WebLogic Server
Initial context factory: weblogic.jndi.WLInitialContextFactory
JNDI Service Provider URL: t3://mypc:7001
TopicConnectionFactory name: com.myConnectionFactory
Topic name: com.myBAMTopic
JMS message type: TextMessage
Durable subscriber name: BAMSubscriber
Client ID: BAMSubscriber
Name | Flow name | Type | Max size | Formatting
content | BAM | String | 1024 | (none)
On WLS 10.0 I've defined the required JMS stuff.
On Oracle Design Studio I've defined a plan that includes:
- an Oracle BAM Enterprise Message Receiver from which I've selected the above 'ALSBSource' Enterprise Message Source
- a simple Grid
I've connected the BAM Enterprise Message Receiver to the Grid and clicked on 'Update' button.
When I try to publish a message on 'com.myBAMTopic' I don't see anything on the grid defined in the Oracle Design Studio.
The first question is about the definition of an Enterprise Message Source for BEA WebLogic Server in the Oracle BAM Architect.
I did not change the Oracle BAM Architect classpath or Oracle Design Studio classpath adding the weblogic.jar, because no error has been raised during the configuration of the message source and the plan. Should I update Oracle classpath with the weblogic.jar ?
Did I forget any other step ?
I thank you in advance for any feedback.
Regards
ferpferp - I got this to work with
JNDI Service Provider URL: http://localhost
When I add the port
JNDI Service Provider URL: http://localhost:23891
I cannot get my EMS to start.
Hopefully this should fix your issue.
Sudeep. -
Calling a user defined function as default value for a column
Hi All
Can we call a user defined function as default value for a column ??
for example:
create or replace function test1 return number is
begin
return 10;
end;
create table testt
(id as test1,
name varchar2(20));
getting error:
Error at line 1
ORA-02000: missing ( keywordThanks
Ashwani
Edited by: Ashwani on Jan 16, 2012 1:19 AMHi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Database » SQL and PL/SQL which you can get more quick response
Regard
Helios
Maybe you are looking for
-
My iphone 4s is not activating my facetime with my number. i did not change my number
i went in settings>Facetime> and tryed to add a email to my facetime. didnt work. then i toggled my facetime on/off and since then its veriifiyng my activation and after a little while it gives a message>unsucessful in activating facetime. and it tel
-
Foreign currency valuation problem
Hi Experts, FOr the GL account xxxxxxx having a nil balance (already been revaluated in june 2010) and the revaluation postings got reversed.My question is y the revaluation is still being generated even though it is having zero balance. We have anot
-
Hello, Is there a way to configure inOBB8 a payment term which considers the next 5 working days? Or at least the next 5 week days? Thank you
-
Same BI query multiple times, different variable values ...
Hi all, Im having a problem executing a BI query multiple times, passing different parameters. What I did is drag & drop the query multiple times (from the "Find Data" section) and pass different variable values from the signal-in of the nested iview
-
Easiest way to tell if I'm hacked
Sorry. Wasn't sure exactly where to put this. I'm a total noob at running our server so I'll put it in this section. What's the easiest way to tell if our server has been hacked? Many thanks for any help.