Application Report Queries

QUERY TO CHECK LIST OF RUNNING REQUEST

SELECTΒ q.concurrent_queue_name
qname,
f.user_name,
a.request_id
β€œReqΒ Id”,
Decode(a.parent_request_id, –1,Β NULL,
a.parent_request_id)
β€œParent”,
a.concurrent_program_id
β€œPrgΒ Id”,
a.phase_code,
a.status_code
β€”Β ,b.os_process_idΒ β€œOS”
β€”Β ,vs.sid
β€”Β ,vs.serial#Β β€œSerial#”
β€”Β ,vp.spid
,
a.oracle_process_id
β€œspid”,
(Β Nvl(a.actual_completion_date,Β SYSDATE) – a.actual_start_dateΒ )Β *Β 1440
β€œTime”,
c.concurrent_program_name
||Β β€˜Β β€“Β β€˜
||Β c2.user_concurrent_program_name
||Β β€˜Β β€˜
||Β a.description
β€œProgram”
FROMΒ Β Β applsys.fnd_concurrent_requestsΒ a,
applsys.fnd_concurrent_processesΒ b,
applsys.fnd_concurrent_queuesΒ q,
applsys.fnd_concurrent_programs_tlΒ c2,
applsys.fnd_concurrent_programsΒ c,
applsys.fnd_userΒ f
β€”Β ,v$sessionΒ vs
β€”Β ,v$processΒ vp
WHEREΒ Β a.controlling_managerΒ =Β b.concurrent_process_id
ANDΒ a.concurrent_program_idΒ =Β c.concurrent_program_id
ANDΒ a.program_application_idΒ =Β c.application_id
ANDΒ c2.concurrent_program_idΒ =Β c.concurrent_program_id
ANDΒ c2.application_idΒ =Β c.application_id
ANDΒ a.phase_codeΒ INΒ (Β β€˜I’,Β β€˜P’,Β β€˜R’,Β β€˜T’ )
ANDΒ a.requested_byΒ =Β f.user_id
ANDΒ b.queue_application_idΒ =Β q.application_id
ANDΒ b.concurrent_queue_idΒ =Β q.concurrent_queue_id
ANDΒ c2.LANGUAGEΒ =Β β€˜US’
β€”Β andΒ vs.processΒ (+)Β =Β b.os_process_id
β€”Β andΒ vs.paddrΒ =Β vp.addrΒ (+)
ORDERΒ Β BYΒ 9Β DESC;

 

QUERY TO CHECK TOTAL SCHEDULED REQUESTS

SELECTΒ request_idΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β id,
Nvl(meaning,Β β€˜UNKNOWN’)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β status,
user_concurrent_program_nameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β pname,
To_char(request_date,Β β€˜DD-MON-RRΒ HH24:MI:SS’)Β Β Β Β Β Β Β Β Β submitd,
To_char(requested_start_date,Β β€˜DD-MON-RRΒ HH24:MI:SS’)Β requestd
FROMΒ Β Β fnd_concurrent_requestsΒ fcr,
fnd_lookupsΒ fl,
fnd_concurrent_programs_vlΒ fcpv
WHEREΒ Β phase_codeΒ =Β β€˜P’
ANDΒ (Β fcr.requested_start_dateΒ >=Β SYSDATE
ORΒ status_codeΒ =Β β€˜P’ )
ANDΒ lookup_typeΒ =Β β€˜CP_STATUS_CODE’
ANDΒ lookup_codeΒ =Β status_code
ANDΒ fcr.concurrent_program_idΒ =Β fcpv.concurrent_program_id
ANDΒ fcr.program_application_idΒ =Β fcpv.application_id
ORDERΒ Β BYΒ pname,
request_date;

 

QUERY TO CHECK PENDING REQUEST pending requests Kept (on hold)

SELECTΒ request_idΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β id,
Nvl(meaning,Β β€˜UNKNOWN’)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β status,
user_concurrent_program_nameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β pname,
To_char(request_date,Β β€˜DD-MON-RRΒ HH24:MI:SS’)Β submitd
FROMΒ Β Β fnd_concurrent_requestsΒ fcr,
fnd_lookupsΒ fl,
fnd_concurrent_programs_vlΒ fcpv
WHEREΒ Β phase_codeΒ =Β β€˜P’
ANDΒ hold_flagΒ =Β β€˜Y’
ANDΒ fcr.requested_start_dateΒ <=Β SYSDATE
ANDΒ status_codeΒ !=Β β€˜P’
ANDΒ lookup_typeΒ =Β β€˜CP_STATUS_CODE’
ANDΒ lookup_codeΒ =Β status_code
ANDΒ fcr.concurrent_program_idΒ =Β fcpv.concurrent_program_id
ANDΒ fcr.program_application_idΒ =Β fcpv.application_id
ORDERΒ Β BYΒ request_date,
request_id;

 

Terminating Report From Backend

SELECTΒ oracle_process_id,
Decode(status_code,Β β€˜R’,Β β€˜Running’,
β€˜D’,Β β€˜Canceled’,
β€˜E’,Β β€˜Error’,
β€˜X’,Β β€˜Terminated’,
β€˜G’,Β β€˜Warning’,
β€˜T’,Β β€˜Terminating’)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β β€œStatus_code”,
phase_code,
To_char(actual_start_date,Β β€˜DD-MON-YYYY=>hh24:mi:ss’)Β β€œLoginΒ Time”
FROMΒ Β Β apps.fnd_concurrent_requests
WHEREΒ Β request_idΒ =Β β€˜RequestIDβ€™Β β€”Β β€œEnterΒ TheΒ RequestΒ IDΒ HereΒ fromΒ RequestΒ Form”
SELECTΒ s.sid,
s.serial#,
module,
s.status
FROMΒ Β Β v$sessionΒ s,
v$processΒ p
WHEREΒ Β s.paddrΒ =Β p.addr
ANDΒ p.spidΒ =Β β€˜Process_IDβ€™Β β€”Β β€œEnterΒ ProcessΒ idΒ hereΒ FromΒ AboveΒ QueryΒ Result”

UPDATEΒ fnd_concurrent_requests
SETΒ Β Β Β phase_codeΒ =Β β€˜C’,
status_codeΒ =Β β€˜X’
WHEREΒ Β request_idΒ =Β β€˜RequestID’;Β β€”Β β€œEnterΒ TheΒ RequestΒ IDΒ HereΒ fromΒ RequestΒ Form”
COMMIT;

QUERY To find the reports finished with ERROR CODE

SELECTΒ a.request_idΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β β€œReqΒ Id”,
a.phase_code,
a.status_code,
actual_start_date,
actual_completion_date,
c.concurrent_program_name
||Β β€˜:Β β€˜
||Β ctl.user_concurrent_program_nameΒ β€œprogram”
FROMΒ Β Β applsys.fnd_concurrent_requestsΒ a,
applsys.fnd_concurrent_processesΒ b,
applsys.fnd_concurrent_queuesΒ q,
applsys.fnd_concurrent_programsΒ c,
applsys.fnd_concurrent_programs_tlΒ ctl
WHEREΒ Β a.controlling_managerΒ =Β b.concurrent_process_id
ANDΒ a.concurrent_program_idΒ =Β c.concurrent_program_id
ANDΒ a.program_application_idΒ =Β c.application_id
ANDΒ a.status_codeΒ =Β β€˜E’
ANDΒ a.phase_codeΒ =Β β€˜C’
ANDΒ actual_start_dateΒ >Β SYSDATE – 2
ANDΒ b.queue_application_idΒ =Β q.application_id
ANDΒ b.concurrent_queue_idΒ =Β q.concurrent_queue_id
ANDΒ ctl.concurrent_program_idΒ =Β c.concurrent_program_id
ANDΒ ctl.LANGUAGEΒ =Β β€˜US’
ORDERΒ Β BYΒ 5Β DESC;

 

QUERY TO FIND REQUEST SUBMITTED BY USER

SELECTΒ user_concurrent_program_name,
request_date,
request_id,
phase_code,
status_code
FROMΒ Β Β fnd_concurrent_requestsΒ fcr,
fnd_concurrent_programs_tlΒ fcp,
fnd_responsibility_tlΒ fr,
fnd_userΒ fu
WHEREΒ Β fcr.concurrent_program_idΒ =Β fcp.concurrent_program_id
ANDΒ fcr.responsibility_idΒ =Β fr.responsibility_id
ANDΒ fcr.requested_byΒ =Β fu.user_id
ANDΒ user_nameΒ =Β β€˜usernameβ€™Β β€”Β β€œEnterΒ TheΒ UserΒ NameΒ Here”
ANDΒ actual_start_dateΒ >Β SYSDATE – 1
β€”Β β€œEnterΒ TheΒ NumberΒ forΒ howΒ manyΒ days,Β HereΒ 1Β meansΒ forΒ 1Β day”
ORDERΒ Β BYΒ request_dateΒ ASC;

 

QUERY TO FIND concurrent program enabled with TRACE

SELECTΒ A.concurrent_program_nameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β β€œProgram_Name”,
Substr(A.user_concurrent_program_name,Β 1,Β 40)Β β€œUser_Program_Name”,
Substr(B.user_name,Β 1,Β 15)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β β€œLast_Updated_By”,
Substr(B.description,Β 1,Β 25)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β DESCRIPTION
FROMΒ Β Β apps.fnd_concurrent_programs_vlΒ A,
applsys.fnd_userΒ B
WHEREΒ Β A.enable_traceΒ =Β β€˜Y’
ANDΒ A.last_updated_byΒ =Β B.user_id;

 

QUERY To find concurrent program NAME, PHASE CODE,STATUS CODE for a given Request ID

SELECTΒ request_id,
user_concurrent_program_name,
Decode(phase_code,Β β€˜C’,Β β€˜Completed’,
phase_code)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β phase_code,
Decode(status_code,Β β€˜D’,Β β€˜Cancelled’,
β€˜E’,Β β€˜Error’,
β€˜G’,Β β€˜Warning’,
β€˜H’,Β β€˜OnΒ Hold’,
β€˜T’,Β β€˜Terminating’,
β€˜M’,Β β€˜NoΒ Manager’,
β€˜X’,Β β€˜Terminated’,
β€˜C’,Β β€˜Normal’,
status_code)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β status_code,
To_char(actual_start_date,Β β€˜dd-mon-yy:hh24:mi:ss’)Β Start_Date,
To_char(actual_completion_date,Β β€˜dd-mon-yy:hh24:mi:ss’),
completion_text
FROMΒ Β Β apps.fnd_conc_req_summary_v
WHEREΒ Β request_idΒ =Β β€˜Request_idβ€™Β β€”Β β€œEnterΒ theΒ request_idΒ here”
ORDERΒ Β BYΒ 6Β DESC;

 

QUERY TO COUNT PENDING REQUEST

SELECT
/*+Β chooseΒ */Β Count(*)
FROMΒ Β Β fnd_concurrent_requestsΒ fcr,
fnd_concurrent_programsΒ c,
fnd_conc_req_summary_vΒ fcrv
WHEREΒ Β fcr.concurrent_program_idΒ =Β c.concurrent_program_id
ANDΒ fcr.program_application_idΒ =Β c.application_id
ANDΒ fcr.concurrent_program_idΒ =Β fcrv.concurrent_program_id
ANDΒ fcr.request_idΒ =Β fcrv.request_id
ANDΒ fcrv.requested_start_dateΒ <Β SYSDATEΒ +Β 10Β /Β 1440
ANDΒ fcr.phase_codeΒ INΒ (Β β€˜P’ )
ANDΒ fcr.hold_flagΒ !=Β β€˜Y’

 

QUERY to find all REPORTS STATUS with USER NAME

SELECT
/*+Β chooseΒ */Β U.user_nameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β User_name,
fcr.request_idΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β request_id
,
To_char(Round((Β Nvl(fcr.actual_completion_date,
SYSDATE) –
fcr.actual_start_dateΒ )Β *
1440))Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β TIME,
c.concurrent_program_name
||Β β€˜Β β€“Β β€˜
||Β Substr(fcrv.program,Β 1,Β 45)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β PROGRAM,
fcr.concurrent_program_idΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Program_id
,
fcr.parent_request_id
Parent_id,
To_char(fcrv.requested_start_date,Β β€˜DD-MON-RRΒ HH24:MI’)Β Scheduled,
Decode(fcr.phase_code,Β β€˜C’,Β β€˜Completed’,
β€˜I’,Β β€˜Inactive’,
β€˜P’,Β β€˜Pending’,
β€˜R’,Β β€˜Running’)
||Β β€˜Β β€“Β β€˜
||Β Decode(fcr.status_code,Β β€˜A’,Β β€˜Waiting’,
β€˜B’,Β β€˜Resuming’,
β€˜C’,Β β€˜Normal’,
β€˜D’,Β β€˜Cancelled’,
β€˜E’,Β β€˜Error’,
β€˜G’,Β β€˜Warning’,
β€˜H’,Β β€˜OnΒ Hold’,
β€˜I’,Β β€˜Normal’,
β€˜M’,Β β€˜NoΒ Manager’,
β€˜P’,Β β€˜Scheduled’,
β€˜Q’,Β β€˜Standby’,
β€˜R’,Β β€˜Normal’,
β€˜S’,Β β€˜Suspended’,
β€˜T’,Β β€˜Terminating’,
β€˜U’,Β β€˜Disabled’,
β€˜W’,Β β€˜Paused’,
β€˜X’,Β β€˜Terminated’,
β€˜Z’,Β β€˜Β Waiting’)Β Β Β Β Β Β Β Β Β Β Β Β Β Status
FROMΒ Β Β fnd_concurrent_requestsΒ fcr,
fnd_concurrent_programsΒ c,
fnd_conc_req_summary_vΒ fcrv,
fnd_userΒ U
WHEREΒ Β fcr.concurrent_program_idΒ =Β c.concurrent_program_id
ANDΒ fcr.program_application_idΒ =Β c.application_id
ANDΒ fcr.concurrent_program_idΒ =Β fcrv.concurrent_program_id
ANDΒ fcr.request_idΒ =Β fcrv.request_id
ANDΒ fcrv.requested_start_dateΒ <Β SYSDATEΒ +Β 10Β /Β 1440
ANDΒ fcr.phase_codeΒ INΒ (Β β€˜P’ )
ANDΒ fcr.hold_flagΒ !=Β β€˜Y’
ANDΒ fcr.requested_byΒ =Β U.user_id
ORDERΒ Β BYΒ 1,
2Β ASC

 

QUERY TO CHECK SCHEDULED CONCURRENT REQUESTS

SELECTΒ fcr.request_id,
fcr.parent_request_id,
fu.user_nameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β requestor,
To_char(fcr.requested_start_date,Β β€˜MON-DD-YYYYΒ HH24:MM:SS’)Β START_DATE,
fr.responsibility_key
responsibility,
fcp.concurrent_program_name,
fcpt.user_concurrent_program_name,
Decode(fcr.status_code,Β β€˜A’,Β β€˜Waiting’,
β€˜B’,Β β€˜Resuming’,
β€˜C’,Β β€˜Normal’,
β€˜D’,Β β€˜Cancelled’,
β€˜E’,Β β€˜Error’,
β€˜F’,Β β€˜Scheduled’,
β€˜G’,Β β€˜Warning’,
β€˜H’,Β β€˜OnΒ Hold’,
β€˜I’,Β β€˜Normal’,
β€˜M’,Β β€˜NoΒ Manager’,
β€˜Q’,Β β€˜Standby’,
β€˜R’,Β β€˜Normal’,
β€˜S’,Β β€˜Suspended’,
β€˜T’,Β β€˜Terminating’,
β€˜U’,Β β€˜Disabled’,
β€˜W’,Β β€˜Paused’,
β€˜X’,Β β€˜Terminated’,
β€˜Z’,Β β€˜Waiting’)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β status,
Decode(fcr.phase_code,Β β€˜C’,Β β€˜Completed’,
β€˜I’,Β β€˜Inactive’,
β€˜P’,Β β€˜Pending’,
β€˜R’,Β β€˜Running’)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β phase,
fcr.completion_text
FROMΒ Β Β fnd_concurrent_requestsΒ fcr,
fnd_concurrent_programsΒ fcp,
fnd_concurrent_programs_tlΒ fcpt,
fnd_userΒ fu,
fnd_responsibilityΒ fr
WHEREΒ Β fcr.status_codeΒ INΒ (Β β€˜Q’,Β β€˜I’ )
ANDΒ fcr.hold_flagΒ =Β β€˜N’
ANDΒ fcr.requested_start_dateΒ >Β SYSDATE
ANDΒ fu.user_idΒ =Β fcr.requested_by
ANDΒ fcr.concurrent_program_idΒ =Β fcp.concurrent_program_id
ANDΒ fcr.concurrent_program_idΒ =Β fcpt.concurrent_program_id
ANDΒ fcr.responsibility_idΒ =Β fr.responsibility_id
ORDERΒ Β BYΒ fcr.requested_start_date,
fcr.request_id;

 

QUERY TO Find SCHEDULED CONCURRENT REQUEST

SELECTΒ cr.request_id,
Decode(cp.user_concurrent_program_name,Β β€˜ReportΒ Set’,Β β€˜ReportΒ Set:’
||Β cr.description,
cp.user_concurrent_program_name)
NAME,
argument_text,
cr.resubmit_interval,
Nvl2(cr.resubmit_interval,Β β€˜PERIODICALLY’,
Nvl2(cr.release_class_id,Β β€˜ONΒ SPECIFICΒ DAYS’,Β β€˜ONCE’))
schedule_type,
Decode(Nvl2(cr.resubmit_interval,Β β€˜PERIODICALLY’,
Nvl2(cr.release_class_id,Β β€˜ONΒ SPECIFICΒ DAYS’,Β β€˜ONCE’)),
β€˜PERIODICALLY’,Β β€˜EVERYΒ β€˜
||Β cr.resubmit_interval
||Β β€˜Β β€˜
||Β cr.resubmit_interval_unit_code
||Β β€˜Β FROMΒ β€˜
||Β cr.resubmit_interval_type_code
||Β β€˜Β OFΒ PREVΒ RUN’,
β€˜ONCE’,
β€˜ATΒ :’
||
To_char(cr.requested_start_date,Β β€˜DD-MON-RRΒ HH24:MI’),
β€˜EVERY:Β β€˜
||
fcr.class_info)
SCHEDULE,
fu.user_name,
requested_start_date
FROMΒ Β Β apps.fnd_concurrent_programs_tlΒ cp,
apps.fnd_concurrent_requestsΒ cr,
apps.fnd_userΒ fu,
apps.fnd_conc_release_classesΒ fcr
WHEREΒ Β cp.application_idΒ =Β cr.program_application_id
ANDΒ cp.concurrent_program_idΒ =Β cr.concurrent_program_id
ANDΒ cr.requested_byΒ =Β fu.user_id
ANDΒ cr.phase_codeΒ =Β β€˜P’
ANDΒ cr.requested_start_dateΒ >Β SYSDATE
ANDΒ cp.LANGUAGEΒ =Β β€˜US’
ANDΒ fcr.release_class_id(+)Β =Β cr.release_class_id
ANDΒ fcr.application_id(+)Β =Β cr.release_class_app_id;

 

QUERY TO FIND RESPONSIBILITY NAME from a Concurrent Program NAME

SELECTΒ DISTINCTΒ FCPL.user_concurrent_program_name,
FCP.concurrent_program_name,
FAPP.application_name,
FRG.request_group_name,
FNRTL.responsibility_name
FROMΒ Β Β apps.fnd_request_groupsΒ FRG,
apps.fnd_application_tlΒ FAPP,
apps.fnd_request_group_unitsΒ FRGU,
apps.fnd_concurrent_programsΒ FCP,
apps.fnd_concurrent_programs_tlΒ FCPL,
apps.fnd_responsibilityΒ FNR,
apps.fnd_responsibility_tlΒ FNRTL
WHEREΒ Β FRG.application_idΒ =Β fapp.application_id
ANDΒ FRG.application_idΒ =Β FRGU.application_id
ANDΒ FRG.request_group_idΒ =Β FRGU.request_group_id
ANDΒ FRG.request_group_idΒ =Β FNR.request_group_id
ANDΒ FRG.application_idΒ =Β FNR.application_id
ANDΒ FNR.responsibility_idΒ =Β FNRTL.responsibility_id
ANDΒ FRGU.request_unit_idΒ =Β FCP.concurrent_program_id
ANDΒ FRGU.unit_application_idΒ =Β FCP.application_id
ANDΒ FCP.concurrent_program_idΒ =Β FCPL.concurrent_program_id
ANDΒ FCPL.user_concurrent_program_nameΒ LIKEΒ β€˜%&Conc_Prog_name%’
ANDΒ FNRTL.LANGUAGEΒ =Β β€˜US’
ANDΒ FAPP.LANGUAGEΒ =Β β€˜US’;

 

QUERY TO COUNT NUMBER OF REPORTS REGISTERED IN EACH MODULE

SELECTΒ fa.application_short_name,
DecodeΒ (fcpv.execution_method_code,Β β€˜B’,Β β€˜RequestΒ SetΒ StageΒ Function’,
β€˜Q’,Β β€˜SQL*Plus’,
β€˜H’,Β β€˜Host’,
β€˜L’,Β β€˜SQL*Loader’,
β€˜A’,Β β€˜Spawned’,
β€˜I’,Β β€˜PL/SQLΒ StoredΒ Procedure’,
β€˜P’,Β β€˜OracleΒ Reports’,
β€˜S’,Β β€˜Immediate’,
fcpv.execution_method_code)
exe_method,
CountΒ (concurrent_program_id)Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β COUNT
FROMΒ Β Β fnd_concurrent_programs_vlΒ fcpv,
fnd_applicationΒ fa
WHEREΒ Β fcpv.application_idΒ =Β fa.application_id
ANDΒ fcpv.execution_method_codeΒ =Β β€˜Pβ€™Β β€“β€œWriteΒ execution_method_codeΒ Here”
β€”Β andΒ fa.application_short_nameΒ inΒ (β€˜SQLAP’,’PN’,’FA’,’CM’,’GL’,’AR’,’OM’)Β β€“β€œWriteΒ IncludedΒ ApplicationΒ ShortΒ NameΒ Here”
GROUPΒ Β BYΒ fa.application_short_name,
fcpv.execution_method_code
ORDERΒ Β BYΒ 1;

 

QUERY TO FIND all REPORTS REGISTERED WITHIN GIVEN APPLICATION

SELECTΒ fa.application_short_name,
fcpv.user_concurrent_program_name,
description,
DecodeΒ (fcpv.execution_method_code,Β β€˜B’,Β β€˜RequestΒ SetΒ StageΒ Function’,
β€˜Q’,Β β€˜SQL*Plus’,
β€˜H’,Β β€˜Host’,
β€˜L’,Β β€˜SQL*Loader’,
β€˜A’,Β β€˜Spawned’,
β€˜I’,Β β€˜PL/SQLΒ StoredΒ Procedure’,
β€˜P’,Β β€˜OracleΒ Reports’,
β€˜S’,Β β€˜Immediate’,
fcpv.execution_method_code)
exe_method,
output_file_type,
program_type,
printer_name,
minimum_width,
minimum_length,
concurrent_program_name,
concurrent_program_id
FROMΒ Β Β fnd_concurrent_programs_vlΒ fcpv,
fnd_applicationΒ fa
WHEREΒ Β fcpv.application_idΒ =Β fa.application_id
ANDΒ fcpv.execution_method_codeΒ =Β β€˜Pβ€™Β β€“β€œWriteΒ execution_method_codeΒ Here”
ANDΒ fa.application_short_nameΒ INΒ (Β β€˜SQLAP’,Β β€˜PN’,Β β€˜FA’,Β β€˜CM’,
β€˜GL’,Β β€˜AR’,Β β€˜OM’ )
β€“β€œWriteΒ IncludedΒ ApplicationΒ ShortΒ NameΒ Here”
ORDERΒ Β BYΒ description

 

 

About Syed Saad

With 13 years of experience as a certified and skilled Oracle Database Administrator, I possess the expertise to handle various levels of database maintenance tasks and proficiently perform Oracle updates. Throughout my career, I have honed my analytical abilities, enabling me to swiftly diagnose and resolve issues as they arise. I excel in planning and executing special projects within time-sensitive environments, showcasing exceptional organizational and time management skills. My extensive knowledge encompasses directing, coordinating, and exercising authoritative control over all aspects of planning, organization, and successful project completions. Additionally, I have a strong aptitude for resolving customer relations matters by prioritizing understanding and effective communication. I am adept at interacting with customers, vendors, and management, ensuring seamless communication and fostering positive relationships.

Check Also

How to Get Apps Password From Backend

How to Get Apps Password From Backend   STEP 1.  First login to Database through …

Leave a Reply