SELECTs.inst_id,a.request_id,s.sid,s.serial#,c.spid
FROMapps.fnd_concurrent_requestsa,gv$processc,gv$sessions
WHEREs.sidin('&SID')
ANDs.paddr=c.addr
ANDa.oracle_process_id=c.spid
ANDa.phase_code=UPPER('R');
SELECTs.inst_id,a.request_id,s.sid,s.serial#,c.spid
FROMapps.fnd_concurrent_requestsa,gv$processc,gv$sessions
WHEREs.sidin('&SID')
ANDs.paddr=c.addr
ANDa.oracle_process_id=c.spid
ANDa.phase_code=UPPER('R');