Вы находитесь на странице: 1из 4

Index 1) How to find out responsibility attached for particular user 2) To check the maintainance mode through sql

plus 3) To clear FND_NODEs 4) To check profile exists or not 5) for finding look up application 6)To check the timeline of the request : 7) DEV60cgi/f60cgi login 8) To find out trace file for particular request id from backend
SELECT request_id, TO_CHAR(request_date, 'DD-MON-YYYY HH24:MI:SS') request_date, TO_CHAR(requested_start_date, 'DD-MON-YYYY HH24:MI:SS') requested_start_date, TO_CHAR(actual_start_date, 'DD-MON-YYYY HH24:MI:SS') actual_start_date, TO_CHAR(actual_completion_date, 'DD-MON-YYYY HH24:MI:SS') actual_completion_date, TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') current_date, ROUND((NVL(actual_completion_date, sysdate) - actual_start_date) * 24, 2) durationFROM fnd_concurrent_requestsWHERE request_id = TO_NUMBER('&p_request_id');

############# Lookup info with Application name##########################################


select a.LOOKUP_TYPE, a.VIEW_APPLICATION_ID, b.application_name, b.application_short_namefrom FND_LOOKUP_TYPES_TL a, fnd_application_vl bwhere a.VIEW_APPLICATION_ID = b.APPLICATION_IDand LOOKUP_TYPE like upper('%&lookup%')

######How to find out responsibility attached for particular user############################


SELECT fu.USER_NAME, fu.DESCRIPTION, frt.RESPONSIBILITY_NAME, furg.end_date FROM fnd_user_resp_groups furg, FND_RESPONSIBILITY fr, fnd_responsibility_tl frt, fnd_user fu WHERE fu.user_name = 'IV624' AND fu.user_id = furg.user_id AND furg.responsibility_id = fr.RESPONSIBILITY_ID AND frt.responsibility_id = fr.RESPONSIBILITY_ID ORDER BY 1; SELECT distinct u.user_id, u.user_name user_name, r.responsibility_name responsiblity, a.application_name application FROM fnd_user u, fnd_user_resp_groups g, fnd_application_tl a, fnd_responsibility_tl r WHERE g.user_id(+) = u.user_id

AND AND AND and order

g.responsibility_application_id = a.application_id a.application_id = r.application_id g.responsibility_id = r.responsibility_id u.user_name like upper('%&user%') by 1;

#####################################To check the maintainance mode through sql plus##### select FND_PROFILE.VALUE('APPS_MAINTENANCE_MODE')from dual ##########To Clear nodes from FND_NODES#### XEC FND_CONC_CLONE.SETUP_CLEAN;
select REQUEST_ID, CASE WHEN (PHASE_CODE) = 'C' THEN 'Completed' WHEN (PHASE_CODE) = 'I' THEN 'Inactive' WHEN (PHASE_CODE) = 'P' THEN 'Pending' WHEN (PHASE_CODE) = 'R' THEN 'Running' ELSE 'NODATA' END AS PHASE, CASE WHEN (STATUS_CODE) = 'A' THEN 'Waiting' WHEN (STATUS_CODE) = 'B' THEN 'Resuming' WHEN (STATUS_CODE) = 'C' THEN 'Normal' WHEN (STATUS_CODE) = 'D' THEN 'Cancelled' WHEN (STATUS_CODE) = 'E' THEN 'Error' WHEN (STATUS_CODE) = 'F' THEN 'Scheduled' WHEN (STATUS_CODE) = 'G' THEN 'Warning' WHEN (STATUS_CODE) = 'H' THEN 'Hold' WHEN (STATUS_CODE) = 'I' THEN 'Normal' WHEN (STATUS_CODE) = 'M' THEN 'No Manager' WHEN (STATUS_CODE) = 'Q' THEN 'Standby' WHEN (STATUS_CODE) = 'R' THEN 'Normal' WHEN (STATUS_CODE) = 'S' THEN 'Suspended' WHEN (STATUS_CODE) = 'T' THEN 'Terminating' WHEN (STATUS_CODE) = 'U' THEN

'Disabled' WHEN (STATUS_CODE) = 'W' THEN 'Paused' WHEN (STATUS_CODE) = 'X' THEN 'Terminated' WHEN (STATUS_CODE) = 'Z' THEN 'Waiting' ELSE 'NODATA' END AS STATUS from fnd_concurrent_requests where REQUEST_ID = &REQ_ID; To Find out the Workflow Mailer component status from DATABASE using sqlplusselect COMPONENT_NAME, STARTUP_MODE, COMPONENT_STATUSfrom fnd_svc_components where concurrent_queue_id in ( select concurrent_queue_idfrom fnd_concurrent_queues where concurrent_queue_name like 'WF%') order by COMPONENT_TYPE, COMPONENT_ID /* Query to find out if any patch except localisation patch is applied or not, if applied, that what all drivers it contain and time of its application*/ SELECT A.APPLIED_PATCH_ID, A.PATCH_NAME, A.PATCH_TYPE, B.PATCH_DRIVER_ID, B.DRIVER_FILE_NAME, B.ORIG_PATCH_NAME, B.CREATION_DATE, B.PLATFORM, B.SOURCE_CODE, B.CREATION_DATE, B.FILE_SIZE, B.MERGED_DRIVER_FLAG, B.MERGE_DATE FROM AD_APPLIED_PATCHES A, AD_PATCH_DRIVERS B WHERE A.APPLIED_PATCH_ID = B.APPLIED_PATCH_ID AND A.PATCH_NAME = '&patch'; /* To know that if the patch is applied successfully, applied on both node or not, start time of patch application and end time of patch application, patch toplocation , session id patch run id */ select D.PATCH_NAME, B.APPLICATIONS_SYSTEM_NAME, B.INSTANCE_NAME, B.NAME, C.DRIVER_FILE_NAME, A.PATCH_DRIVER_ID, A.PATCH_RUN_ID, A.SESSION_ID, A.PATCH_TOP, A.START_DATE, A.END_DATE, A.SUCCESS_FLAG, A.FAILURE_COMMENTS from AD_PATCH_RUNS A,

where AND and and

ORDER

AD_APPL_TOPS B, AD_PATCH_DRVIERS C, AD_APPLIED_PATCHES D A.APPL_TOP_ID = B.APPL_TOP_ID A.PATCH_DRIVER_ID = C.PATCH_DRIVER_ID C.APPLIED_PATCH_ID = D.APPLIED_PATCH_ID A.PATCH_DRIVER_ID in (select PATCH_DRIVER_ID from AD_PATCH _DRIVERS where APPLIED_PATCH_ID in (select APPLIED_PATCH_ID from AD_APPLIED_PATCHES where PATCH_NAME = < patch number >)) BY 3;

Вам также может понравиться