While selecting Frame for Table in Smartform
hi
While i am selecting Frame for Table in Smartform , it displaying very Bold frame.
wat is the reason,
guide me
hi,
do this steps,
->first in the shading of the table select white color
->provide the saturation as 100
->select the pattern and select any one of the pattern
->and then check the output
you will get the required do this in the same fashion i explained
Thanks,
Nethaji.
Similar Messages
-
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.
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, -
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 -
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) -
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. -
XML parsing failed while select from my table with criteria
While select from my table an error displayed as
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: '/<XML Path>/row[c24="SA0010001"]'
select * from category
where existsNode(xmlrecord, '/<XML Path>/row[c24="SA0010001"]') = 1;
xmlrecord
<row id="52843" xml:space="preserve">
<c1>Refund of Domestic Payment Order</c1>
<c2>Ref Dom Py Or</c2>
<c3>PLsql</c3>
<c20>1</c20>
<c21>62_TAABSINPUTT___OFS_TAABS</c21>
<c22>0803181605</c22>
<c23>62_TAABSINPUTT_OFS_TAABS</c23>
<c24>SA0010001</c24>
<c25>1</c25>
</row>Hi,
Did you copy that sample from some demo?
The part "<XML Path>" is meant to be replaced by a real XPath fragment.
Here, I think you may just want this :
select * from category
where existsNode(xmlrecord, '/row[c24="SA0010001"]') = 1;Edit : OK, just seen your previous post and the example given
Edited by: odie_63 on 6 juil. 2010 21:16 -
HEllo, i've a problem when i try to load a file, the message is:
SQL*Loader-926: OCI error while OCIStmtExecute(trigger_hp) for table <table>
ORA-00904: invalid column name
what is the solution for this?
thanksThe root cause is in the error ora-1426, which you can look up in the online error documentation at http://tahiti.oracle.com . No one knows every error message by heart. This means it is expected you look up the error prior to posting, and you don't expect any volunteer in this forum to look up the error on your behalf.
Also this is a typical candidate for being a known problem, and known problems can be found on My Oracle Support.
Sybrand Bakker
Senior Oracle DBA -
Selection groups for tables and header tables
A couple of questions or rather observations around Selection Groups for tables and conversion objectu2026
1) For tables that do not really have a date field, for instance table PDSNR, it appears that you cannot specify a selection group. Consequently, you have to transfer the table in its entirety. Is this something that can be modified via customizing?
2) And what about the header tables, for example, X_ANLC, I have tried but not able to change the selection groups on these objects.
Thanks!
HarmeetHi Harmeet.
Since you mention you can only filter by date I am assuming you are using TDTIM.
How would you want to filter PDSNR, for example? Would it want to filter all entries >= a given sequence number?
The only way I know to do that is to work directly with the configuration tables. In your case you will need to use CNVMBTSEL* tables. Check how the standard selection groups are configured, and it should not be too difficult to follow the same logic and create your own selection groups.
CNVMBTSELGRP MBT PCL Selection groups (main table to create the selection group)
CNVMBTSELMEMTYPE MBT PCL Selection group member types (main table to define members => fields for the selection group)
CNVMBTSELGRPDEF MBT PCL Selection group definition (definition of the fields in that selection group)
CNVMBTSELGRPVAL MBT PCL Selection group values (values for each field; you can use GE for >=)
CNVMBTSELCLAUSE MBT PCL Selection group clause (should also be straightforward if you are using only one field)
CNVMBTSELVAR MBT PCL Selection group variants (configure the same variant for your selection group as for the others)
CNVMBTSELREF MBT PCL Selection group reference (assignment of selection group to conversion object)
Hope this helps,
Rui Dantas -
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 . -
Getting Error of Runtime Exceeded while generating OTF for PDF in smartform.
Hi All,
I am getting a error of runtime exceeded while generating OTF file for PDF in smartform through FM. The report is taking too much time before giving the output...and most of the time going to dump saying report has exceeded the runtime. All is working well till the Smartform FM reached. I debugged this FM and found that the TABLES parameter is having problem, may be there are too many tables in that parameter.Please help. Below is the code-
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_form_name
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = wa_control
output_options = wa_output
user_settings = 'X'
spl_gl = p_spl_gl
open_dt = p_budat
bukrs = p_bukrs
w_check = w_check
w_check1 = w_check1
IMPORTING
* document_output_info =
job_output_info = wa_otf
* job_output_options =
TABLES
kna1 = t_kna1
bsid_p = t_bsid_p
bsid = t_bsid
TEXT = t_text
spl = t_spl
bsid_x = t_bsid_x
bsid_l = t_bsid_l
bsid_h = t_bsid_h
bsid_q = t_bsid_q
bsid_tot = t_bsid_tot
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5Hi
Yes as Eltan says you need to consider there are two blocks of abap program:
- the first one is the driver program (but it seems there's no problem here because it called the smartform quickly)
- the second one is inside the smartform (It's possible to write abap routine in the smartform), and it seems the problem could be here
The variable c_form_name has the name of the smartform, you can manage it by transaction SMARTFORMS
but now it's not possible to say you why the print takes too long time, you need to do a trace
Max -
Dulpicate entry occur while select from edidc table
HI ,
internal table I_edidc declare as unique key DOC_NUM while select the value from the edidc table on basis of status ,msgtyp,direct ,sndprt.sndprn ,updat, updtim,cretim,credat giving the duplicate entry dump some time .ANY suggestionHi Prakash ,
thanks for your replying internal table is refreshed i checked it during the debugging time and this issue not occurs frequently .I think the reason is when the idoc status changes from 51 to 53 it is picking up 51 entry and the same time it status changes to 53 it again tries to pick the same idoc with status 53 .Please correct me if i am wrong and please give your valuable suggestion .Below is the code
SELECT docnum status direct rcvpor rcvprt rcvprn mescod mesfct sndpor
sndprt sndprn credat cretim mestyp idoctp cimtyp upddat updtim
FROM edidc INTO TABLE i_edidc
WHERE status IN s_status
AND mestyp EQ g_msgtyp
AND direct EQ l_direct
AND sndprt IN s_sndprt
AND sndprn IN s_sndprn
AND credat IN s_credat
AND cretim IN s_cretim
AND upddat IN s_upddat
AND updtim IN s_updtim. -
Short Dump While selecting Variant for ABAP query
Hi,
ABAP query is going to short dump (CONNE_IMPORT_WRONG_COMP_LENG) while selecting a Variant. If i create and use variant then i am able to see Output of Variant.But not able to use Earlier created variants .
I think some mismatch between variant values and selection screen fields.Can anyone tell me how to rectify this ?
I am not able to debug the code as dump is coming in a System program(RSDBSPVD).Can anyone tell me which database table i can use to get values of the Variant.
Thanks in Advance.
Nirmala KHi nirmala,
chk the links:
http://help.sap.com/saphelp_webas620/helpdata/en/c0/980398e58611d194cc00a0c94260a5/content.htm
http://help.sap.com/saphelp_webas620/helpdata/en/c0/9803a7e58611d194cc00a0c94260a5/content.htm
regards,
keerthi. -
SQL> create type string_table is table of varchar(100);
2 /
Type created.
declare
v_names string_table := string_table();
begin
v_names.EXTEND(3);
v_names(1) := 'name1';
v_names(2) := 'name2';
v_names(3) := 'name3';
dbms_output.put_line(v_names(1));
dbms_output.put_line(v_names(2));
dbms_output.put_line(v_names(3));
dbms_output.put_line(v_names.COUNT());
select * from table(v_names);
end;
select * from table(v_names);
ERROR at line 12:
ORA-06550: line 12, column 7:
PLS-00428: an INTO clause is expected in this SELECT statementselect * from table(v_names);
I guess ,here you were trying to put the content of the NT into another NT, or just trying to print it.
But, I don't think INTO Clause is mandatory here.
Please check your modified code (w/o INTO) and the output :
DECLARE
TYPE string_table IS TABLE OF VARCHAR (100);
v_names string_table := string_table ();
v_test string_table := string_table ();
BEGIN
v_names.EXTEND (3);
v_names (1) := 'name1';
v_names (2) := 'name2';
v_names (3) := 'name3';
DBMS_OUTPUT.put_line ('Old collection - '||v_names (1));
DBMS_OUTPUT.put_line ('Old collection - '||v_names (2));
DBMS_OUTPUT.put_line ('Old collection - '||v_names (3));
DBMS_OUTPUT.put_line ('Old collection - '||v_names.COUNT ());
DBMS_OUTPUT.put_line (CHR(10));
/* SELECT * FROM TABLE (v_names); */
v_test := v_names;
DBMS_OUTPUT.put_line ('New collection -- '||v_test (1));
DBMS_OUTPUT.put_line ('New collection -- '||v_test (2));
DBMS_OUTPUT.put_line ('New collection -- '||v_test (3));
DBMS_OUTPUT.put_line ('New collection -- '||v_test.COUNT ());
DBMS_OUTPUT.put_line (CHR(10));
/* Printing using FOR LOOP */
FOR i IN v_test.FIRST..v_test.LAST
LOOP
DBMS_OUTPUT.put_line ('In FOR Loop --- '||v_test (i));
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('Error ' ||SQLERRM|| DBMS_UTILITY.format_error_backtrace);
END;gives o/p :
Old collection - name1
Old collection - name2
Old collection - name3
Old collection - 3
New collection -- name1
New collection -- name2
New collection -- name3
New collection -- 3
In FOR Loop --- name1
In FOR Loop --- name2
In FOR Loop --- name3Refer this link -- http://docs.oracle.com/cd/E11882_01/appdev.112/e17126/tuning.htm#CIHGGBGF
Edited by: ranit B on Dec 26, 2012 2:29 PM
-- code modified
Edited by: ranit B on Dec 26, 2012 2:45 PM
-- code 'again' updated -- FOR LOOP added
Maybe you are looking for
-
RE_RHTRANS0 usage for mass language key changes
Hello, Does anyone know if it is possible to use RE_RHTRANS0 for mass language key changes, i.e. to have it as a background job? I tried to execute RHTRANS0 or RHTRANS0_NO_ALV in the background, but the translation record is not getting created. I th
-
Dear all, we have the following case: a single inbound delivery contains up to 40 items of materials, to be delivered to several unloading points. If the unloading point is maintained when creating the scheduling agreement, this information will appe
-
Logic Not Loading Plugins on Macbook Pro
Hi Everyone, I just bought a new Macbook Pro, installed Logic, upgraded to 7.2.2 and then installed my plugins that I have been using on my G5 with no problem. However, for some reason, most of my plugins are not showing up in the Macbook version. I
-
Hi Gurus, Just need a clarification. Can we use 1 DataSource for two DSO? Means can we attach 1 datasource two times? Regards
-
Why is Excel so slow on Mac Mini?
At home I have a Mac Mini 1.66GHz Intel Core Duo with 2GB RAM and 80GB hard drive, OS 10.4.10 and Excel 2004. At work I have an IBM Thinkpad 1.6GHz Intel Pentium Pro with 1.2GB RAM and 40GB hard drive, Windows XP and Excel 2003. I have an excel sprea