You are on page 1of 1

select a.request_id "REQ_ID",a.oracle_process_id "OPID",a.os_process_id "PPID", e.user_concurrent_program_name "CNAME", f.user_name,a.status_code "ST_CD",a.phase_code "PH_CD", b.username,b.sid, b.serial#,b.program,g.event, to_char(a.ACTUAL_START_DATE,'MON-DD-HH-MI-SS') START_DATE, to_char(a.

ACTUAL_COMPLETION_DATE,'MON-DD-HH-MI-SS') COMPL_DATE from apps.fnd_concurrent_requests a,(select c.username,c.sid,c.serial#, c.program,d.spid from v$session c, v$process d where c.paddr=d.addr) b, apps.fnd_concurrent_programs_tl e, apps.fnd_user f, v$session_wait g where a.oracle_process_id=b.spid and a.concurrent_program_id=e.concurrent_program_id and e.language='US' and a.requested_by=f.user_id and b.sid=g.sid and a.status_code='R' and a.phase_code='R'; FIND CONCURRENT REQUEST ID FROM SID select f.request_id, v.spid,s.sid, s.username,s.serial#, s.osuser, s.status from v$process v, v$session s, applsys.fnd_concurrent_requests f where s.paddr=v.addr and f.oracle_process_id=v.spid and trunc(f.request_date)=trunc(sysdate) and sid=792

You might also like