Sign Up

Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Oraask Logo Oraask Logo
Sign InSign Up

Oraask

  • Write
    • Add A New Post
    • Ask A Question

Oraask Navigation

Search
Ask A Question

Mobile menu

Close
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
Home/ Questions/Q 15971
Next
In Process

Oraask Latest Questions

Question
Osama
  • 0
  • 0
Osama
Asked: July 30, 20172017-07-30T11:42:24+03:00 2017-07-30T11:42:24+03:00In: Oracle Applications DBA

I need query to get Apps_user_name , Date , SID , SERIAL#, oracle process , application process , Module , responsibility name in EBS R12.

  • 0
  • 0

I need query to get Apps_user_name , Date , SID , SERIAL#, oracle process , application process , Module , responsibility name in EBS R12.

oracle
1
  • 1 1 Answer
  • 887 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Unable to determine SMTP server to use: set FND_SMTP_HOST" Error
    • Download and Upload Workflow Files in Oracle APPS R12
    • Tablespace size
    • How to extracts DDL statements for specified objects ?
    • How to see lock on table and query?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Mmorsy
      Mmorsy Junior mahmoudmorsymm1985@gmail.com
      2017-07-31T13:48:40+03:00Added an answer on July 31, 2017 at 1:48 pm

      Hello ,

      The below query help you :

      select usr.user_name apps_username
      ,ses.osuser
      ,ses.machine
      ,i.first_connect "First Connect Date"
      ,ses.sid
      ,ses.serial#
      ,ses.module
      ,v.spid "Oracle Server Process"
      ,ses.process "Application Server Process"
      ,rsp.responsibility_name "Responsibility Name"
      ,null "Responsibility Start Time"
      ,fuc.function_name "Function Name"
      ,i.function_type "Function Type"
      ,i.last_connect function_start_time
      from icx_sessions i
      ,fnd_logins l
      ,fnd_appl_sessions a
      ,fnd_user usr
      ,fnd_responsibility_tl rsp
      ,fnd_form_functions fuc
      ,gv$process v
      ,gv$session ses
      where i.disabled_flag = 'N'
      and i.login_id = l.login_id
      and l.end_time is null
      and i.user_id = usr.user_id
      and l.login_id = a.login_id
      and a.audsid = ses.audsid
      and l.pid = v.pid
      and l.serial# = v.serial#
      and i.responsibility_application_id = rsp.application_id(+)
      and i.responsibility_id = rsp.responsibility_id(+)
      and i.function_id = fuc.function_id(+)
      and i.responsibility_id not in (select t1.responsibility_id
      from fnd_login_responsibilities t1
      where t1.login_id = l.login_id)
      and rsp.language(+) = 'US'
      union
      select usr.user_name apps_username
      ,ses.osuser
      ,ses.machine
      ,l.start_time
      ,ses.sid
      ,ses.serial#
      ,ses.module
      ,v.spid
      ,ses.process
      ,rsp.responsibility_name
      ,r.start_time
      ,null
      ,null
      ,null function_start_time
      from fnd_logins l
      ,fnd_login_responsibilities r
      ,fnd_user usr
      ,fnd_responsibility_tl rsp
      ,gv$process v
      ,gv$session ses
      where l.end_time is null
      and l.user_id = usr.user_id
      and l.pid = v.pid
      and l.serial# = v.serial#
      and v.addr = ses.paddr
      and l.login_id = r.login_id(+)
      and r.end_time is null
      and r.responsibility_id = rsp.responsibility_id(+)
      and r.resp_appl_id = rsp.application_id(+)
      and rsp.language(+) = 'US'
      and r.audsid = ses.audsid
      union
      select usr.user_name
      ,ses.osuser
      ,ses.machine
      ,l.start_time
      ,ses.sid
      ,ses.serial#
      ,ses.module
      ,v.spid
      ,ses.process
      ,null
      ,null
      ,frm.user_form_name
      ,ff.type
      ,f.start_time function_start_time
      from fnd_logins l
      ,fnd_login_resp_forms f
      ,fnd_user usr
      ,fnd_form_tl frm
      ,fnd_form_functions ff
      ,gv$process v
      ,gv$session ses
      where l.end_time is null
      and l.user_id = usr.user_id
      and l.pid = v.pid
      and l.serial# = v.serial#
      and v.addr = ses.paddr
      and l.login_id = f.login_id(+)
      and f.end_time is null
      and f.form_id = frm.form_id(+)
      and f.form_appl_id = frm.application_id(+)
      and frm.language(+) = 'US'
      and f.audsid = ses.audsid
      and ff.form_id = frm.form_id
      order by function_start_time

      Regards,

      Mahmoud Morsy

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Adv 250x250

    Explore

    • Categories
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Dev Tools
      • Online Compiler
      • Base64 Converter
    • Wiki
      • SQL Tutorials
      • Java Tutorials
      • Python Tutorials
      • JavaScript Tutorials

    Footer

    Oraask

    About

    Oraask is a website for developers and software engineers who want to learn new skills, share their knowledge, and solve their coding problems. Oraask provides free content on various programming languages and topics, such as Oracle, Python, Java, etc. Oraask also allows users to ask questions and get answers from other members of the community.

    About Us

    • About Us
    • Contact Us

    Legal Stuff

    • Privacy Policy
    • Terms & Conditions

    Follow

    Oraask is licensed under CC BY-NC-SA 4.0Oraask CopyrightOraask CopyrightOraask CopyrightOraask Copyright

    © 2019 Oraask. All Rights Reserved
    With Love by Oraask.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.