Sql query to identify all the responsibilities attached to a form
(oracle - apps) Can anyone help me by giving a sql query to identify all the responsibilities attached to a form and corresponding menu should not be in the menu exclusion.
Thanks in advance
Venki
Bump
Similar Messages
-
Query to fetch all the responsibilities for which OA page is attached
Hi Team,
please help me to prepare a query to fetch all the responsibilities for which OA page is attached.
thanks in advance
Thanks & Regards,
Sriram THi,
Querys which you have provided was helpful.
But i was struck with the following issue. As the function is not excluded directly it may be excluded via a menu to the responsibility.
Even though it is displaying the responsibility name.
The following query is used to display the responsibility name with menu and function exclusions.
please help me on this.
SELECT r.RESPONSIBILITY_NAME
FROM
fnd_responsibility_vl r,
fnd_form_functions f
WHERE f.function_name = 'VSFFFRMADMN'--f.form_id =p_form_id
AND r.menu_id IN (SELECT me.menu_id
FROM fnd_menu_entries me
START WITH me.function_id = f.function_id
CONNECT BY PRIOR me.menu_id = me.sub_menu_id)
and r.menu_id not in (select frf.action_id
from fnd_resp_functions frf
where frf.action_id=r.menu_id
and frf.rule_type='M')
and f.function_id not in (select frf.action_id
from fnd_resp_functions frf
where frf.action_id=f.function_id
and frf.rule_type='F')
Thanks
Sriram T -
SQL query which return all the NET SERVICES which are avaiable in tnsname
hi all
how to write a sql query which return all the net services which are avaiable in tnsname.ora
Regards
sAlso, tnsnames.ora is stored on the client, and not necessarily on the server; it's possible (and quite likely) that the name I use for a database in my tnsnames.ora could be different from the name you use for the same database; conversely we might use the same name for two different databases.
Regards Nigel -
A query to identify all the tables
Is there a way to write a query (excuse my ignorance) to identify all the tables where an specifc code resides? I have something to play with it
The table always have the SBGI_CODE identifier
For example:
SOBSBGI_SBGI_CODE
SORBCNT_SBGI_CODE
SORBCMT_SBGI_CODE
There are more tables, I am familiar with some of them, but not all of them I need to write a project plan, so I need to be able to identify all the tables and I am one the individuals who like SQL not reading documentation
If this is possible, I will appreciated any inputOr do you try to find all tables which names contain the string 'SBGI_CODE'?
Then USER_|ALL_|DBA_TABLES is the view to query upon.
You see, different answers to one question. That seems to imply that you did not give sufficient information. Please try to be as clear as possible next time. -
Need query to identify all the alert mail programs
Hello all,
How to identify all the alert mail programs which sends only attachment.
Please help me in this regard.
Regards,
KiranHi,
Did you try eTRM website? Search for ALR, and you should get the Alert link, and browse the ALR tables.
Regards,
Hussein -
Looking for a SQL query to get all the possible Alert Messages from the Rules in a Management Pack
For reporting, I'm looking to get a SQL query of all the possible Alert Messages for Rules configured in a Management Pack (not necessarily the ones that have thrown alerts). I can do this for Monitors, but not for Rules.
The configured alert messages for the Management Pack Monitors
go like this: ManagementPack > MonitorView> RuleModule > RuleModule.Alert Message > Localized Text
The configured alert messages for the Management Pack Rules
should go something like this, but there is a missing link: ManagementPack > RuleView > RuleModule > ? Missing Link ? > Localized Text
The Rules are tied to the Module, but I don't see a connection from the RulesModule to the Alert Message that I see in the LocalizedText. The Rule names do not always equal the Alert name.
Can someone provide the missing link?Hi,
please try below powershell code to find the corresponding management pack for specific alert:
$Alert = get-scomalert | where {$_.Name -like 'Agent Proxy Not Enabled*'} | select -first 1
If ($alert.IsMonitorAlert -eq "True") {
write-host "Ths is a monitor-generated alert"
get-scommonitor -ID $Alert.MonitoringRuleID | select Enabled, DisplayName, ManagementPack
else
write-host "This is a rule-generated alert"
get-scomrule -ID $Alert.MonitoringRuleID | select Enabled, DisplayName, ManagementPack
In addition, please also refer to the below link:
http://blogs.technet.com/b/mazenahmed/archive/2011/12/02/using-powershell-to-map-opsmgr-active-alert-to-its-corresponding-rule-monitor-and-management-pack-name.aspx
Regards,
Yan Li
Regards, Yan Li -
SQL Query to return all the dependent objects
Hi,
I have a question.
Suppose I am creating a table with a join on 10 other tables, views etc..
And there are nested sub-queries in the CREATE statement.
How can I get the list of all the dependent objects for that table without counting them manually.
I know, we can right click the table/view name and check the dependent objects in Toad or SQL Developer.
But, I want to know the SQL query for getting that information.
Thanks
Rajivwell there is no way oracle would know what query was used when the table was created.
But here is one intuitive trick:
Step 1: Create a procedure that will have a cursor declared on the query you want to know what tables/views are used.
Step 2: Check USER_DEPENDENCIES to see what objects this procedure depends on
Let say you want to create TEST_A table using the following statement:
create table test_a
as
select *
from scott.emp,
scott.dept;
1 create or replace procedure test_temp
2 as
3 cursor test_cur is
4 select *
5 from scott.emp,
6 scott.dept;
7 begin
8 null;
9* end;
SQL> /
Procedure created.
SQL> show errors
No errors.
SQL> desc user_dependencies
Name Null? Type
NAME NOT NULL VARCHAR2(30)
TYPE VARCHAR2(17)
REFERENCED_OWNER VARCHAR2(30)
REFERENCED_NAME VARCHAR2(64)
REFERENCED_TYPE VARCHAR2(17)
REFERENCED_LINK_NAME VARCHAR2(128)
SCHEMAID NUMBER
DEPENDENCY_TYPE VARCHAR2(4)
SQL> select referenced_owner, referenced_name, referenced_type
2 from user_dependencies
3 where name='TEST_TEMP' and referenced_owner<>'SYS';
REFERENCED_OWNER
REFERENCED_NAME
REFERENCED_TYPE
SCOTT
DEPT
TABLE
SCOTT
EMP
TABLE
SQL>
SQL> drop procedure test_temp;
Procedure dropped.
SQL>Message was edited by:
tekicora
Message was edited by:
tekicora -
SQL query to find all the custom folders in Discoverer (query posted)
I know its not a question I am posting..this is just to inform community users that this query makes life easier in case someone wants to find out all the custom folders in a particular EUL (folder name starting with XX)
select b.ba_name,f.obj_name folder_name,f.obj_id,f.obj_ext_owner Owner
from
APPS.EUL5_objs f
, APPS.EUL5_ba_obj_links l
, APPS.EUL5_bas b
where 1=1
and f.obj_id= l.bol_obj_id
and b.ba_id= l.bol_ba_id
and b.ba_name like 'XX%'
order by b.ba_name,f.obj_name;
Hopefully it would be useful to others!Connect as sysdba and try..
To list all objects >100M in size.
SQL> select owner, segment_type, segment_name, sum(bytes)/(1024*1021) from dba_segments
group by owner, segment_type, segment_name
having sum(bytes)/(1024*1021) > 100
For tablespaces ..
select tablespace_name, sum(bytes) tablespace_size
from dba_data_files
group by tablespace_name
union all
select tablespace_name, sum(bytes) tablespace_size
from dba_temp_files
group by tablespace_name
order by tablespace_name -
SQL Query to search all the tables for a given string
Hi all,
This is concerning a query to search each and every table/column for a given string.
I came across a similar post (Re: question about searching 600 tables and this query seems to be inline with my requirements:
select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('MY_TABLE')
However, I am getting the following error:
ORA-24451: OCIKCallPushTrusted, Maximum call depth exceeded
I am using Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit and could you please let me know the best possible way to accomplish this task?
Thanks.
Edited by: itech.quest on Sep 19, 2010 8:30 AMHi Tamir,
Thanks so far. I am yet to make the crucial breakthrough as far my application goes. Are you talking about the EUL5_QPP_STATS table? I tried retrieving worksheets even from that table also with the following query
SELECT DISTINCT Eul5QppStats.QS_DOC_NAME,Eul5QppStats.QS_DOC_DETAILS
FROM EUL5_QPP_STATS Eul5QppStats,EUL5_DOCUMENTS Eul5Documents
WHERE Eul5QppStats.QS_DOC_NAME = Eul5Documents.DOC_NAME
However, the worksheet data retrieved by Discoverer Oracle's product is not matching my dataset for every workbook. Please suggest.
Reg
Thomas -
SQL query to find all responsibilities containing a given submenu?
Ok, I've searched all over this place and I can't quite get what I want. I can get all responsibilities with a given function, and I can get all responsibilities with a given menu, but I can't get all responsibilities with a given SUBmenu. Specifically, I'm trying to get all responsibilities that have "Desktop Integration Menu" somewhere in their menu tree, whether it be menu or submenu. All I can do is get the ones where it's the menu (i.e. the seeded Desktop Integration responsibilities). Can anyone give me some assistance with this query? It's driving me nuts. Below is the SQL query as it stands now. Thanks!
SELECT DISTINCT frt.responsibility_name, fmt.user_menu_name, fr.menu_id,fme.sub_menu_id
FROM apps.fnd_responsibility_tl frt,
apps.fnd_responsibility fr,
apps.fnd_menus_tl fmt,
apps.fnd_menus fm,
apps.fnd_menu_entries fme
WHERE frt.responsibility_id(+) = fr.responsibility_id
AND fr.menu_id = fmt.menu_id
AND fr.menu_id = fm.menu_id
AND fme.sub_menu_id = fr.menu_id
AND frt.LANGUAGE = 'US'
AND fr.end_date IS NULL
AND sub_menu_id = '1004193'
ORDER BY frt.responsibility_name ASCPlease see these docs.
How To get List Of Functions Which Are Setup For A Responsibility? [ID 549100.1]
How to identify all Menus / Responsibilities Associated with a Given Function [ID 238653.1]
Script To Extract Submenu And Function Information About A Menu [ID 458701.1]
HOW TO GENERATE MENU TREE FOR A MENU ATTACHED TO A RESPONSIBILITY IN ORACLE APPLICATIONS 11i ? [ID 312014.1]
Thanks,
Hussein -
Reg: sql query that prints all sundays in the year
Hi all,
Please give me sql query that prints all sundays in year. And when ever we execute that query then that will prints the sysdate(that is execution date).
Thanks in Advance,
-prasad.
Edited by: prasad_orcl on Jun 5, 2009 9:13 PMHi,
Plz try this and let me know this works or not...
SELECT DATE DATES,TO_CHAR(DATE,'DAY') DAYS FROM FISCAL_CALENDAR
WHERE DATE_YEAR = 2009 AND
DATE BETWEEN TRUNC(SYSDATE,'YEAR') AND
ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),12) -1 AND
TRIM(TO_CHAR(DATE,'DAY')) = 'SUNDAY'
ORDER BY DATE
OUTPUT:
DATES DAYS
1/4/2009 SUNDAY
1/11/2009 SUNDAY
1/18/2009 SUNDAY
1/25/2009 SUNDAY
2/1/2009 SUNDAY
2/8/2009 SUNDAY
2/15/2009 SUNDAY
2/22/2009 SUNDAY
3/1/2009 SUNDAY
3/8/2009 SUNDAY
3/15/2009 SUNDAY
3/22/2009 SUNDAY
3/29/2009 SUNDAY
4/5/2009 SUNDAY
4/12/2009 SUNDAY
4/19/2009 SUNDAY
4/26/2009 SUNDAY
5/3/2009 SUNDAY
5/10/2009 SUNDAY
5/17/2009 SUNDAY
5/24/2009 SUNDAY
5/31/2009 SUNDAY
6/7/2009 SUNDAY
6/14/2009 SUNDAY
6/21/2009 SUNDAY
6/28/2009 SUNDAY
7/5/2009 SUNDAY
7/12/2009 SUNDAY
7/19/2009 SUNDAY
7/26/2009 SUNDAY
8/2/2009 SUNDAY
8/9/2009 SUNDAY
8/16/2009 SUNDAY
8/23/2009 SUNDAY
8/30/2009 SUNDAY
9/6/2009 SUNDAY
9/13/2009 SUNDAY
9/20/2009 SUNDAY
9/27/2009 SUNDAY
10/4/2009 SUNDAY
10/11/2009SUNDAY
10/18/2009SUNDAY
10/25/2009SUNDAY
11/1/2009 SUNDAY
11/8/2009 SUNDAY
11/15/2009SUNDAY
11/22/2009SUNDAY
11/29/2009SUNDAY
12/6/2009 SUNDAY
12/13/2009SUNDAY
12/20/2009SUNDAY
12/27/2009SUNDAY
Regards
Thiyag -
SQL Query to find menus and submenus attached to responsibility
Hi,
I am looking for help to find out a sql query to pull out the list of all the menu's associated with each of the responsibilities assigned to users. Please let me know any SQL query to find out menus attached for responsibilities assigned to users.835129 wrote:
I was asked by my lead to list out responsibilities and attached menus and I was asked to submit the output from production. In the metalink note provided by you it was asked to create table collecting all menu id's and I cannot create any tables in production. Apart from this there were 1000's of users with different responsibilities and different menus. I cannot collect all of the users menu ids.
I just want to list out responsibilities and attached menus. Is that something you can helpout withhttps://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_responsibility_vl+AND+fnd_menu&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_responsibility_tl+AND+FND_MENU_ENTRIES_TL&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Please search the forum for these tables/views and you should get many hits:
FND_MENU_ENTRIES_TL
FND_MENU_ENTRIES_VL
FND_RESPONSIBILITY_TL
FND_RESPONSIBILITY_VL
Thanks,
Hussein -
How to identify all the information for a given company code?
Hi,
Our company provides data migration services for SAP and other ERP applications. Our customers provide us the specifications for extractions and conversions. We use one or more 3rd party tools to extract data from legacy systems into text/Excel files. Customers use LSMW to load generated files.
We just got an unusual request. This customer wants to get ALL the data from SAP for a given company code and dump into Excel. They would do some manual editing on the data and load it into a new SAP client.
In the past, customers would be more specific in their requirements. For example, they will mention Materials, Customers, Inventory, etc. In this case, the customer simply wants ALL the data for a given company code.
Q1. Is everything in SAP related to company code, either directly or indirectly? For example, can materials be filtered by company code?
Q2. The tools that we use let us extract data from SAP using SQL-like queries. How do I identify ALL the tables that I would need for a given company code?
My feeling is the customer themselves are not clear on what they really want. Perhaps they are expecting us to guide them.
I would appreciate any thoughts that you may have.
If there is a more appropriate forum for this question, please let me know.
Thank you in advance for your help.
Regards,
Peterhi
t001w is the master table for plants, u can see all plants in this table.
regads:
rajesh.k -
How to identify all the child tables referencing a master table
Hi,
How to identify all the child tables referencing a master table.
Could you please help me...
Thanks in advance...Hi!
You may use this query:
SELECT master.table_name, child.table_name
FROM user_constraints master, user_constraints child
WHERE master.table_name IN ('REGIONS')
AND master.constraint_name = child.r_constraint_name
/yours sincerely
Florian W. -
Sql query to find all contacts for an account
I wonder if someone wrote an sql query to find all contacts for an account number in Oracle customer master. We are on EBS 11.5.10.
I am also looking for sql query to find all ship to addresses for an account number.
Thanks.Can you also post the query for people who read this post and are also looking for an answer?
Regards,
Johan Louwers.
Maybe you are looking for
-
Why does photoshop automatically rename file names when using save for web?
All of a sudden when choosing Save for Web, when i type in a name for my file in the File Name: dialog box, when you click "save", it saves the selected slices as the name of the document and not what i typed. For example: My psd file is called "webs
-
Details about ModuleData and ModuleContext
Hi All, I need more deatils about the Module Programming parameters <b>"ModuleData", "ModuleContext" and "XMLPayload"</b> like the members of these classes and their functionalities etc. Looking for your replies. Thanks in advance. Rgds, Joe.
-
Tagging Videos - why not sorting correctly??
I have added a number of videos that I have ripped and tagged myself - but I have used iTunes "built in" Genere selection to choose "TV" "Music Video" etc yet the videos only show up under ALL not under the sub categories....how do you get them to sh
-
Duplicate Session Detected Error [BlazeDS]
I have two saperate EAR applicaion deployed under two saperate Cluster of Weblogic and both application has nothing to do with each other , they just share the same J2EE server. I am only using Remoting which invokes sever side java code and returns
-
Grammar and Spelling checkers in SL
Hello everyone, Correct me if I am wrong, but I think the grammar checker is not working properly in SL. I remember that in MacOS 10.5 it underlined with green the parts of text it believed to be incorrect. It was in Mail, TextEdit and some other tex