Command Exception while updating in MDM
Hi,
Can someone tell me while performing update using Modify Record Command am getting the below error :
com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Server error (0xffaa6000)
What should i do for this?
Thanks,
Rekha
Hi Rekha,
Check to see if your MDM server is up and functioning also if your repository is loaded.
Make sure the User you are using to modify the record in MDM has sufficient rights defined in the MDM console.
Hope it helps
Thanks & Regards
Simona Pinto
Similar Messages
-
JDBC SQL Exception while updating an SQL database
Hi Experts,
Recently i have encountered a JDBC SQL exception while updating aSQL database as below,
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_UPLOAD' (structure 'Statement'): java.sql.SQLException: No more data to read from socket
the above system error didn't occur for all messages (so far happened twice), but i need to find an fix to overcome this system error.
did anybody came across the above system error, please help me to resolve.
ThanksHi bandana,
From SAP Note --> 831162
17. Receiver: java.sql.SQLException During First Message Processing
Q: When sending a message to a JDBC receiver channel for the first time after an extended inactivity period, I am observing a java.sql.SQLException in the adapter's processing, which refers to a closed connection or a timeout? What is causing this and how do I work around this problem?
A: The database server has apparently closed the adapter's JDBC connection from the server side. Nevertheless, the message should be processed successfully during the next retry. If you want to completely eliminate the symptoms, enable the setting "Advanced Mode" -> "Disconnect from database after each message processing". Note that this might have a negative performance impact for high-volume processing.
I would recommend you to go through the complete note !!! Very Informative .
Regards, -
We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values) at
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65 w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) at System.Web.UI.DataSourceView.Insert(IDictionary
values, DataSourceViewOperationCallback callback) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65* w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
<SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
instead of only "Daughter".
Please provide the solution to get rid of this issue.
Thanks
RamasubbuTry below:
http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
'i' and I was working with an Edit Form. Changing it to
'u' as it was with every other FormField fixed the issue.
<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
/>
Explanation:
DataBind operation type parameters (the first parameter) are listed below:
'i' stands for INSERT,
'u' stands for UPDATE,
'd' stands for DELETE.
http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
If this helped you resolve your issue, please mark it Answered -
Exception while updating a table
Hi
while updating a table throw entity bean i am getting
Base EJBException
java.sql.SQLException: ORA-01401: inserted value too large for column
how to resolve this problem
com.sap.engine.services.ejb.exceptions.BaseEJBException: SQLException while the data is being flushed. The persistent object is com.chep.portfolio.da.ejb.admin.UserPreferencesEJBBean4_0Persistent.
at com.sap.engine.services.ejb.entity.pm.UpdatablePersistent.ejbFlush(UpdatablePersistent.java:101)
at com.sap.engine.services.ejb.entity.pm.TransactionContext.flushAll(TransactionContext.java:429)
at com.sap.engine.services.ejb.entity.pm.TransactionContext.flush(TransactionContext.java:378)
at com.sap.engine.services.ejb.entity.pm.TransactionContext.beforeCompletion(TransactionContext.java:506)
at com.sap.engine.services.ejb.entity.SynchronizationList.beforeCompletion(SynchronizationList.java:136)
at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:226)
at com.chep.portfolio.da.ejb.admin.UserPreferencesEJBLocalLocalObjectImpl4_0.setUserProfileId(UserPreferencesEJBLocalLocalObjectImpl4_0.java:614)
at com.chep.portfolio.admin.business.facade.user.UserFacadeBean.updateUserPreferences(UserFacadeBean.java:774)
at com.chep.portfolio.admin.business.facade.user.UserFacadeLocalLocalObjectImpl0_0.updateUserPreferences(UserFacadeLocalLocalObjectImpl0_0.java:247)
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:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: java.sql.SQLException: ORA-01401: inserted value too large for column
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:609)
at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:240)
at com.chep.portfolio.da.ejb.admin.UserPreferencesEJBBean4_0Persistent.ejb_iUpdate(UserPreferencesEJBBean4_0Persistent.java:552)
at com.sap.engine.services.ejb.entity.pm.UpdatablePersistent.ejbFlush(UpdatablePersistent.java:80)
... 33 more
java.sql.SQLException: ORA-01401: inserted value too large for column
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:609)
at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:240)
at com.chep.portfolio.da.ejb.admin.UserPreferencesEJBBean4_0Persistent.ejb_iUpdate(UserPreferencesEJBBean4_0Persistent.java:552)
at com.sap.engine.services.ejb.entity.pm.UpdatablePersistent.ejbFlush(UpdatablePersistent.java:80)
at com.sap.engine.services.ejb.entity.pm.TransactionContext.flushAll(TransactionContext.java:429)
at com.sap.engine.services.ejb.entity.pm.TransactionContext.flush(TransactionContext.java:378)
at com.sap.engine.services.ejb.entity.pm.TransactionContext.beforeCompletion(TransactionContext.java:506)
at com.sap.engine.services.ejb.entity.SynchronizationList.beforeCompletion(SynchronizationList.java:136)
at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:226)
at com.chep.portfolio.da.ejb.admin.UserPreferencesEJBLocalLocalObjectImpl4_0.setUserProfileId(UserPreferencesEJBLocalLocalObjectImpl4_0.java:614)
at com.chep.portfolio.admin.business.facade.user.UserFacadeBean.updateUserPreferences(UserFacadeBean.java:774)
at com.chep.portfolio.admin.business.facade.user.UserFacadeLocalLocalObjectImpl0_0.updateUserPreferences(UserFacadeLocalLocalObjectImpl0_0.java:247)
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:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
how to solve this oneHi, vanaja,
"inserted value too large for column" - this is the reason for the exception. That is, you are trying to persist a value that exceeds the table column capacity.
What you can do is reduce the length of the data element you want to update, or, 2) first increase the relevant column maximum length, then try to update the table again.
If you choose 2), and if you are using the system database, then you can use Java Dictionary and follow [THIS|http://help.sap.com/saphelp_nw70/helpdata/en/fe/53fb40f17af66fe10000000a1550b0/frameset.htm] procedure to increase the maximum length of a column.
Hope that helps!
Regards,
Yordan -
Runtime exception while updating data
Hi All,
I'm getting a runtime exception while trying to update data to cube. It if full load and the error is like
"A RAISE statement in the program "SAPLSDIFRUNTIME" raised the exception
condition "NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated."
The runtime exception is "RAISE_EXCEPTION".
Can anyone pls help me understand it and how to overcome it.
Thanks in advance,
SanandaHi,
Are you trying to load from DSO->Cube? or PSA->Cube?
Whatever the case, take an ABAPer's help and analyze the dump. You will get a clue.......
Regards,
Suman -
Hi All,
I'm getting this exception "The SPListItem being updated was not retrieved with all taxonomy fields." when i try to programatically update a taxonomy field of a list item. Can any1 pls tell me why this exception occurs ???Recently hit this myself, as well. Turns out it's a central admin setting that throttles the lookup return count, and Taxonomy fields are just lookups under the hood.
Go into Central Administration, Manage Web Applications, select your web application, and then in the ribbon choose the dropdown under General Settings select Resource Throttling. Find the setting for "List View Lookup Threshold" and raise
it from the default 8 (can go up to 1000, but 20 is likely fine depending how many lookup fields you're pulling back in your SPListItem). -
Server threw an exception while updating BP-Addresses
Hi experts,
I am trying to add (or update if already exist) addresses on a Business Partner. I am always getting an error that "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))".
I have even tried to use different objects for finding, add or update, but still no luck..
Can anyone advise me, please? my code looks like that:
Dim oBP As SAPbobsCOM.BusinessPartners
oBP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
oBP.GetByKey(CardCode)
Dim flag As Integer = -1
For i As Integer = 0 To oBP.Addresses.Count - 1
oBP.Addresses.SetCurrentLine(i)
If (oBP.Addresses.AddressName = Address_1) Then
flag = i
Exit For
End If
Next
System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP)
oBP = Nothing
GC.Collect()
If flag = -1 Then
Dim oBP1 As SAPbobsCOM.BusinessPartners
oBP1 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
oBP1.GetByKey(CardCode)
Dim iL As Integer = 0
iL = oBP1.Addresses.Count
oBP1.Addresses.Add()
oBP1.Addresses.SetCurrentLine(iL)
oBP1.Addresses.AddressName = Address_1
oBP1.Addresses.Street = Address_2
oBP1.Addresses.City = City
oBP1.Addresses.ZipCode = Zip
oBP1.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo
Try
lRetCode = oBP1.Update()
System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP1)
oBP1 = Nothing
GC.Collect()
Catch ex As Exception
MsgBox(lErrCode & " " & ex.Message)
End Try
Else
Dim oBP2 As SAPbobsCOM.BusinessPartners
oBP2 = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
oBP2.GetByKey(CardCode)
oBP2.Addresses.SetCurrentLine(flag)
oBP2.Addresses.Street = Address_2
Try
lRetCode = oBP2.Update()
System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP2)
oBP2 = Nothing
GC.Collect()
Catch ex As Exception
MsgBox(lErrCode & " " & ex.Message)
End Try
End If
Thank you in advance,
ArisHi Aris,
There are a few things wrong with the logic but I don't think any of them would directly cause your error message
1) You ought to use the GetByKey method in an If statement as the method returns true or false depending on whether the BP exists. I'm assuming that for your testing the CardCode variable does return a valid BP.
2) In the For/Next loop you need to check that the selected address has the correct AddressName and AddressType for the address you are searching for. In SBO it is possible to have a billing and shipping address on the same BP that have the same address name.
3) I don't understand why you need to use 3 BusinessPartner objects. You could do all the processing using a single BP and simplify your code. I appreciate that your code sample may be designed that way for reasons that aren't apparent in the context of this issue.
This works for me:
Dim oBP As SAPbobsCOM.BusinessPartners = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
Try
If oBP.GetByKey(CardCode) then
Dim found As Boolean = false
Dim iL As Integer = oBP.Addresses.Count
For i As Integer = 0 To oBP.Addresses.Count - 1
oBP.Addresses.SetCurrentLine(i)
If oBP.Addresses.AddressName = Address_1 and oBP.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo Then
oBP.Addresses.Street = Address_2
found = true
Exit For
End If
Next
If not found then
oBP.Addresses.Add()
oBP.Addresses.SetCurrentLine(iL)
oBP.Addresses.AddressName = Address_1
oBP.Addresses.Street = Address_2
oBP.Addresses.City = City
oBP.Addresses.ZipCode = Zip
oBP.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_BillTo
End if
If oBP.Update() <> 0 then
oApp.MessageBox(oCompany.GetLastErrorDescription, 1, "OK", "", "")
End if
End if
Catch ex as Exception
oApp.MessageBox(ex.Message, 1, "OK", "", "")
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oBP)
oBP = Nothing
GC.Collect()
End Try
If that doesn't help then please let us know what version and patch level you are on and exactly where the error occurs.
Kind Regards,
Owen -
Exception while updating a clob value using dbms_lob.fragment_insert
Hi,
Here is the query
procedure tempProc(str3 in varchar2) is
QI CLOB;
-- LOB(QI) STORE AS securefile ;
v_cursor refcursor;
str varchar2(50);
i number default '30';
begin
open v_cursor for select b.OCEAN_RATE_XML.getClobVal() from TNMAB_OCEAN_RATE_XML B
WHERE (XMLCast(XMLQuery('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; (: :) /OceanOfferRate/ObjectID'
PASSING B.OCEAN_RATE_XML RETURNING CONTENT) AS NUMBER(20))) = 200000000000050;
fetch v_cursor into QI;
close v_cursor;
dbms_output.put_line('abcds'||DBMS_LOB.getlength(QI));
dbms_lob.fragment_insert(QI,3,DBMS_LOB.getlength(QI)-17,'<abc/>');
dbms_output.put_line('Done insert');
DBMS_LOB.READ (QI, i, DBMS_LOB.getlength(QI)-i, str);
--DBMS_LOB.READ(QI,20,DBMS_LOB.getlength(QI)-20,str);
dbms_output.put_line('Doem read');
dbms_output.put_line(str);
end tempProc;
I am getting the below exceptionError report:
ORA-43856: Unsupported LOB type for SECUREFILE LOB operation
ORA-06512: at "SYS.DBMS_LOB", line 1076
ORA-06512: at "TNM_PLSQL.TNM_AB_QI_UPDT_PKG", line 377
ORA-06512: at line 5
ORA-06512: at line 9
<OceanOfferRate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://com.oocl.schema.tnm.agreementbuilder">
<ObjectID>200000000000050</ObjectID>
<RateID>2</RateID>
<AgreementID>00000002</AgreementID>
<StartingVersion>0</StartingVersion>
<EndingVersion>0</EndingVersion>
<EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
<EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
<RateStatus>QuoteExpired</RateStatus>
<ApprovalStatus>Approved</ApprovalStatus>
<Flags>3</Flags>
<Tariffs>015</Tariffs>
<BaseRates>
<SizeType>20GP</SizeType>
<Amount>65</Amount>
<Currency>USD</Currency>
<EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
<EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
<Flags>0</Flags>
</BaseRates>
<BaseRates>
<SizeType>40GP</SizeType>
<Amount>100</Amount>
<Currency>USD</Currency>
<EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
<EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
<Flags>0</Flags>
</BaseRates>
<BaseRates>
<SizeType>40HQ</SizeType>
<Amount>100</Amount>
<Currency>USD</Currency>
<EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
<EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
<Flags>0</Flags>
</BaseRates>
<ShippingPartyGroupName>Default</ShippingPartyGroupName>
<CustomerContactGroupName>Default</CustomerContactGroupName>
<NamedCustomerGroupName>Default</NamedCustomerGroupName>
<LastSentDate>2010-06-14T22:42:48.536000</LastSentDate>
<ValidityDays>30</ValidityDays>
<ValidityExpirationDate>2010-06-30T00:00:00.000000</ValidityExpirationDate>
<GuidelineRateReference>
<Trunk>
<RateID>100001510668470</RateID>
<SurchargeIDs>684172719752758</SurchargeIDs>
<SurchargeIDs>626856918161564</SurchargeIDs>
<SurchargeIDs>680028613161439</SurchargeIDs>
<SurchargeIDs>679555629913553</SurchargeIDs>
<SurchargeIDs>673382151283681</SurchargeIDs>
<SurchargeIDs>679789705628181</SurchargeIDs>
<SurchargeIDs>653835218283772</SurchargeIDs>
<SurchargeIDs>653955477367768</SurchargeIDs>
<SurchargeIDs>653955477367759</SurchargeIDs>
</Trunk>
</GuidelineRateReference>
<CreatedOn>2010-05-16T13:40:29.201344</CreatedOn>
<CreatedBy>KRISHSA</CreatedBy>
<SalesPerson>COOKBR</SalesPerson>
<SalesOffice>PHE</SalesOffice>
<LastUpdated>2010-06-30T00:13:06.000000</LastUpdated>
<LastUpdatedBy>TNM_APPLN</LastUpdatedBy>
<Origins>
<ID_Wrappers>
<Value>100000000026067</Value>
</ID_Wrappers>
<ID_Wrappers>
<Value>100000000008923</Value>
</ID_Wrappers>
<ID_Wrappers>
<Value>100000000024173</Value>
</ID_Wrappers>
</Origins>
<Destinations>
<ID_Wrappers>
<Value>100000000008923</Value>
</ID_Wrappers>
<ID_Wrappers>
<Value>100000000024173</Value>
</ID_Wrappers>
<ID_Wrappers>
<Value>100000000013006</Value>
</ID_Wrappers>
<ID_Wrappers>
<Value>100000000046704</Value>
</ID_Wrappers>
</Destinations>
<DeliveryMode>YY</DeliveryMode>
<TradeLane>IAT</TradeLane>
<Commodity>
<Description>Cotton for test</Description>
<CargoNatureGroup>32</CargoNatureGroup>
</Commodity>
<RateLevel>1</RateLevel>
</OceanOfferRate>
Any advise if there is any other ways to update the clob with additional information at the end of the XML before </OceanOfferRate> ?A quick example illustrating what I mean :
Settings
SQL> create table department_xml (
2 xmldoc xmltype
3 , depid number(4) as
4 (
5 xmlcast(
6 xmlquery('declare default element namespace "http://some.namespace.org"; (: :)
7 /Department/@ID' passing xmldoc returning content)
8 as number(4)
9 )
10 ) virtual
11 )
12 xmltype xmldoc store as binary xml
13 ;
Table created.
SQL> create unique index department_xml_depid_uix on department_xml (depid);
Index created.
SQL> insert into department_xml (xmldoc)
2 select xmlelement("Department",
3 xmlattributes('http://some.namespace.org' as "xmlns"
4 , department_id as "ID")
5 , xmlforest(
6 d.department_name as "departmentName"
7 , d.manager_id as "managerID"
8 , xmlforest(
9 l.street_address as "street"
10 , l.postal_code as "zipcode"
11 , l.city as "city"
12 , l.state_province as "state"
13 , c.country_name as "country"
14 ) as "address"
15 )
16 )
17 from hr.departments d
18 join hr.locations l on l.location_id = d.location_id
19 join hr.countries c on c.country_id = l.country_id
20 ;
27 rows created.
SQL> commit;
Commit complete.
Sample document
SQL> select xmlserialize(document xmldoc as clob indent) from department_xml where depid = 50;
XMLSERIALIZE(DOCUMENTXMLDOCASCLOBINDENT)
<Department xmlns="http://some.namespace.org" ID="50">
<departmentName>Shipping</departmentName>
<managerID>121</managerID>
<address>
<street>2011 Interiors Blvd</street>
<zipcode>99236</zipcode>
<city>South San Francisco</city>
<state>California</state>
<country>United States of America</country>
</address>
</Department>
Updating each doc with the list of employees from the corresponding department
SQL> UPDATE department_xml d
2 SET d.xmldoc =
3 insertChildXMLBefore(
4 d.xmldoc
5 , '/Department'
6 , 'address'
7 , (
8 select xmlelement("employees",
9 xmlagg(
10 xmlelement("employee",
11 xmlattributes(e.employee_id as "ID")
12 , xmlforest( e.first_name || ' ' || e.last_name as "employeeName"
13 , e.hire_date as "hireDate"
14 , e.salary as "salary" )
15 )
16 order by e.employee_id
17 )
18 )
19 from hr.employees e
20 where e.department_id = d.depid
21 )
22 , 'xmlns="http://some.namespace.org"'
23 )
24 ;
27 rows updated.
Checking...
SQL> select xmlserialize(document xmldoc as clob indent) from department_xml where depid = 50;
XMLSERIALIZE(DOCUMENTXMLDOCASCLOBINDENT)
<Department xmlns="http://some.namespace.org" ID="50">
<departmentName>Shipping</departmentName>
<managerID>121</managerID>
<employees>
<employee ID="120">
<employeeName>Matthew Weiss</employeeName>
<hireDate>2004-07-18</hireDate>
<salary>8000</salary>
</employee>
<employee ID="121">
<employeeName>Adam Fripp</employeeName>
<hireDate>2005-04-10</hireDate>
<salary>8200</salary>
</employee>
<employee ID="122">
<employeeName>Payam Kaufling</employeeName>
<hireDate>2003-05-01</hireDate>
<salary>7900</salary>
</employee>
<employee ID="123">
<employeeName>Shanta Vollman</employeeName>
<hireDate>2005-10-10</hireDate>
<salary>6500</salary>
</employee>
<employee ID="124">
<employeeName>Kevin Mourgos</employeeName>
<hireDate>2007-11-16</hireDate>
<salary>5800</salary>
</employee>
<employee ID="125">
<employeeName>Julia Nayer</employeeName>
<hireDate>2005-07-16</hireDate>
<salary>3200</salary>
</employee>
<employee ID="126">
<employeeName>Irene Mikkilineni</employeeName>
<hireDate>2006-09-28</hireDate>
<salary>2700</salary>
</employee>
<employee ID="127">
<employeeName>James Landry</employeeName>
<hireDate>2007-01-14</hireDate>
<salary>2400</salary>
</employee>
<employee ID="128">
<employeeName>Steven Markle</employeeName>
<hireDate>2008-03-08</hireDate>
<salary>2200</salary>
</employee>
<employee ID="129">
<employeeName>Laura Bissot</employeeName>
<hireDate>2005-08-20</hireDate>
<salary>3300</salary>
</employee>
<employee ID="130">
<employeeName>Mozhe Atkinson</employeeName>
<hireDate>2005-10-30</hireDate>
<salary>2800</salary>
</employee>
<employee ID="131">
<employeeName>James Marlow</employeeName>
<hireDate>2005-02-16</hireDate>
<salary>2500</salary>
</employee>
<employee ID="132">
<employeeName>TJ Olson</employeeName>
<hireDate>2007-04-10</hireDate>
<salary>2100</salary>
</employee>
<employee ID="133">
<employeeName>Jason Mallin</employeeName>
<hireDate>2004-06-14</hireDate>
<salary>3300</salary>
</employee>
<employee ID="134">
<employeeName>Michael Rogers</employeeName>
<hireDate>2006-08-26</hireDate>
<salary>2900</salary>
</employee>
<employee ID="135">
<employeeName>Ki Gee</employeeName>
<hireDate>2007-12-12</hireDate>
<salary>2400</salary>
</employee>
<employee ID="136">
<employeeName>Hazel Philtanker</employeeName>
<hireDate>2008-02-06</hireDate>
<salary>2200</salary>
</employee>
<employee ID="137">
<employeeName>Renske Ladwig</employeeName>
<hireDate>2003-07-14</hireDate>
<salary>3600</salary>
</employee>
<employee ID="138">
<employeeName>Stephen Stiles</employeeName>
<hireDate>2005-10-26</hireDate>
<salary>3200</salary>
</employee>
<employee ID="139">
<employeeName>John Seo</employeeName>
<hireDate>2006-02-12</hireDate>
<salary>2700</salary>
</employee>
<employee ID="140">
<employeeName>Joshua Patel</employeeName>
<hireDate>2006-04-06</hireDate>
<salary>2500</salary>
</employee>
<employee ID="141">
<employeeName>Trenna Rajs</employeeName>
<hireDate>2003-10-17</hireDate>
<salary>3500</salary>
</employee>
<employee ID="142">
<employeeName>Curtis Davies</employeeName>
<hireDate>2005-01-29</hireDate>
<salary>3100</salary>
</employee>
<employee ID="143">
<employeeName>Randall Matos</employeeName>
<hireDate>2006-03-15</hireDate>
<salary>2600</salary>
</employee>
<employee ID="144">
<employeeName>Peter Vargas</employeeName>
<hireDate>2006-07-09</hireDate>
<salary>2500</salary>
</employee>
<employee ID="180">
<employeeName>Winston Taylor</employeeName>
<hireDate>2006-01-24</hireDate>
<salary>3200</salary>
</employee>
<employee ID="181">
<employeeName>Jean Fleaur</employeeName>
<hireDate>2006-02-23</hireDate>
<salary>3100</salary>
</employee>
<employee ID="182">
<employeeName>Martha Sullivan</employeeName>
<hireDate>2007-06-21</hireDate>
<salary>2500</salary>
</employee>
<employee ID="183">
<employeeName>Girard Geoni</employeeName>
<hireDate>2008-02-03</hireDate>
<salary>2800</salary>
</employee>
<employee ID="184">
<employeeName>Nandita Sarchand</employeeName>
<hireDate>2004-01-27</hireDate>
<salary>4200</salary>
</employee>
<employee ID="185">
<employeeName>Alexis Bull</employeeName>
<hireDate>2005-02-20</hireDate>
<salary>4100</salary>
</employee>
<employee ID="186">
<employeeName>Julia Dellinger</employeeName>
<hireDate>2006-06-24</hireDate>
<salary>3400</salary>
</employee>
<employee ID="187">
<employeeName>Anthony Cabrio</employeeName>
<hireDate>2007-02-07</hireDate>
<salary>3000</salary>
</employee>
<employee ID="188">
<employeeName>Kelly Chung</employeeName>
<hireDate>2005-06-14</hireDate>
<salary>3800</salary>
</employee>
<employee ID="189">
<employeeName>Jennifer Dilly</employeeName>
<hireDate>2005-08-13</hireDate>
<salary>3600</salary>
</employee>
<employee ID="190">
<employeeName>Timothy Gates</employeeName>
<hireDate>2006-07-11</hireDate>
<salary>2900</salary>
</employee>
<employee ID="191">
<employeeName>Randall Perkins</employeeName>
<hireDate>2007-12-19</hireDate>
<salary>2500</salary>
</employee>
<employee ID="192">
<employeeName>Sarah Bell</employeeName>
<hireDate>2004-02-04</hireDate>
<salary>4000</salary>
</employee>
<employee ID="193">
<employeeName>Britney Everett</employeeName>
<hireDate>2005-03-03</hireDate>
<salary>3900</salary>
</employee>
<employee ID="194">
<employeeName>Samuel McCain</employeeName>
<hireDate>2006-07-01</hireDate>
<salary>3200</salary>
</employee>
<employee ID="195">
<employeeName>Vance Jones</employeeName>
<hireDate>2007-03-17</hireDate>
<salary>2800</salary>
</employee>
<employee ID="196">
<employeeName>Alana Walsh</employeeName>
<hireDate>2006-04-24</hireDate>
<salary>3100</salary>
</employee>
<employee ID="197">
<employeeName>Kevin Feeney</employeeName>
<hireDate>2006-05-23</hireDate>
<salary>3000</salary>
</employee>
<employee ID="198">
<employeeName>Donald OConnell</employeeName>
<hireDate>2007-06-21</hireDate>
<salary>2600</salary>
</employee>
<employee ID="199">
<employeeName>Douglas Grant</employeeName>
<hireDate>2008-01-13</hireDate>
<salary>2600</salary>
</employee>
</employees>
<address>
<street>2011 Interiors Blvd</street>
<zipcode>99236</zipcode>
<city>South San Francisco</city>
<state>California</state>
<country>United States of America</country>
</address>
</Department> -
Error while updating information at My Information page
Hi,
We are facing one exception while updating user information at 'My Infomation' page in section - 'Basic User Information'
In UI once we click on 'Apply' button we are getting exception as - IAM-3050117 : Cannot delete mandatory attribute Role.
In logs we are getting following exception -
[2013-12-20T17:52:39.817-06:00] [oim_server1] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: SSIK1S37] [ecid: 595e16ae4821d91a:5d0e49db:1430fbd9db6:-8000-0000000000006811,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] ADF: Adding the following JSF error message: IAM-3050117 : Cannot delete mandatory attribute Role.[[
oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-3050117 : Cannot delete mandatory attribute Role.
at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:170)
at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)
at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:416)
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:471)
at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2016)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1660)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:165)
at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:112)
at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:107)
at oracle.iam.ui.myinformation.bean.MyInformationUIBean.checkBasicInfoValidation(MyInformationUIBean.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
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:301)
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:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
Please provide inputs on this issue.If any one has any inputs on this issue please let us know. It will be really helpful.
-
While updating my iphone 4s to ios6, I had to restore it. Now every time I connect to itunes, I get the "Set Up Your iPhone" window with the set up as new iphone and restore from backup options. After the restore, I got everything except my apps and music back. Do I need to set the phone up as new again?
Hi Vidbrent,
If you are having issues updating or restoring your iPhone, you may find the following article helpful:
Apple Support: If you can't update or restore your iOS device
http://support.apple.com/kb/ht1808
Regards,
- Brenden -
I purchased a mac book pro in oct 2011, I restarted it after updating and it,s stuck on apple symbol, I hit command R while restarting and clicked on disk utility. It says disk can't be repaired, apple wants $249 to tell me what's wrong. Please help!
What Apple store told you they wanted $249.00 to tell what is wrong?
If this is a 13" Macbook Pro then that is the cost of the Extended Applecare warranty. As you are outside the 90 days of Free Phone Support then what Apple told you is that to get Phone Support you would either need to pay $45 per phone call or pay $249.00 for the Applecare extended warranty which comes with 3 years Free Phone Support from date of purchase.
Or you can take it to a Apple Genius Bar and have them look at it for Free.
Every Mac comes with 1 year warranty and includes only 90 days of phone support. You can buy the extended Applecare warranty anytime within the first year of ownership, IE until the 1 year warranty runs out.
I suggest you have your computer looked at by either an Apple Authorized Repair Center or Genius Bar and then before the 1 year warranty runs out buying the extended warranty -
No DDL commands found for activation while updating SPAM/SAINT
Hi,
Hi,
While updating SPAM/SAINT version 0053 (SAPKD70053) we are getting
error in activation.
If we check the logs we found error related to no ddl command found for
activation
No DDL commands found for activation of /SDF/SWCM_PAT03D
No DDL commands found for activation of /SDF/SWCM_PAT03P
No DDL commands found for activation of /SDF/SWCM_PAT03Q
No DDL commands found for activation of CLNT_CVERS
No DDL commands found for activation of CLNT_CVRS2
No DDL commands found for activation of CVERS_SUB
No DDL commands found for activation of PAD03
No DDL commands found for activation of PAT05
No DDL commands found for activation of PAT06
No DDL commands found for activation of PAT09
No DDL commands found for activation of PAT10B
No DDL commands found for activation of PATPRDVRS
No DDL commands found for activation of PATRTVERS
No DDL commands found for activation of PATSWFEATR
No DDL commands found for activation of PATSWFTINC
No DDL commands found for activation of PRDVERS
No DDL commands found for activation of STACKCOMPS
No DDL commands found for activation of SWFEATURE
No DDL commands found for activation of SWFEATUREINC
No DDL commands found for activation of TECHUSAGES
No DDL commands found for activation of TFDIR_INIM
No DDL commands found for activation of TRBAT3
We try to activate the table but were not able to activate it.It giving message that Table cannot be activated.
Attaching the error log files
System Details:
SAP NetWeaver 2004s
Database: DB2 10.5
Can anyone help us in thisHi Amit,
From the logs you attached
2WETP000 13:44:36: Retcode 1024: error in DDL statement for "CLNT_CVRS2 " - repe
2WETP000 at
2EETP345 13:44:48: Retcode 1024: SQL-error "-601-SQL0601N The name of the object to be created is
2EETP345 identical to the existing name "SAP<SID>.CLNT_CVRS2" of type "VIEW". SQLSTATE=42710" in DDL
2EETP345 statement for "CLNT_CVRS2
Can you check in database for the existence of the object.
Also what is your kernel level ?
Regards,
Deepak Kori -
Command exception :field not found
FieldId fld61 = repositorySchema.getFieldId("Phone_Numbers", "Sequence_Number");
System.out.println("fieldId"+fld61);
ResultDefinition rd_qual1 = new ResultDefinition(repositorySchema.getTableId("Phone_Numbers"));
rd_qual1.addSelectField(fld61);
LinkedHashMap map = new LinkedHashMap();
FieldId field_Contact1 = (FieldId)repositorySchema.getFieldId("Customers","Phone_Numbers");
com.sap.mdm.valuetypes.MdmValue mVal1 =SourceRecord .getFieldValue(field_Contact);
com.sap.mdm.valuetypes.QualifiedLookupValue qval1 = null;
//boolean canValueBeSet = false;
QualDataValue = (QualifiedLookupValue)SourceRecord.getFieldValue(repositorySchema.getFieldId("Customers","Phone_Numbers"));
System.out.println("QualDataValue"+QualDataValue);
RetrieveRecordsByIdCommand retrieveRecordsByIDCmd = new RetrieveRecordsByIdCommand(ConnectionStr);
if(!mVal.equals(null))
qval = (com.sap.mdm.valuetypes.QualifiedLookupValue) mVal;
int count1 =qval.getValuesCount();
System.out.println(count);
System.out.println("done mval");
for(int i=0;i<QualDataValue.getValuesCount();i++){
MdmValue nqVal = qval.getValue(i);
System.out.println("nqVal"+nqVal);
System.out.println("LookupId = " + QualDataValue.getLookupId(i).getString());
if(nqVal != null)
retrieveRecordsByIDCmd.setResultDefinition(rd_qual1);
retrieveRecordsByIDCmd.setSession(SessionId);
retrieveRecordsByIDCmd.setIds(new RecordId[] {qval.getLookupId(i)});
retrieveRecordsByIDCmd.execute();
Record[] PhoneNumRec1 = retrieveRecordsByIDCmd.getRecords().getRecords();
for(int hh =0;hh<PhoneNumRec1.length;hh++){
String SequenceNum = PhoneNumRec1[hh].getLookupDisplayValue(fld61);
// String Dist = salesDataRec1[hh].getLookupDisplayValue(fld52);
// String Div = salesDataRec1[hh].getLookupDisplayValue(fld53);
System.out.println("index :" + hh);
System.out.println("SequenceNum = " +hh +SequenceNum);
// System.out.println("Dist = " + hh+ Dist);
// System.out.println("Div = " + hh+Div);
if(bean.getTelephoneNo()!=null&&bean.getTelephoneNo().length()>0)
// qval.setQualifierFieldValue(i,(FieldId)repositorySchema.getFieldId("Phone_Numbers", "Telephone"),new StringValue(bean.getTelephoneNo()));
// System.out.println("Done Phone numbers"+qval);
StringValue strVal = null;
strVal =new StringValue(bean.getTermsOfPaymentKey());
System.out.println(repositorySchema.getFieldId("Phone_Numbers","Telephone").getString());
map.put(repositorySchema.getFieldId("Phone_Numbers","Telephone"), strVal);
System.out.println("map"+map);
// LookupValue strVal = null;
// strVal =
// new LookupValue(
// this.GetLookupRecId(
// "New_Code7",
// "New_Code",
// bean.getTelephoneNo()));
// qval.setQualifierFieldValue(i,(FieldId)repositorySchema.getFieldId("Phone_Numbers","Telephone"),strVal);
custRecord.setFieldValue(repositorySchema.getFieldId("Customers","Phone_Numbers"),qval);
System.out.println("Done custRecord numbers"+custRecord);
i'm using above code to update the field but its throwing Command exception :field not foundHi Revathy,
Possible cause here is that you are trying to put value into the main table but you are using the field Id of some other table to put this value. E.g: You want to update Country field in main table but while putting the value in hashmap, you are putting the value against some Lookup Table field.
Please check.
Hope this helsp!!
Cheers,
Arafat -
Error while updating EP6.0 from SP09 to SP27
Hi All,
I am getting the following error while updating the Enterprise portal 6.0 from SP09 to SP27.
WARNING 2011-05-19 16:50:09
CJSlibModule::writeWarning_impl()
Execution of the command "C:\j2sdk1.4.2_13-x64/bin/java.exe '-classpath' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib/launcher.jar;.' '-Xmx512m' 'com.sap.engine.offline.OfflineToolStart' 'com.sap.engine.configtool.batch.BatchConfig' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/lib;C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib' 'C:\Program Files\sapinst_instdir\PATCH\ORA/getSafeMode.xml'" finished with return code 31415. Output:
Can not get DB connection. Batchconfig will only be able to execute offline tasks.
ERROR 2011-05-19 16:50:09
CJSlibModule::writeError_impl()
CJS-20076 Error while retrieving the mode of the Java engine. SOLUTION: See output of logfile C:\Program Files\sapinst_instdir\PATCH\ORA/getEngineMode.log: 'Can not get DB connection. Batchconfig will only be able to execute offline tasks.
TRACE [iaxxejsbas.hpp:384]
handleException<ESAPinstJSError>()
Converting exception into JS Exception EJSException.
ERROR 2011-05-19 16:50:09
CJSlibModule::writeError_impl()
CJS-20076 Error while retrieving the mode of the Java engine. SOLUTION: See output of logfile C:\Program Files\sapinst_instdir\PATCH\ORA/getEngineMode.log: 'Can not get DB connection. Batchconfig will only be able to execute offline tasks.
Please hel me to resolve this issue.
Regards
Karthik Ravoori> Execution of the command "C:\j2sdk1.4.2_13-x64/bin/java.exe '-classpath' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib/launcher.jar;.' '-Xmx512m' 'com.sap.engine.offline.OfflineToolStart' 'com.sap.engine.configtool.batch.BatchConfig' 'C:\Program Files\sapinst_instdir\PATCH\ORA/install/lib;C:\Program Files\sapinst_instdir\PATCH\ORA/install/sharedlib' 'C:\Program Files\sapinst_instdir\PATCH\ORA/getSafeMode.xml'" finished with return code 31415. Output:
> Can not get DB connection. Batchconfig will only be able to execute offline tasks.
You'r JDK is really old, AFAIK the first one officially released for x86_64 on Windows was 1.4.2_17. I suggest you upgrade your JDK ot the latest one (1.4.2_30) and try again.
Markus -
Getting Error while Updating the ESB Default System
Hi,
We applied patch 7272722 and have upgraded the SOA Suite 10.1.3.1 to SOA Suite 10.1.3.4 on Windows (32 Bit).
After upgrading , we are getting below error message while updating the Default System properties in ESB Console.
An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.console.exception.ConsoleTransactionException: File repository not initialized.May be ESB bootstrap failed Please review ESB prameters for their correctness. at oracle.tip.esb.console.XMLConsoleManagerImpl.commit(XMLConsoleManagerImpl.java:2317) at oracle.tip.esb.console.XMLConsoleManagerImpl.updateSystemInRepository(XMLConsoleManagerImpl.java:882) at oracle.tip.esb.console.XMLConsoleManagerImpl.updateSystemFromElement(XMLConsoleManagerImpl.java:578) at oracle.tip.esb.console.XMLConsoleManagerImpl.updateSystem(XMLConsoleManagerImpl.java:556) at oracle.tip.esb.configuration.servlet.command.UpdateSystemCommand.execute(UpdateSystemCommand.java:61) at oracle.tip.esb.configuration.servlet.CommandServlet.doJob(CommandServlet.java:109) at oracle.tip.esb.configuration.servlet.CommandServlet.doPost(CommandServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ".
We are also deploying new BPEL process but they are also not displayed on ESB Console.
Please let us know how we can resolve the error.
Thanks
UditDear Laxmi Narayan,
This error would occur, if you miss Business Area/Section Code at the time of Invoice.
The following thread should answer your query:
Extended W/H Tax
Regards,
Naveen.
Maybe you are looking for
-
Pages 5.1 truncates text in tables
Just discovered that Pages 5.1 truncates text in tables when exported to Pdf's even when created in Numbers and pasted. Superscripts were missing. Sometimes regular text after superscrips were missing. Too bad.
-
Can't use Home Sharing after upgrade to 4.3 for my IPAD
Hi, I just upgrade my IPAD to 4.3 and ITunes to 10.2. But I can't use the Home Sharing Application. It shows "Home Sharing could not be activated because an error occurred (-3259)". Anyone knows about the detail on this error? Thanks! Ed
-
Using JavaBean with JSP...will not work no matter what
Hi guys. Sorry that this is such a common, newb question, but I don't know where else to turn. I'm new to web application development, Tomcat, and JSP. I'm trying to use a simple JavaBean in a JSP to store some user information. The JSP is located in
-
Splitting midi commands among different tracks
Some time ago, someone posted a technique to split different midi parameters among different tracks in the arrange window. It was for an orchestral score, done this way to get tight control and automation on the parameters. I've looked for that post
-
Help!! I accidentally deleted ALL my calendars! How do I restore them??
I finally upgraded my older laptop to Lion. Thus, I got iCloud on it. When I told it to sync calendars, it asked if I wanted to merge with iCloud. It was the only option if I wanted to sync. So, I clicked "merge". That was fine, but it duplicate