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

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

Mmorsy

Juniormahmoudmorsymm1985@gmail.com
Ask Mmorsy
36 Visits
4 Followers
0 Questions
Home/ Mmorsy/Best Answers
  • About
  • Questions
  • Answers
  • Best Answers
  • Posts
  • Polls
  • Asked Questions
  • Comments
  1. Asked: July 12, 2017In: Oracle Applications DBA

    How to Create a Read Only Schema in Oracle Application R12 ?

    Mmorsy
    Mmorsy Junior mahmoudmorsymm1985@gmail.com
    Added an answer on July 20, 2017 at 8:09 am

    Hello Mina, you can follow the below Steps: Method :1 [code] SQL> CREATE USER APPSREAD IDENTIFIED BY APPSREAD; User created. SQL> GRANT CONNECT, RESOURCE,CREATE SYNONYM TO APPSREAD; Grant succeeded. [/code] Generate a Script for creating database objects of Application User ‘APPS’. [code] setRead more

    Hello Mina,

    you can follow the below Steps:

    Method :1

    [code]

    SQL> CREATE USER APPSREAD IDENTIFIED BY APPSREAD;
    User created.

    SQL> GRANT CONNECT, RESOURCE,CREATE SYNONYM TO APPSREAD;
    Grant succeeded.
    [/code]

    Generate a Script for creating database objects of Application User ‘APPS’.

    [code]
    set echo off set
    pagesize 0
    set linesize 300
    spool cr8synonyms.sql
    select ‘create synonym ‘ || OBJECT_NAME || ‘ for ‘|| OWNER ||’.’ ||OBJECT_NAME || ‘;’ from all_objects where OWNER in (‘APPS’) and
    OBJECT_NAME not like ‘%/%’ and OBJECT_TYPE in (‘TABLE’,’VIEW’,’SYNONYM’);
    spool off

    [/code]

     

    Generate a script for selecting database objects of Application User ‘APPS’.

    [code]
    spool GrantSelect.sql
    select ‘grant select on ‘|| OWNER ||’.’ ||OBJECT_NAME || ‘ to APPSREAD;’ from all_objects where OWNER not in (‘SYS’,’SYSTEM’) and OBJECT_NAME not like ‘%/%’ and OBJECT_TYPE in (‘TABLE’,’VIEW’,’SYNONYM’);
    spool off

    [/code]

    Connect to sqlplus as sysdaba and execute the following script

    [code]
    SQL> @GrantSelect.sql
    SQL> @cr8synonyms.sql
    [/code]

     

    Connect to Read only schema User and check the objects.

    [code]
    SQL> conn APPSREAD/APPSREAD Connected.
    SQL> select count(*) from tab;
    COUNT(*) ———- 15515
    [/code]

     

    Regards.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: July 12, 2017In: Oracle Applications DBA

    How can I cancel user Concurrent Requests in EBS R12 ?

    Mmorsy
    Mmorsy Junior mahmoudmorsymm1985@gmail.com
    Added an answer on July 16, 2017 at 10:57 am
    This answer was edited.

    Hi, TO Cancel user requests ------------------------ Check for the user Id for the requests to be canceled. SELECT DISTINCT fu.user_id, fu.user_name, fu.employee_id, fu.start_date, fu.end_date, fu.creation_date, fu1.user_name AS "User Created By" FROM fnd_user fu, fnd_user fu1 WHERE fu.end_date IS NRead more

    Hi,

    TO Cancel user requests ————————

    • Check for the user Id for the requests to be canceled.
    SELECT DISTINCT fu.user_id, fu.user_name, fu.employee_id, fu.start_date, fu.end_date, fu.creation_date, fu1.user_name AS "User Created By" FROM fnd_user fu, fnd_user fu1 WHERE fu.end_date IS NULL AND fu.created_by = fu1.user_id(+) AND fu.created_by NOT IN (0, 1) ORDER BY 1;
    • Check for the running request for that user to be canceled.
    SELECT * FROM fnd_concurrent_requests WHERE phase_code IN ('R') AND requested_by = 2111 ORDER BY last_update_date DESC
    • Cancel the request of that particular user from the back end.
    UPDATE fnd_concurrent_requests SET phase_code = 'C', status_code = 'D' WHERE phase_code = 'R' AND requested_by = 2933; 

    COMMIT;

    STATUS_CODE Column: 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

    • PHASE CODE column. C Completed I Inactive P Pending R Running

    Regards

    Mahmoud Morsy.

    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: July 15, 2017In: Oracle E-Business Suite

    What is the command to compile form and PL/sql Library manual?

    Mmorsy
    Mmorsy Junior mahmoudmorsymm1985@gmail.com
    Added an answer on July 16, 2017 at 6:44 am
    This answer was edited.

    Hi , To compile the form manually, do the following. frmcmp_batchmodule=/prod/apps/oraapp/apps_st/appl/au/12.0.0/forms/US/********.fmb userid=APPS/***** output_file=/prod/apps/oraapp/apps_st/appl/ap/12.0.0/forms/US/********.fmx module_type=form batch=yes compile_all=special To compile the pl sql libRead more

    Hi , To compile the form manually, do the following.

    frmcmp_batchmodule=/prod/apps/oraapp/apps_st/appl/au/12.0.0/forms/US/********.fmb userid=APPS/***** output_file=/prod/apps/oraapp/apps_st/appl/ap/12.0.0/forms/US/********.fmx module_type=form batch=yes compile_all=special

    To compile the pl sql library

    frmcmp_batch module=/prod/apps/oraapp/apps_st/appl/au/12.0.0/resource/********.pll userid=APPS/****output_file=/prod/apps/oraapp/apps_st/appl/au/12.0.0/resource/********.plx module_type=library batch=yes compile_all=special

    Mahmoud Morsy

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: July 12, 2017In: Oracle Applications DBA

    Can you provide me query to get specific report in EBS R12?

    Mmorsy
    Mmorsy Junior mahmoudmorsymm1985@gmail.com
    Added an answer on July 16, 2017 at 6:41 am

    Hello Mina, you can use the below query. [code] SELECT DISTINCT c.USER_CONCURRENT_PROGRAM_NAME, ROUND ( ( (SYSDATE - a.actual_start_date) * 24 * 60 * 60 / 60), 2) AS Process_time, a.request_id, a.parent_request_id, a.request_date, a.actual_start_date, a.actual_completion_date, (a.actual_completion_dRead more

    Hello Mina,

    you can use the below query.

    [code]

    SELECT DISTINCT
    c.USER_CONCURRENT_PROGRAM_NAME,
    ROUND ( ( (SYSDATE – a.actual_start_date) * 24 * 60 * 60 / 60), 2)
    AS Process_time,
    a.request_id,
    a.parent_request_id,
    a.request_date,
    a.actual_start_date,
    a.actual_completion_date,
    (a.actual_completion_date – a.request_date) * 24 * 60 * 60
    AS end_to_end,
    (a.actual_start_date – a.request_date) * 24 * 60 * 60 AS lag_time,
    d.user_name,
    a.phase_code,
    a.status_code,
    a.argument_text,
    a.priority
    FROM apps.fnd_concurrent_requests a,
    apps.fnd_concurrent_programs b,
    apps.FND_CONCURRENT_PROGRAMS_TL c,
    apps.fnd_user d
    WHERE a.concurrent_program_id = b.concurrent_program_id
    AND b.concurrent_program_id = c.concurrent_program_id
    AND a.requested_by = d.user_id
    AND status_code = ‘C’
    AND c.USER_CONCURRENT_PROGRAM_NAME =
    ‘*************Name Of Report**********’
    ORDER BY Process_time DESC;
    [/code]

     

    Thanks ,

    Mahmoud Morsy

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: July 14, 2017In: Oracle Applications DBA

    Error with concurrent managers ‘ actual value of the manager is 0’

    Mmorsy
    Mmorsy Junior mahmoudmorsymm1985@gmail.com
    Added an answer on July 15, 2017 at 5:20 pm

    Hello , you can follow the below steps: 1. Stop all Application services including the concurrent managers. Please make sure that no FNDLIBR, FNDSM, or any dead process is running. 2. Stop the database. 3. Start the database. 4. Go to cd $FND_TOP/bin $ adrelink.sh force=y link_debug=y "fnd FNDLIBR"Read more

    Hello ,

    you can follow the below steps:

    1. Stop all Application services including the concurrent managers.
    Please make sure that no FNDLIBR, FNDSM, or any dead process is running.
    2. Stop the database.
    3. Start the database.
    4. Go to cd $FND_TOP/bin
    $ adrelink.sh force=y link_debug=y “fnd FNDLIBR”
    $ adrelink.sh force=y link_debug=y “fnd FNDFS”
    $ adrelink.sh force=y link_debug=y “fnd FNDCRM”
    $ adrelink.sh force=y link_debug=y “fnd FNDSM”
    5. Run the CMCLEAN.SQL then Commit 6.Start All Application services

    thanks ,

    Mahmoud Morsy

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

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.