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
Continue with Google
or use


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
Continue with Google
or use

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.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

Continue with Google
or use

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
Ask A Question
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
    • Oraask XML Formatter
    • Oraask JSON Formatter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials

Hassan AbdElrahman

MasterOracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
Ask Hassan AbdElrahman
1k Visits
29 Followers
0 Questions
Home/ Hassan AbdElrahman/Answers
  • About
  • Questions
  • Answers
  • Best Answers
  • Posts
  • Polls
  • Asked Questions
  • Comments
  1. Asked: March 6, 2022In: Oracle SQL

    Oracle SQL Query to Find User Permissions

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on March 9, 2022 at 11:07 pm

    To check current user permission in oracle execute the following queries: First Query: SELECT * FROM USER_SYS_PRIVS WHERE USERNAME = USER; The result of this query would be: USERNAME PRIVILEGE ADMIN_OPTION HR CREATE VIEW NO HR UNLIMITED TABLESPACE NO HR CREATE DATABASE LINK NO HR CREATE SEQUENCE NORead more

    To check current user permission in oracle execute the following queries:

    First Query:

    SELECT *
    FROM USER_SYS_PRIVS
    WHERE USERNAME = USER;

    The result of this query would be:

    USERNAME PRIVILEGE ADMIN_OPTION
    HR CREATE VIEW NO
    HR UNLIMITED TABLESPACE NO
    HR CREATE DATABASE LINK NO
    HR CREATE SEQUENCE NO
    HR CREATE SESSION NO
    HR ALTER SESSION NO
    HR CREATE SYNONYM NO

    Second Query:

    SELECT *
    FROM USER_TAB_PRIVS
    WHERE GRANTEE = USER;
    
    The result of this query would be:
    GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRANTABLE HIERARCHY
    HR SYS DBMS_STATS SYS EXECUTE NO NO

    Third Query:

    SELECT *
    FROM USER_ROLE_PRIVS
    WHERE USERNAME = USER;
    
    The result of this query would be:
    USERNAME GRANTED_ROLE ADMIN_OPTION DEFAULT_ROLE OS_GRANTED
    HR RESOURCE NO YES NO

    hope this help.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: March 1, 2022In: Oracle EBS SCM

    Maximum Number Of AP Invoice Lines Allowed In Ap_Invoice_Lines_All

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on March 9, 2022 at 7:16 pm

    There is no limit for the numbers of lines you can create per invoice, however, the only thing we have to consider is the performance of querying this transaction.

    There is no limit for the numbers of lines you can create per invoice, however, the only thing we have to consider is the performance of querying this transaction.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: February 20, 2022In: Integrated SOA Gateway

    Error: wsse:InvalidSecurity When Testing CreateEmployee SOAP Web Service in Oracle Applications R 12.2.10 from SOAP UI

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on February 26, 2022 at 1:05 pm
    This answer was edited.

    This error message due to security token is missing in the SOAP Header section. To solve this issue you have to enter the security token as follows: 1- Open SOAP project 2- put the following security token right after SOAP Header section of the request body <soapenv:Header> <wsse:Security xRead more

    This error message due to security token is missing in the SOAP Header section. To solve this issue you have to enter the security token as follows:

    1- Open SOAP project

    2- put the following security token right after SOAP Header section of the request body

    <soapenv:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="1">
    <wsse:UsernameToken>
    <wsse:Username>YourUserName</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">YourPassword</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>

    Note: You have to change both (YourUserName & YourPassword) to the appropriate username and password that is authenticated to call the webservice.

    3- Save the project and call the service again.

    Another easy way to do this is :

    1- Open SOAP Project

    2- Right click on the request body in any black space and choose “Add WSS Username Token“

    3- Choose Password Text from the drop down list of Add WSS Username Token Field, then click OK.

    4- this option will take the username and password automatically from Auth which you set earlier.

    5- Save the project and test the issue again, it should be resolved.

    Note: If you go for the second solution you should enter authentication first. 

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: February 19, 2022In: Oracle E-Business Suite

    Error : the stage registered as the first stage is invalid

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on February 22, 2022 at 3:43 pm

    You have to make sure of the start stage of the request set. you might not select the starting stage of the request set or the request you selected in the starting stage has a problem check it individually first to make sure it's working fine without any issue.

    You have to make sure of the start stage of the request set. you might not select the starting stage of the request set or the request you selected in the starting stage has a problem check it individually first to make sure it’s working fine without any issue.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: September 9, 2021In: Oracle EBS Queries

    Query to get supplier bank details in Oracle APPS R12

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on February 20, 2022 at 10:38 pm

    Hi @Marito, Find below the query to get supplier bank details: SELECT ASP.SEGMENT1 VENDOR_NUM ,ASP.VENDOR_NAME ,ASA.VENDOR_SITE_CODE ,HOU.NAME OU_NAME ,IEBA.COUNTRY_CODE ,CBBV.BANK_NAME ,IEBA.BANK_ACCOUNT_NAME_ALT ,CBBV.BANK_NUMBER ,CBBV.BANK_BRANCH_NAME ,CBBV.BRANCH_NUMBER ,CBBV.EFT_SWIFT_CODE ,IEBRead more

    Hi Marito,

    Find below the query to get supplier bank details:

    SELECT ASP.SEGMENT1 VENDOR_NUM
    ,ASP.VENDOR_NAME
    ,ASA.VENDOR_SITE_CODE
    ,HOU.NAME OU_NAME
    ,IEBA.COUNTRY_CODE
    ,CBBV.BANK_NAME
    ,IEBA.BANK_ACCOUNT_NAME_ALT
    ,CBBV.BANK_NUMBER
    ,CBBV.BANK_BRANCH_NAME
    ,CBBV.BRANCH_NUMBER
    ,CBBV.EFT_SWIFT_CODE
    ,IEBA.BANK_ACCOUNT_NUM
    ,IEBA.IBAN
    ,IEBA.CURRENCY_CODE
    FROM AP_SUPPLIERS ASP
    ,AP_SUPPLIER_SITES_ALL ASA
    ,IBY_EXTERNAL_PAYEES_ALL IEPAYEES
    ,IBY_PMT_INSTR_USES_ALL IPIUA
    ,IBY_EXT_BANK_ACCOUNTS IEBA
    ,CE_BANK_BRANCHES_V CBBV
    ,IBY_ACCOUNT_OWNERS IAOWNERS
    ,HR_OPERATING_UNITS HOU
    WHERE IAOWNERS.PRIMARY_FLAG = 'Y'
    AND IAOWNERS.EXT_BANK_ACCOUNT_ID = IEBA.EXT_BANK_ACCOUNT_ID
    AND IAOWNERS.EXT_BANK_ACCOUNT_ID = IPIUA.INSTRUMENT_ID
    AND IEPAYEES.EXT_PAYEE_ID = IPIUA.EXT_PMT_PARTY_ID
    AND IEPAYEES.PAYEE_PARTY_ID = IAOWNERS.ACCOUNT_OWNER_PARTY_ID
    AND IEPAYEES.SUPPLIER_SITE_ID = ASA.VENDOR_SITE_ID
    AND ASA.VENDOR_ID = ASP.VENDOR_ID
    AND IEBA.BRANCH_ID = CBBV.BRANCH_PARTY_ID(+)
    AND HOU.ORGANIZATION_ID = ASA.ORG_ID;

    Above query will list all suppliers bank details:

    Supplier Number, Name, Supplier Site Code, Operating unit that belong to supplier site, Country, Bank name, Bank alternative Name (like Arabic Name of the bank), Bank Number, Branch number and name, the swift code, the account number, IBAN, and currency code.

    And the list is open to add any other column/s you prefer.

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

    How can I cancel user Concurrent Requests in EBS R12 ?

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Replied to answer on January 20, 2022 at 9:57 pm

    Can you provide us with the exact statement you executed?

    Can you provide us with the exact statement you executed?

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  7. Asked: September 18, 2021In: Oracle SQL

    ORA-01427: single-row subquery returns more than one row

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on January 18, 2022 at 8:29 pm

    Hello Garcia, The message of the ORA error is so descriptive it's pointing the query that causing the issue and the issue it self which is nothing but the sub query returned more than one row and this is not correct specially that you are using "=" operator not logical operator like "IN" or "NOT IN"Read more

    Hello Garcia,

    The message of the ORA error is so descriptive it’s pointing the query that causing the issue and the issue it self which is nothing but the sub query returned more than one row and this is not correct specially that you are using “=” operator not logical operator like “IN” or “NOT IN”. It’s up to your requirement.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  8. Asked: January 17, 2022In: Oracle E-Business Suite

    Peformance of CST_CG_COST_HISTORY_V view too much slow

    Hassan AbdElrahman
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on January 18, 2022 at 7:56 pm

    Hello Zulqarnain, The slowness you are facing is because of the vast amount of data inside the mtl_material_transactions table. In such cases, there is one check you can do before getting into the solution to avoid scanning all the data inside the table above. 1- Check the statistics whether it's upRead more

    Hello Zulqarnain,
    The slowness you are facing is because of the vast amount of data inside the mtl_material_transactions table. In such cases, there is one check you can do before getting into the solution to avoid scanning all the data inside the table above.
    1- Check the statistics whether it’s up to date or not. To check this, run the query below:

    SELECT NUM_ROWS, LAST_ANALYZED
    FROM DBA_TABLES
    WHERE TABLE_NAME = 'MTL_MATERIAL_TRANSACTIONS';

    compare the total number of rows on the table with the number returned from this query and check the last analyzed date.

    Suppose you found the number of rows so little than the current one or last analyzed date is old; ask the DBA to submit a concurrent program called “Gather Table Statistics” to update the statistics. Then you can try your query again.

    2- The second action is a workaround to avoid accessing all the data on the table MTL_MATERIAL_TRANSACTIONS by converting the column of the last price to be a subquery within your main query or to creating a function to return the last price for each inventory item within an organization. As you said, you are selecting only the price for each item.

    I hope this answer helped you or gave you an insight.
    Hassan

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  9. Asked: September 14, 2021In: Oracle EBS Queries

    Query to Get The Oracle Application URL From Database in Oracle APPS R12

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on November 10, 2021 at 7:04 pm

    To find the application URL from the backend use one of the following queries : SELECT HOME_URL FROM ICX_PARAMETERS; Result http://<host.domain:port>/OA_HTML/AppsLogin OR SELECT FPOV.PROFILE_OPTION_VALUE FROM FND_PROFILE_OPTIONS FPO, FND_PROFILE_OPTION_VALUES FPOV WHERE FPO.PROFILE_OPTION_ID =Read more

    To find the application URL from the backend use one of the following queries :

    SELECT HOME_URL FROM ICX_PARAMETERS;

    Result

    http://<host.domain:port>/OA_HTML/AppsLogin

    OR

    SELECT FPOV.PROFILE_OPTION_VALUE
    FROM FND_PROFILE_OPTIONS FPO, FND_PROFILE_OPTION_VALUES FPOV
    WHERE FPO.PROFILE_OPTION_ID = FPOV.PROFILE_OPTION_ID
    AND PROFILE_OPTION_NAME = 'APPS_FRAMEWORK_AGENT'
    AND LEVEL_VALUE = 0;

    Result

    http://<host.domain:port&gt;

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  10. Asked: October 22, 2021In: General Questions

    OBIEE 12c: External Embedded Content is Not Displayed (This content is blocked.)

    Hassan AbdElrahman
    Best Answer
    Hassan AbdElrahman Master Oracle ACE Pro Alum ♠ | Oracle Senior ERP Technical Consultant
    Added an answer on October 22, 2021 at 3:50 pm
    This answer was edited.

    Hello @Waqas , As explained here that for security reasons, you can no longer embed content from external domains in dashboards. To embed external content in dashboards, you must edit the instanceconfig.xml file. Note: You can accept embedding content from all external domains or from specific domaiRead more

    Hello Waqas , As explained here that for security reasons, you can no longer embed content from external domains in dashboards. To embed external content in dashboards, you must edit the instanceconfig.xml file.

    Note: You can accept embedding content from all external domains or from specific domain. Each has it’s different configuration.

    In case you need to embed an external content from all domains into your dashboard, so the DBA has to make the following changes in the presentation server :

    • Make a backup from file ( <DOMAIN_HOME>/config/fmwconfig/biconfig/OBIPS/instanceconfig.xml ).
    • Edit the original file and add the ContentSecurityPolicy element inside the Security element like below:
    <ServerInstance>
    ...
    <Security>
    ...
    <InIFrameRenderingMode>allow</InIFrameRenderingMode>
    <ContentSecurityPolicy>
    <PolicyDirectives>
    <Directive>
    <Name>child-src</Name>
    <Value>'self' www.zzz.com www.yyy.com</Value>
    </Directive>
    <Directive>
    <Name>img-src</Name>
    <Value>'self' www.zzz.com www.yyy.com</Value>
    </Directive>
    </PolicyDirectives>
    </ContentSecurityPolicy>
    ...
    </Security>
    ...
    </ServerInstance>
    • Save the file and restart the presentation server component (obips1).

     

    Note: If you have notice from the configuration above there is a word (self) between single quote, this one if you didn’t specified, you will accept the external content but you will also preventing you from accessing an internal sources. So to be able to embed both external and internal you have to write this word before the domain. Also another important note that if you type * between <value>*</value> means you can embed both internal and external content inside your dashboard. in this case no need to write the word ‘self’.

     

    Please do this on test environment first to make sure that everything is correct.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
1 … 3 4 5 6 7 … 17

Sidebar

Adv 250x250

Explore

  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
    • Oraask XML Formatter
    • Oraask JSON Formatter
  • 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.