Roles that have a query
Hello,
Is there any way (report/transaction/table) to know in which authorization roles a specific query is assigned?
Thanks in advance,
Cris.
Hi,
Go to Table 'RSRREPDIR' and give your Query Name in 'COMPID' and execute.
Then take the 'GENUNID' from that and Go to Table 'AGR_HIER' and execute it with
the above 'GENUNID' in 'SAP_GUID'. From that you can get Role Name for your Query.
Regards,
Jackie.
Similar Messages
-
CUP 5.3 SP8 - Requests with several roles that have different approvers
Hello,
Here is a simplified version of a scenario we are testing in CUP:
A Request to add 2 roles to a user is created.
Role 1 has Role Approver1 only
Role 2 has Role Approver 2 only
When Role Approver1 logs into CUP to approve Role 1, he still sees Role 2 listed in the screen, even though he does not have authority to approve it. Same thing happens for for Role Approver2. My issue is - I thought CUP would only show the role that that Role Approver needed to approve. I didn't think it would should all roles that require approval.
I feel I have the stage configured correctly. Role Approvers can only approve at the Role Level; When Role Approver1 approves his Role, everything works great and CUP returns a message saying something along the lines of "Role Approved; Request pending approval from other approvers." - just like we want it to.
Again, my concern is that when an Approver sees the screen that shows the role they need to review, it also shows all other roles that need to be reviewed. This may become confusing to role approvers; they might think they are approving all roles when really they are only approving the one in which they are the approver.
Any info or ideas on how I could solve my issue? Let me know if I need to clarify further.
Thanks!
Jes BehrensThank you for your input Sudip.
However, I'm not clarifying my issue well enough.
I fully realize the workflow process we have setup. My issue is with the screens themselves, the screens that Role Approvers see when they login to CUP to approve a role. For example, tf a Request has 5 Roles in it with 5 different Role Approvers (1 Role Approver per Role), when they login to CUP, they should only see the one role in which they can Approve. In our case, the CUP screen shows all 5, even though they are only actually approving one of those 5. It is very confusing for Role Approvers. To them, it looks like they are Approving all 5 roles, when in reality, they are not and cannot.
Does this need to be submitted as an enhancement or is this functionality available in configuration?
Thanks!
Jes Behrens -
How to control use from using GL that have been retricted
Hi SAP Expert,,,
the scenario is like this, i need to create new roles in order to control certain user from finance dept which there are no have a authorization to POST certain GL.
i have check my current roles setting, it seems there are no roles that have been created so what is the object that can i use ?OK
The easiest way to do this is to work out the GL accounts you want to use.
Add an authorization group in control data in the GL master FS00.
make sure the users have the same authorization object in the profile which is
F_BKPF_BES and BRGRU = your new authorization group.
In terms of restricting the postings for certain periods, the authorization group needs to be added in OB52 against the correct posting period variant, and the users will need access to the authorization group in their profile via F_BKPF_BUP.
You may need to run this by your secruity officer, however authorizations are maintained in PFCG.
Please award points if this is useful. -
Query on Cats data, employees that have not filled in their data.
Hi,
I have to create a query that will report on all the employees that have not filled in their timesheets. The 0CATS_C01 cube does not contain that data, it only has the employees that have filled in their timesheets.
The route I have decided to take with this requirement is to create a cube with each employee and ecah day of the year and then create a multiprovider with the 0CATS_C01 cube and create an exception report with this multiprovider. I am not sure that this is the best way to go about this report.
However I am stuck at the new employee cube - I don't know how to add a record for each employee and each day to the cube.
Experts, could you please suggest a better way of developing this query, and also a solution to adding a record for each employee and each day of the year, I think that I could do this in the "Start Routine" of the update rule, but am uncertain.
Please help.
Thanks in advance !I have not worked with CATS data, but consider an InfoSet of employee and the InfoCube. This would provide a list of all emplyees and their CATS data. Create a query, and select by time, and filter by a key figure in the CATS infoCube < 1.
Also consider using a one characteristic DSO instead of the employee master data of "active" employees and using that in the InfoSet. (We probably don't need to know that an an employee who quit six months ago did not fill in his time sheet!)
Good luck,
John Hawk -
NEED TO DETERMINE USERS THAT HAVE LOGGED IN WITH A SPECIFIC ROLE
I have a requirement to determine which users have logged in with a specific
role or accessing a specific application. I know I can use the
ORASSO.WWSSO_AUDIT_LOG_TABLE_T table to see the users that have logged in, but
need to know which table to join with in order to determine which group that a
user belongs to. It would also be nice to figure out which users are accessing
a given application.
We are running AS 9.0.4.2 with ORASSO database 9.0.1.5.
Can you identify which tables I will need to use to satisfy my requirement?
Thanks, MikeThanks! I modified this slightly to get what I needed but I didn't think that I could get this from dba_tab_privs. You were a huge help!
select table_name, grantee
from dba_tab_privs
where
table_name in ('UTL_FILE', 'UTL_TCP', 'UTL_HTTP', 'UTL_SMTP', 'DBMS_LOB', 'DBMS_SYS_SQL', 'DBMS_JOB', 'DBMS_BACKUP_RESTORE')
and privilege='EXECUTE'
order by table_name; -
Query Help - PO's That Have Not Been Sent
Is it possible to make a query for PO's that have not been sent? I tried a few things and couldn't get it to work.
I think I understand what you mean let me try and answer that,
Yes the order comes into SAP from our website then we have someone who then creates the PO based off the sales order. During that process the person who creates the PO then sends it via email in the messaging system to the vendor. My end game is to be able to run some type of query where we could see if that person has missed any. -
Query for retreiving table names that have the same data
Hi,
Does anybody know how to retreive all the table names that have the same data in their respective tables but i dont know the table names or its fields. Is there any possible query to perform this action???
Thanks in Advance,
Balaji.What about...
WITH manager_list AS
SELECT name,
LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
FROM (SELECT m.name,
e.id,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
FROM manager m,
join_table jt,
employee e
WHERE m.id = jt.manager_id
AND jt.employee_id = e.id
AND m.name = :P_MANAGER)
GROUP BY name
CONNECT BY prev = PRIOR curr AND name = PRIOR name
START WITH curr = 1
), all_list AS
SELECT name,
LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
FROM (SELECT m.name,
e.id,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
FROM manager m,
join_table jt,
employee e
WHERE m.id = jt.manager_id
AND jt.employee_id = e.id)
GROUP BY name
CONNECT BY prev = PRIOR curr AND name = PRIOR name
START WITH curr = 1
SELECT a.*
FROM manager_list m,
all_list a
WHERE m.employees = a.employeesWould be easier in 11g, but I don't have an installation here so this is based on 10g.
Cheers
Ben -
Query to find Orders that have all LINES CLOSED status
All,
CAn someone send me SQL QUERY TO find all ORDERS that have all LINES in CLOSED status.
we have an issue in an environment, i am trying to build a data fix script.
regards
girishHi,
Try this :
Method-1 (backend):
*==============*
select a.order_number, b.line_number, b.flow_status_code
from oe_order_headers_all a, oe_order_lines_all b
where a.header_id = b.header_id
and a.org_id= &Org_id -- Operating_unit_id
and a.org_id = b.org_id
and b.flow_status_code='CLOSED'
Method-2 (front end)
*==============*
Orders,Returns --> Order Organizor --> Find orders/Quotes form will open --> Close this serch page only.... --> Now you will able to see Order oganizor form --> Click on Lines Tab of this form (you will see this tab atleft bottom side of the page) --> Press F11.. --> In status Field give parameter as *"CLOSED"..*and press Ctrl + F11 ..... Take an export of the form output..
Risk : this query may take hell lot of time to complete..as it is going to pull all closed line of a particular Org..
Method-3
*========*
Check if you can find any oracle standard report for closed lines..
Hope this will help..
Regards :)
S.P DASH -
Query: to view all users that have been created for access to a database
Hi,
Is there a command syntax that we could give to see all the users who have been created for access to a particular database. I want to view all the users that have been created using sql* plus.
can anyone help or is it impossible?
ThanksThis is for begging:
[email protected]> select grantee, privilege from dba_sys_privs where privilege like '%CREATE%SESSION%
2 /
GRANTEE PRIVILEGE
A CREATE SESSION
AA CREATE SESSION
U1 CREATE SESSION
U2 CREATE SESSION
BD1 CREATE SESSION
DBA CREATE SESSION
EMI CREATE SESSION
MOB CREATE SESSION
ODM CREATE SESSION
OHP CREATE SESSION
SEC CREATE SESSION
SYS CREATE SESSION
TU1 CREATE SESSION
TU2 CREATE SESSION
U01 CREATE SESSION
XDB CREATE SESSION
MOBI CREATE SESSION
OHP4 CREATE SESSION
PFAY CREATE SESSION
UD01 CREATE SESSION
UR01 CREATE SESSION
ADHOC CREATE SESSION
BATCH CREATE SESSION
DEBUG CREATE SESSION
DEV01 CREATE SESSION
HRAPP CREATE SESSION
MDSYS CREATE SESSION
MOBI2 CREATE SESSION
SKING CREATE SESSION
SPACE CREATE SESSION
UPASS CREATE SESSION
WKSYS CREATE SESSION
CTXSYS CREATE SESSION
ORDSYS CREATE SESSION
PRAC01 CREATE SESSION
RTABLE CREATE SESSION
CONNECT CREATE SESSION
Than you have to select also all the users that have granted roles with this privilege
this will give you the full set of users who can connect
Best Regards
Krystian Zieja / mob -
Query for applications that have been superseded.
I need to return a list of applications that have not been superseded in a report. I can do this very easily in the console, but I can't seem to find any views that show any information about application supersedence.
While we are at it, has anyone spotted a diagram showing the relationships for Applications in the views for SCCM 2012? Unfortunately looking through the existing reports doesn't help all that much because the way the queries are structured is very
confusing. Which also may explain why the application reports frequently have conflicting numbers in the same report. By this I mean that these multi-part reports that show a bunch of different graphics, often have numbers for the same application
that don't match up.
My customer has basically decided to ignore just about all the application reports that come in SCCM since they so frequently don't agree with themselves or the SCCM console. That's why I'm trying to understand the model so I can try and give them
some better reports.
BobYou can get a Excel list of SQL views here:
http://gallery.technet.microsoft.com/SCCM-Configmgr-2012-R2-SQL-5fefdd3b -
How to change a role of an existing query ?
Hi,
I have a query already published in one rôle, but i have to move it to another one, how can i do that in query designer please?
Thks for you.Hi,
It is your choice what technical name you give the query you make.
But you have to think about one thing: If you have connected a query with a workbook you have to conect that workbook with the query that has just been created.
Suppose you have the query Z0FIGL_C14_Q1_V1 connected with workbook Z0FIGL_C14_W1_V1.
Now you can save the query in another role as Z0FIGL_C14_Q1_V2 .
Then you have to connect the workbook Z0FIGL_C14_W1_V1 with the query you have just created (Z0FIGL_C14_Q1_V2).
After this you can delete the source query Z0FIGL_C14_Q1_V1.
That sequence is crucial because the system doesn't allow to delete a query if it is connected the any workbook.
Regards,
Leszek -
I need to know what columns that have "ID%" and are NOT NULL from my user "TESTE" dont have a index. I used something like:
select owner, table_name, index_name from dba_indexes where owner='TESTE' and table_name in (
select table_name from ALL_TAB_COLUMNS where owner='TESTE' and COLUMN_NAME like 'ID%' and NULLABLE like 'N')
But this give what columns have, i need the opposite.
Tks,
Elber.
Message was edited by:
ElberAlthough Sundar's solution may work in your particular case, it may be innacurate if more than one table could have a column with the same name. Fortunately, the fix for that also give you the table name "for free"
SELECT table_name, column_name
FROM all_tab_columns
WHERE owner='TESTE' and
column_name LIKE 'ID%' and
nullable LIKE 'N'
MINUS
SELECT table_name, column_name
FROM all_ind_columns
WHERE index_owner='TESTE' and
column_name LIKE 'ID%'You could also just add table_name to the select list of Kedruwsky's solution.
One thing you may want to keep in mind is that both Sundar's and Kedruwsky's solutions, and my modification of Sundar's only check to see if the column is present in an index. It could be the fifth column in a seven column index.
Depending on what exactly you are looking for, you may want to consider the column_position field in all_ind_columns. If you modify the parts of the queries against all_indexes to include a predicate like:
column_position = 1it will eliminate only those columns that are on the leading edge of the index. Based on the ID% name, I suspect that you might be looking for primary keys. If that is true, you might want to replace the queries against all_ind_columns with a query against a join of all_constraints and all_cons_columns. Something like:
SELECT table_name, column_name
FROM all_tab_columns
WHERE owner='TESTE' and
column_name LIKE 'ID%' and
nullable LIKE 'N'
MINUS
SELECT table_name, column_name
FROM all_constraints c, all_cons_columns cc
WHERE c.constraint_name = cc.constraint_name and
c.constraint_type = 'P' and
c.owner='TESTE' and
cc.column_name LIKE 'ID%' and
cc.position = 1HTH
John -
How can I use TopLink for querys that have two and more tables?
I use TopLink today, and I can use one table to query, but how can I use TopLink for querys that have two and more tables?
Thank you for see and answer this question.You can write a custom SQL query and map it to an object as needed. You can also use the Toplink query language "anyOf" or "get" commands to map two tables as long as you map them as one to one (get command) or one to many (anyOf command) in the toplink mapping workbench.
Zev.
check out oracle.toplink.expressions.Expression in the 10.1.3 API -
Hi there,
I was wondering whether anybody could tell me how to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype.
Your help would be much appreciated.
Many thanks,
TimbuctooHi,
To create a WMI filter
1.In the Group Policy Management Console (GPMC) console tree, right-click
WMI Filters in the forest and domain in which you want to create a WMI filter.
2.Click
New .
3.In the
New WMI Filter dialog box, type a name for the new WMI Filter in the
Name box, and type a description of the filter in the Description box.
4.Click
Add .
5.In the
WMI Query dialog box, either leave the default namespace (root\CIMv2) or enter another namespace by doing one of the following:
◦ In the
Namespace box, type the name of the namespace that you want to use for the WMI query.
◦ Click
Browse , select a namespace from the list, and then click
OK .
6.Type a WMI query in the
Query box, and then click OK .
7.To add more queries, repeat Steps 4 through 6 to add each query.
8.After adding all queries, click
Save .
In the Query box, type the following WMI query:
Select * from Win32_Product where Name LIKE “%Skype%”
Best Regards,
Erin -
Testing VOs that have positional bind variables with BC4J Tester
Hi
I am doing some OAF development for eBusiness 12.1.3 and would like to understand whether VOs that have positional bind variables can be tested using the BC4J Tester in JDeveloper 10.1.3 (the latest version of JDev compatible with OAF development). It looks like it should work as when you choose "Oracle Positional" in the VO wizard Binding Style it adds another text box to the to the Bind Variables page called Bind Positions, I assume that this is so you can create variables that you can populate in the Tester that will relate name to position but I get an error regarding column index when I use the BC4J Tester:
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT CASE
WHEN ph.closed_code IN ('CANCELLED', 'CLOSED','FINALLY CLOSED')
THEN 'Expired Item'
WHEN prl.unit_price <> pl.unit_price
THEN 'Price Update'
ELSE ''
END item_status
FROM po_lines pl,
po_headers ph,
po_requisition_lines prl
WHERE ph.po_header_id = pl.po_header_id
AND prl.blanket_po_header_id = pl.po_header_id
AND prl.blanket_po_line_num = pl.line_num
AND pl.po_header_id = :1
AND pl.line_num = :2
AND prl.requisition_line_id = :3
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:833)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.jbo.jbotester.VariableDialog.save(VariableDialog.java:144)
at oracle.jbo.jbotester.GenericDialog.actionPerformed(GenericDialog.java:219)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at oracle.jbo.jbotester.JTDialog.show(JTDialog.java:121)
at oracle.jbo.jbotester.JboTesterUtil.editBindParameters(JboTesterUtil.java:169)
at oracle.jbo.jbotester.SimpleForm.setIterator(SimpleForm.java:65)
at oracle.jbo.jbotester.SimpleForm.<init>(SimpleForm.java:51)
at oracle.jbo.jbotester.VOTreeNode.showForm(VOTreeNode.java:115)
at oracle.jbo.jbotester.BaseTree.processTreeMouseClicked(BaseTree.java:471)
at oracle.jbo.jbotester.BaseTree.mav$processTreeMouseClicked(BaseTree.java:45)
at oracle.jbo.jbotester.BaseTree$TreeMouseListener.mouseClicked(BaseTree.java:125)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
## Detail 0 ##
java.sql.SQLException: Invalid column index
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:5891)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7674)
at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:7410)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8178)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8166)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3890)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.jbo.jbotester.VariableDialog.save(VariableDialog.java:144)
at oracle.jbo.jbotester.GenericDialog.actionPerformed(GenericDialog.java:219)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at oracle.jbo.jbotester.JTDialog.show(JTDialog.java:121)
at oracle.jbo.jbotester.JboTesterUtil.editBindParameters(JboTesterUtil.java:169)
at oracle.jbo.jbotester.SimpleForm.setIterator(SimpleForm.java:65)
at oracle.jbo.jbotester.SimpleForm.<init>(SimpleForm.java:51)
at oracle.jbo.jbotester.VOTreeNode.showForm(VOTreeNode.java:115)
at oracle.jbo.jbotester.BaseTree.processTreeMouseClicked(BaseTree.java:471)
at oracle.jbo.jbotester.BaseTree.mav$processTreeMouseClicked(BaseTree.java:45)
at oracle.jbo.jbotester.BaseTree$TreeMouseListener.mouseClicked(BaseTree.java:125)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
----- LEVEL 1: DETAIL 0 -----
java.sql.SQLException: Invalid column index
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:5891)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7674)
at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:7410)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8178)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8166)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3890)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.jbo.jbotester.VariableDialog.save(VariableDialog.java:144)
at oracle.jbo.jbotester.GenericDialog.actionPerformed(GenericDialog.java:219)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at oracle.jbo.jbotester.JTDialog.show(JTDialog.java:121)
at oracle.jbo.jbotester.JboTesterUtil.editBindParameters(JboTesterUtil.java:169)
at oracle.jbo.jbotester.SimpleForm.setIterator(SimpleForm.java:65)
at oracle.jbo.jbotester.SimpleForm.<init>(SimpleForm.java:51)
at oracle.jbo.jbotester.VOTreeNode.showForm(VOTreeNode.java:115)
at oracle.jbo.jbotester.BaseTree.processTreeMouseClicked(BaseTree.java:471)
at oracle.jbo.jbotester.BaseTree.mav$processTreeMouseClicked(BaseTree.java:45)
at oracle.jbo.jbotester.BaseTree$TreeMouseListener.mouseClicked(BaseTree.java:125)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Is there some other configuration I need to do when using positional Bind Variables? If I switch the query to use named parameters and replace :1 with :var1 for example it works fine in the Tester. The reason I am not using named bind variables is that Oracle recommend using positional for eBus, probably because it was predominantly built on older versions of JDev.
Thanks in advance
Stacy
Edited by: Stacy Carpenter on 26-Mar-2013 06:40There are actually 2 issues here. The first is that bind positions start at 0 (not 1) and that will resolve the invalid column index issue above. However it seems there is a relatively unknown error in JDeveloper 10.1.3 that keeps resetting the bind position of all bind variables each time you update any of them. So if I create var1 with a position of 0 and then create var2 with a position of 1 then the position of var1 will also be overwritten with 1. I tried listing 0,1 for both to see whether the the IDE would intuitively sort out what was supposed to be where but all that happens is that var2 ends up populating positions 0 and 1, which unless the values are meant to be the same is obviously no good. It seems the only way to get around this in this version of JDeveloper is to close the IDE, edit the VO xml to put the variables against their correct positions, and then reopen. Opening the VO wizard will reset them all to the same again so do not do this (unknowingly) and simply right click the AM and run the BC4J Tester which should now let you edit the bind variables and produce the expected results.
Cheers
Stacy
Maybe you are looking for
-
Install iLife on 2nd hand MAC Pro running 10.7.5
Hi, please forgive my ignorance, as I'm not at all tech savvy. I've found a few threads which come close-ish to what I'm looking for, but I'm feeling a little timid and uncertain about proceeding, so I do hope some kind person can help me understand
-
Resolve kernal (?) panic problem
I'm not sure if this is a kernal panic but, this morning I have had my computer screen go grey requesting that I shutdown/restart. I'm running Lion. Below is a portion of the Panic Report. Can anyone please take a moment to see what the problem is? (
-
Adding X1900 to my Quad with a 7800gt?
Will my Quad G4 support BOTH Radeon x1900 and a Geforce 7800gt video card? It there enough power? Thanks
-
Simple AS3 code that causes 10.2 to crash
Very simple code that causes flash 10.2 to crash on all platforms. <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" mi
-
Plugging in Superdrive shuts down the MacBook Air
I have a brand new MacBook Air. When I attach a SuperDrive to the Air it shuts down within a second. I've tried this with two different SuperDrives - a new one and one that I've already used. If I boot the Air with the drive attached the screen light