PL-SQL Code to find Menu Hierarchy of a responsibility
Oracle apps ebs query to find Menus of responsibility
SET SERVEROUTPUT ON; DECLARE CURSOR c_main IS SELECT DISTINCT a.menu_id, fm.MENU_NAME FROM fnd_responsibility_vl a, fnd_menus fm WHERE responsibility_name LIKE 'Your Responsibility Name' AND (end_date IS NULL OR end_date > SYSDATE) AND fm.MENU_ID = a.MENU_ID AND MENU_NAME LIKE 'Your Menu Name'; CURSOR c_sub (p_menu_id NUMBER) IS SELECT LEVEL padding, menu_id, (SELECT menu_name FROM fnd_menus fm WHERE fm.menu_id = fme.menu_id) menu_name, entry_sequence, sub_menu_id, (SELECT menu_name FROM fnd_menus fm WHERE fm.menu_id = fme.sub_menu_id) submenu_name, function_id FROM fnd_menu_entries fme CONNECT BY menu_id = PRIOR sub_menu_id AND entry_sequence > -9e125 START WITH menu_id = p_menu_id AND entry_sequence > -9e125 ORDER SIBLINGS BY entry_sequence; BEGIN FOR r_main IN c_main LOOP FOR r_sub IN c_sub (r_main.menu_id) LOOP IF r_sub.MENU_NAME LIKE '%' --Add criteria to print only specific menus e.g. '%XX%' THEN DBMS_OUTPUT.put_line (r_sub.MENU_NAME); END IF; IF r_sub.SUBMENU_NAME LIKE '%' --Add criteria to print only specific menus e.g. '%XX%' THEN DBMS_OUTPUT.put_line (r_sub.SUBMENU_NAME); END IF; END LOOP; END LOOP; END;Related posts:
- Register a test concurrent program from backend in Oracle EBS
- Supervisor Hierarchy and Approval Limits in Oracle EBS R12
- Query to find vacation rules in Oracle R12
- View java class source in oracle database
- Load Java source code in oracle database
- Query to find all APIs of Oracle Apps modules
- OAF customizations queries
- Oracle apps list of concurrent programs in a Request Set
- Query to get Organization Hierarchy in Oracle apps
- Oracle apps query to find incompatible programs blocking a concurrent request
- Form function attached to which responsibility and user
- Query to find the responsibility attached to user in oracle apps
- How to enable debug log in Oracle apps EBS
- How to add AME role and responsibility to user
- Oracle form attached to which responsibility
- SQL query to get MIME type for file extension
- Query to get concurrent program and executable details
- Query to get responsibility level profile option values
- Query to validate migration of XML/BI Publisher Template and Data Definition
- Query to get details of XML/BI Publisher Template and Data Definition
- Query to get Site level and Organization level Profile Option Value
- PL-SQL code to reset application user password
- PL-SQL Procedure to send email with attachment
- PL-SQL to delete Concurrent Program and Executable
- Query to get the details of the lock in the database
- PL-SQL code to delete XML/BI Publisher template and Data Definition
- Query to find Form Personalization
- Query to find profile option values
- Query to get details of concurrent program parameters
- PL-SQL Code to find Menu Hierarchy of a responsibility
- Query to find details of Flex value sets
- Query to find concurrent program Responsibility and Request Group
- Concurrent program SQL statement currently running in background
- Query to find scheduled concurrent programs
- Query to kill database session for a concurrent request
- Query to get DFF (Descriptive Flex Field) Details