Error while selecting entity for composantEO
Hi,
Briefly, I do an example of displaying a list of components (and already it works properly), but when I added a link to the removal of components I have encountered an error
Voila details
function code delete
public void deleteComposantMethod(String action,String param)
System.out.println("Now we are inside deleteComposantMethod");
System.out.println("we search composant with numcomp : "+param);
ComposantVOImpl inst=getComposantVO1();
Row row[]=inst.getAllRowsInRange();
for(int i=0;i<row.length;i++)
ComposantVORowImpl rowi=(ComposantVORowImpl)row;
System.out.println("checking the composant ===> "+rowi.getNumcomp());
if(param.equals(rowi.getNumcomp().toString()))
try{
rowi.remove();
getOADBTransaction().commit();
System.out.println("Deleting succes");
catch(Exception ex)
System.out.println("error : \n"+ex.getMessage());
return;
in the browser page component disapru it seems that it works correctly, but nothing changes at data base and voila the error message I get from embedder OC4J server log
Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ComposantEO
thanks
Please note: although no board code and smiley buttons are shown, they are still usable.
thanks
Hi,
for those who have encountered the same problem as me, you should check that the table name sql query is of the form Name_Schema.Name_Table.
For this right click on the entity in the workspace> edit entity> Database Objects> Schema Objects and add the schema name before table name( Name_Schema.Name_Table).
thanks,
Similar Messages
-
Getting "JBO-26080: Error while selecting entity for myEO" while updating
Hi All,
I am using jdev 10.1.3.4. I am having updatable VO. I want to update an attribute of a particular row. I wrote the below code in my BB.
ViewObject vo = am.getmyVO();
Key myKey = new Key(new Object[]{6207});
Row rw= vo.getRow(myKey);
if (rw!= null ) {
rw.setAttribute("ProcessFlag",processFlag);
am.getTransaction().commit();
But, I am getting the below error.
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for myEO
Can anybody help me regarding this?
Thanx,
AbhijitI do agree. Bt, what could be the root cause for this error?
--Abhijit -
Error Message: JBO-26080: Error while selecting entity for PoLines
I'm using JDev 9.0.4.
i make a VO from two EO at the BC4J level.
then i create complete struts JSP Application for this VO.
so i get a page that i can do New/Edit and Delete to each row.
when i try to do Edit for some lines (not all of them) i get this error :
Error Message: JBO-26080: Error while selecting entity for PoLines
Error Message: ORA-01722: invalid number
What does it mean ? how can i solve it ?
Thank YouUn-comment the following lines to display the stack trace
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ElcPoLines
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:832)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4665)
at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:3845)
at oracle.jbo.server.EntityDefImpl.findFromDatabase(EntityDefImpl.java:888)
at oracle.jbo.server.EntityDefImpl.findByPrimaryKey(EntityDefImpl.java:943)
at oracle.jbo.server.QueryCollection.findByKey(QueryCollection.java:2524)
at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:2907)
at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:6019)
at oracle.jbo.client.JboUtil.getRowFromKey(JboUtil.java:91)
at oracle.jbo.html.BC4JContext.getRow(BC4JContext.java:307)
at oracle.jbo.html.struts11.actions.EditAction.populateBC4JFormBean(EditAction.java:160)
at oracle.jbo.html.struts11.actions.EditAction.edit(EditAction.java:59)
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 org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-01722: invalid number
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:890)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2407)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2660)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:387)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:606)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4665)
at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:3845)
at oracle.jbo.server.EntityDefImpl.findFromDatabase(EntityDefImpl.java:888)
at oracle.jbo.server.EntityDefImpl.findByPrimaryKey(EntityDefImpl.java:943)
at oracle.jbo.server.QueryCollection.findByKey(QueryCollection.java:2524)
at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:2907)
at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:6019)
at oracle.jbo.client.JboUtil.getRowFromKey(JboUtil.java:91)
at oracle.jbo.html.BC4JContext.getRow(BC4JContext.java:307)
at oracle.jbo.html.struts11.actions.EditAction.populateBC4JFormBean(EditAction.java:160)
at oracle.jbo.html.struts11.actions.EditAction.edit(EditAction.java:59)
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 org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534) -
Oracle.jbo.DMLException: JBO-26080: Error while selecting entity for
I have an error like this:
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ....
It happened because my application was updating a few attributes in a ViewObject, And there was a message that showed:
java.sql.SQLException: ORA-00904: "EI_PPN": invalid identifier.
My entity object for the view object above has the EI_PPN attribute, and so as well as the table in the database. Why it keeps showing that EI_PPN is an invalid identifier?Is the column name also uppercase EI_PPN?
-
JBO-26080: Error while selecting entity for SampleEO
Hi,
I have a VO based on Entity Object. While I am going to update a record using this VO, its getting updated in the DB table.
But after that while I am going to execute the VO for displaying the data its giving the below error.
"oracle.jbo.DMLException: JBO-26080: Error while selecting entity for SampleEO
Can anyone suggest what could be the reason for this error?
--AbhijitHi Timo,
I am using jdev 10.1.3.4 (jsf-ADF BC). I googled the error but didn't find any solution.
Is there anyhing to do with the EO configuration or property?
Any help will be appreciated.
--Abhijit -
JBO-26080: Error while selecting entity for VIEW
When I use the LOV, it brings up all values, except when I search for the letters "wy". It returns nothing, and when I deleted these letters and search again nothing appears and I get this error. Can anyone help, I've been looking at this for a week and have come up with nothing.
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for IraPtsSponsorVw
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:888)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5267)
at oracle.jbo.server.EntityImpl.populate(EntityImpl.java)
at oracle.jbo.server.EntityImpl.merge(EntityImpl.java:4746)
at oracle.jbo.server.EntityCache.add(EntityCache.java:525)
at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:1710)
at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:2136)
at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1037)
at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2650)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1871)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1772)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1256)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3206)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2755)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2610)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2850)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1941)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:689)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:769)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:706)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3361)
at gov.fda.cber.pts.controller.strutsactions.LovBimsSponsorAction.prepareModel(LovBimsSponsorAction.java:75)
at oracle.adf.controller.struts.actions.DataAction.prepareModel(DataAction.java:486)
at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:105)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-00904: "SPONSOR_COUNTRY": invalid identifier
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:661)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:951)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:693)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1057)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2942)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:640)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5267)
at oracle.jbo.server.EntityImpl.populate(EntityImpl.java)
at oracle.jbo.server.EntityImpl.merge(EntityImpl.java:4746)
at oracle.jbo.server.EntityCache.add(EntityCache.java:525)
at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:1710)
at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:2136)
at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1037)
at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2650)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:1871)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1772)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1256)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3206)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2755)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2610)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2850)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1941)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:689)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:769)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:706)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3361)
at gov.fda.cber.pts.controller.strutsactions.LovBimsSponsorAction.prepareModel(LovBimsSponsorAction.java:75)
at oracle.adf.controller.struts.actions.DataAction.prepareModel(DataAction.java:486)
at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:105)
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)Hi Frank thanks for responding,
I actually figured it out. I thinkt he problem was that the VO didnt not have a primary key to reference a specific row and was throwing an error. I used ROWID and it works fine now.
Thank you. -
UIX messageLovInput results in JBO-26080: Error while selecting entity for
Hello,
If we enter a full value in a messageLovInput and press <enter> instead of clicking on flash-light, JBO-26080 error pops-up. How can we retrieve values from a messageLovInput without having to click on flash-light and selecting entry from lovWindow0.uix?
Thanks for your help, Ali.re-post
-
Hi
I keep getting the "JBO-26080: Error while selecting entity for Units" error. Below is the query in my View Object. If I remove the Units(Enitty) from the query it works fine but I need to have that in the query. This error occurs only when I do "Reset" on the screen which in turn calls "getSearchProgramView().getCurrentRow().refresh(Row.REFRESH_WITH_DB_FORGET_CHANGES);"
Can some one explain how to get rid of this problem? When I run the query in TOAD it works fine.
SELECT Programs.PROGRAM_ID,
Programs.CATEGORY,
Programs.NAME,
Programs.PROGRAM_COORDINATOR_ID,
Programs.PROGRAM_ASSISTANT_ID,
Programs.MANAGING_UNIT_ABBR,
Programs.CREATED_BY,
Programs.CREATED_DATE,
Programs.LAST_UPDATED_BY,
Programs.LAST_UPDATED_DATE,
Persons.PERSON_ID,
Persons.USER_NAME,
Persons.FIRST_NAME,
Persons.LAST_NAME,
Persons1.PERSON_ID AS PERSON_ID1,
Persons1.USER_NAME AS USER_NAME1,
Persons1.FIRST_NAME AS FIRST_NAME1,
Persons1.LAST_NAME AS LAST_NAME1,
Categories.NAME AS NAME2,
Categories.CODE AS CODE1,
Units.DESCRIPTION,
Units.CODE
FROM PROGRAMS Programs, PERSONS Persons, PERSONS Persons1, CATEGORIES Categories, UNITS Units
WHERE ((Programs.PROGRAM_COORDINATOR_ID = Persons.PERSON_ID(+))
AND (Programs.PROGRAM_ASSISTANT_ID = Persons1.PERSON_ID(+))
AND (Programs.CATEGORY = Categories.CODE(+))
AND (Programs.MANAGING_UNIT_ABBR = Units.CODE(+)))
ThanksHi,
for those who have encountered the same problem as me, you should check that the table name sql query is of the form Name_Schema.Name_Table.
For this right click on the entity in the workspace> edit entity> Database Objects> Schema Objects and add the schema name before table name( Name_Schema.Name_Table).
thanks, -
JBO-26080: Error while selecting entity / ORA-00936: missing expression
Dear All
i have the below master VO based on EO , while trying to update any record in it and while commit , i'm getting the below error (ORA-00936: missing expression) however i don't have any missing exp in my ClaimsSubmissionsEO) !
Note : JDeveloper 11.1.2.0
SELECT ClaimsSubmissionsEO.BATCH_REF,
ClaimsSubmissionsEO.PORTAL_TRANS_ID,
ClaimsSubmissionsEO.RECEIVED_DATE,
ClaimsSubmissionsEO.BOX_NO,
ClaimsSubmissionsEO.POLICY_NO,
(select E_NAME from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS ENAME,
ClaimsSubmissionsEO.CURRENCY,
(SELECT e_currency_desc FROM EDGE.CURRENCY WHERE currency_code = ClaimsSubmissionsEO.Currency) AS CURRENCYDESC,
ClaimsSubmissionsEO.IN_OUT_KSA,
ClaimsSubmissionsEO.PORTAL_USER_NAME,
ClaimsSubmissionsEO.PLAN_TYPE,
ClaimsSubmissionsEO.PLAN_ID,
(SELECT E_DESC FROM TAJCRS.PLANS WHERE PLAN_NO = ClaimsSubmissionsEO.PLAN_ID) AS PLANNAME,
ClaimsSubmissionsEO.PATIENT_FILE_NO,
ClaimsSubmissionsEO.ACCOUNT_CODE,
ClaimsSubmissionsEO.BIRTH_DATE,
ClaimsSubmissionsEO.MEMBER_AGE,
ClaimsSubmissionsEO.PHYSICIAN_CATEGORY,
ClaimsSubmissionsEO.CLAIM_DATE,
(select BRANCH_CODE from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS BRANCH,
(select QUOTATION_NO from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS QUOTATION,
(select CUST_ID from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS CUST_ID,
(select BUS_TYPE from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS BUS_TYPE,
(select DATE_FROM from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS DATE_FROM,
(select DATE_TO from tajcrs.policy where policy_no = ClaimsSubmissionsEO.policy_no) AS DATE_TO
FROM TAJCRS.CLAIMS_SUBMISSIONS ClaimsSubmissionsEO
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for ClaimsSubmissionsEO
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1113)
at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:552)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8287)
at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5947)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.lock(ClaimsSubmissionsEOImpl.java:7200)
at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6467)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6683)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.postChanges(ClaimsSubmissionsEOImpl.java:238)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:862)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:863)
... 57 more
## Detail 0 ##
java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:862)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:863)
at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:552)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8287)
at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5947)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.lock(ClaimsSubmissionsEOImpl.java:7200)
at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6467)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6683)
at DataModel.BC.EO.ClaimsSubmissionsEOImpl.postChanges(ClaimsSubmissionsEOImpl.java:238)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Edited by: Oracle ITself on Aug 29, 2011 5:36 AM
Edited by: Oracle ITself on Aug 29, 2011 5:36 AMchk this
SQL syntax exception: missing expression?
http://www.coderanch.com/t/302720/JDBC/java/missing-expression-error -
Help: 'JBO-26080: Error while selecting entity object' on RefreshDataSource
Hi all,
The Problem:
My page throws out a JBO-26080 error on the RefreshDataSource Tag. This only happens the second time it needs to be refreshed, i.e. the second time the form is submitted to processRequest.jsp (see Background Info below). In my testing I have found that it is definately the RefreshDataSource tag.
Any help will be much appreciated.
Background Info:
I have 2 JSP's, 1 (report.jsp) that displays a table and 1 (processReport.jsp) that runs a stored procedure, implemented as a method in the Application Module, to select data for the table.
The method in the application module:
public void doCurrencyCalc()
CallableStatement st=null;
try // 1
String stmt = "BEGIN CONVERT_MONEY(?,?,?,?,?,?,?,?);END;";
int nParam = 3;
System.out.println("** SQL = " + stmt);
DBTransaction tr = getDBTransaction();
st=tr.createCallableStatement(stmt,DBTransaction.DEFAULT);
st.setString(1, getWB());
System.out.println(" > WB = " + getWB());
st.setLong(2, getKpi());
System.out.println(" > Kpi = " + getKpi());
for(int i=0; i<6; i++)
if(getWbSel(i+1)) st.setString(nParam,String.valueOf(getWbNo(i+1)));
else st.setString(nParam,null);
nParam++;
} // for i
st.executeUpdate();
System.out.println("** Calculation Complete");
} // try 1
catch(SQLException s)
throw new JboException(s);
} // catch SqlException
finally
try{if(st!=null)st.close();}
catch(SQLException s){ }
} // finally
} // end doCurrencyCalc
The processReport jsp:
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page import="za.org.saawu.ibs.bc4j.common.IBSbc4jModule"%>
<jbo:ApplicationModule id="IBSbc4jModule" configname="za.org.saawu.ibs.bc4j.IBSbc4jModule.IBSbc4jModuleLocal" releasemode="Stateful" /><%
IBSbc4jModule app = (IBSbc4jModule)IBSbc4jModule.useApplicationModule(true);
String strDisplay = new String(request.getParameter("btnDisplay").toString());
if(request.getParameter("KPIGroup")!="-1") {
app.setKpiGroup(new Long(request.getParameter("KPIGroup")).longValue());
if(request.getParameter("Kpi")!="-1") app.setKpi(new Long(request.getParameter("Kpi")).longValue());
else app.setKpi(0l);
String strParams[] = request.getParameterValues("wbsel");
app.resetWBSel();
if(strParams.length>0) {
for(int nCount=0; nCount<strParams.length; nCount++) {
int nWBNo = app.findWB(strParams[nCount]);
if(nWBNo>-1) app.setWBSel(nWBNo+1,true);
} // for
app.doCurrencyCalc();
} else {
session.setAttribute("info","NO_WBSEL");
} // if strParams length is 0
if(strDisplay.compareToIgnoreCase("TABLE")==0) {
session.setAttribute("info","REFRESH_TABLE");
} else if(strDisplay.compareToIgnoreCase("GRAPH")==0){
session.setAttribute("info","REFRESH_GRAPH");
} // if the request btnDisplay is TABLE
} else {
session.setAttribute("info","NO_KPIGROUP");
} // if the KPIGroup was selected
%>
<jbo:DataSource id="srcOutput" appid="IBSbc4jModule" viewobject="OutputView" />
<jbo:RefreshDataSource datasource="srcOutput" />
<jsp:forward page="report.jsp" />
<jbo:ReleasePageResources />
The report jsp is a form that has some input selections and the DataTable tagMichael:
'JBO-26080' means that something was wrong with the SQL statement issued to get the data for an entity object.
You need the detail exception stack trace to see what went wrong at the JDBC level. Take a look to see if the exception reported on your browser has detail exception info on it.
If not, you should run your middle tier app with diagnostic turned on. This will output lots of diag info on console and you should get the detail exception in it. Please take a look at the detail exception. If you can't make sense out of the exception, post it to this thread.
To turn on diagnostic, you need to specify
-Djbo.debugoutput=console
as one of the JVM switches.
If you're invoking your app (middle-tier app) from command line,
include -Djbo.debugoutput=console as in
java.exe -Djbo.debugoutput=console ...
If you're running your app from within JDev:
1. Select the project.
2. Do right mouse click and select "Project Settings..."
3. On the Settings dialog, select Configurations/Runner.
4. In the righthand side pane, you should see a textbox for "Java
Options". Please add the following JVM switch:
-Djbo.debugoutput=console
Then, rerun. The run command should include
-Djbo.debugoutput=console as in
"D:\JDev9i\jdk\bin\javaw.exe" -Djbo.debugoutput=console -classpath ...
Thanks.
Sung -
Error while selecting data for mara table from KOTG516 table
Hello all,
I am trying to select the data from mara table with respect to KOTG516 table . but i am not getting the value into t_mara table as t_kotg516-matnr is empty . but the t_kotg516 conatins the matnr value . here is the code . i am not getting where i went wrong . please help .
TYPES: BEGIN OF Y_KOTG516,
KAPPL TYPE KAPPL,
KSCHL TYPE KSCHG,
VKORG TYPE VKORG,
VTWEG TYPE VTWEG,
KUNAG TYPE KUNAG,
MATNR TYPE MATNR,
DATBI TYPE KODATBI,
END OF Y_KOTG516.
DATA: T_KOTG516 TYPE STANDARD TABLE OF Y_KOTG516,
E_KOTG516 TYPE Y_KOTG516.
TYPES: BEGIN OF Y_MARA,
MATNR TYPE MATNR,
MEINS TYPE MEINS,
END OF Y_MARA.
DATA: T_MARA TYPE STANDARD TABLE OF Y_MARA,
E_MARA TYPE Y_MARA.
SELECT KAPPL
KSCHL
VKORG
VTWEG
KUNAG
MATNR
DATBI
FROM KOTG516
INTO TABLE T_KOTG516
WHERE VKORG IN S_VKOR
AND VTWEG IN S_VTWE
AND KUNAG IN S_KUNAG.
IF NOT T_KOTG516[] IS NOT INITIAL
and SY-SUBRC EQ 0.
SELECT MATNR
MEINS
FROM MARA
INTO TABLE T_MARA
FOR ALL ENTRIES IN T_KOTG516
WHERE MATNR EQ T_KOTG516-MATNR
AND MEINS EQ 'CS'
OR MEINS EQ 'IT'.
ENDIF.
FOR T_KOTG516 I HAVE VALUE but matnr is not getting selected from mara table as i cheked t_kotg516-mara is empty . i cant use with header line . please advise .
Regardshi,
SELECT KAPPL
KSCHL
VKORG
VTWEG
KUNAG
MATNR
DATBI
FROM KOTG516
INTO TABLE T_KOTG516
WHERE VKORG IN S_VKOR
AND VTWEG IN S_VTWE
AND KUNAG IN S_KUNAG.
if sy-subrc = 0 .
SELECT MATNR
MEINS
FROM MARA
INTO TABLE T_MARA
FOR ALL ENTRIES IN T_KOTG516
WHERE MATNR EQ T_KOTG516-MATNR
AND MEINS EQ 'CS'
OR MEINS EQ 'IT'.
ENDIF.
regards
deepak . -
JBO-26080: Error while selecting entity
Hello,
I'm getting this exception when I try to update a row via the UI (I'm using BC4J/UIX in Jdeveloper 9.05 preview).
When I test the view through the application module everything works properly. So I know it's got to be something that I did wrong in the UIX layer.
Also I'm wondering - is there a place where all the JBO exceptions are listed with a detailed explanation of the error code? Or is there a way to see the stack trace of the exception? If the exception message was a bit more verbose I wouldn't feel quite so stuck :)
Thanks a lot
JTurning diagnostic usually shows exception stack trace.
See
http://radio.weblogs.com/0123729/2003/05/01.html
for further info.
Thanks.
Sung -
Error while selecting values for f4 help.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-100.
SELECT-OPTIONS: CCG for setnode-SETNAME.
SELECTION-SCREEN END OF BLOCK B1.
At Selection-screen on value-request for ccg-low.
Select setname from setnode into corresponding fields of table i_setnode where setclass = '0101'.
Sort i_setnode by setname.
Delete adjacent duplicates from i_setnode.
Perform F4_Help_ccg_low.
FORM F4_Help_ccg_low .
data: prog like sy-repid , scrno like sy-dynnr.
prog = sy-repid.
scrno = sy-dynnr.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'i_setnode-setname'
DYNPPROG = prog
DYNPNR = scrno
DYNPROFIELD = 'CCG-low'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = i_setnode
ENDFORM.
The field which i select from the f4 help is not being diaplsyed on select-option. I have attached the code written above. Please check and if i have done anything pls correct me.
Regards,
Phyrose.Hi
check with this code
TYPES : BEGIN OF ST_OBJID_SH,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
END OF ST_OBJID_SH.
DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
*SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
IF S_OBJID IS NOT INITIAL.
SELECT OTYPE OBJID FROM HRP1000
INTO TABLE IT_OBJID_SH
WHERE OTYPE = 'D'.
IF SY-SUBRC EQ 0.
SEARCH HELP FOR QUALIFICATION.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'OBJID'
PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_OBJID'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = IT_OBJID_SH
FIELD_TAB =
RETURN_TAB = RETURN_TAB
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
<b>Reward if usefull</b> -
Xml parsing error while selecting whole result set for sql query
Hi All,
I am having xml parsing error while selecting whole query result set. The data is coming fine for default result set of 50 rows.
My exception is below.
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00234: namespace prefix "xsi" is not declared
Error at line 1
ORA-06512: at "SYS.XMLTYPE", line 254
ORA-06512: at line 1
*31011. 00000 - "XML parsing failed"*
**Cause: XML parser returned an error while trying to parse the document.*
**Action: Check if the document to be parsed is valid.*
My sql query is below that is giving results for default result set of 50 rows.
select extract(xmlType(clob_xml_colm_name), '//v2:node1//childnode/text()','xmlns:v2="namespace_url"').getStringVal() from table_name
My sql developer version is below.
Java(TM) Platform 1.7.0_04
Oracle IDE 3.1.07.42
Versioning Support 3.1.07.42
My database version is below.
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit
Please could any one help me urgently as the sql query is supposed to be correct as it is returning query results, but the problem happening when i try to select whole result set.
Thanks and regards,What does the XML look like? It appears that some of the supposed XML stored as a CLOB is not really valid XML. Find the row in the table that is causing your issue and review the "XML" in it.
-
Error while doing GR for scheduling aggrement
Dear Experts,
We are facing error while doing GR for scheduling aggrement.
we have done the following steps.
1) Scheduling aggreement in ME31L
2) Released in ME35L
3) Mainatined Sch.Agmt Schdule in ME38 for todays and date 200 qty and other line is 800 qty.
When we are trying to do GR in MIGO system is giving the following message.
Document 5500000152 does not contain any selectable items
can I know what I have missed in the above steps.
Please guide me to resolve this.
Regards,
PrasadHi,
Please check Please check if Gr is already done against this document. Also please check whether you have attached SA in the source list with line items.
T-code:ME01
Enter Mat.code & Plant.
In the next screen pl.do the following:
Valid from - commencement date of the SA
Valid to - End date of the SA
Vendor - Vendor on whom the SA is released
POrg - Your purchase organisation
PPL - Leave it blank(This is only for interplant)
OUn - Ordering unit
Agreement - SA number
Item - 1
I hope this will resolve your issue. Thanking you
Maybe you are looking for
-
In-app purchase: Error message when adding a test storekit user
Hi, I'm running into the "The email address you entered already belongs to an existing Apple account. Please try again." when I try to add a test user for in-app purchases. I used an email associated with an existing Apple-id. I'm running into "Could
-
I'm trying to print out a credit card statement from my iPad, it only prints the first page not the 4 pages, please help
-
Not able to add rss to my mac mail
i m not able to add rss to my mac mail after i deleted my rss folder in my mac mail
-
Can CSM be installed on Windows Server 2008??
Can CSM be run on Windows Server 2008 and on 32 or 64-bit? Can CSM be deployed as a virtual Server? Thanks in Advance
-
My applet is in 5 panel and I would like to add an image to my South panel. How can I do this?