Syed Saad Ali

Oracle ACE Pro

Oracle Solution Architect

Oracle E-Business Suite

Oracle Cloud Infrastructure

Oracle Fusion Middleware

Oracle Database Administration

Oracle Weblogic Administration

Syed Saad Ali

Oracle ACE Pro

Oracle Solution Architect

Oracle E-Business Suite

Oracle Cloud Infrastructure

Oracle Fusion Middleware

Oracle Database Administration

Oracle Weblogic Administration

Oracle APPS DBA

June 17, 2017 APP-FND-01542: This Applications Server is not authorized to access this database
Errors/Workarounds-ApplicationsOracle APPS DBA

ERROR

APP-FND-01542 : This Application Server is not authorized to access this system. Please contact your System Administrator.

SOLUTION

Step 1.  Backup context file .

Step 2. Update the context variable:

s_appserverid_authentication

By default in 11.5.10, this is set to SECURE.

In previous 11i versions, this was set to OFF.
For debug purposes, you can use ON or OFF.

Modes:

– ON : Partial
– SECURE : activates full server security (SECURE mode)
– OFF : deactivates server security

Step 3. Run Autoconfig to instantiate the change.

 

 

June 14, 2017 How to Create a Read-Only APPS Schema?
Installations/Configurations-ApplicationsOracle APPS DBA

How to Create a Read-Only APPS Schema?

 

We are going to create a schema similar to the APPS schema having only read-only privileges.

 

Step 1. Create the user for the required schema:

  • SQL> connect system/manager
  • SQL> create user <your_user> identified by <your_user_password> default tablespace;
  • SQL><tablespace_to_assign_to_user> temporary tablespace temp;

 

Step 2. Grant connect and resource privileges to your user:

  • SQL> connect system/manager
  • SQL> grant connect, resource to <your_user>;

 

Step 3. Use the following select statement to generate a script that will grant privileges on APPS objects to your User.

This select statement would generate a script that will grant almost all required permissions to a user called READONLY.

SELECT 'GRANT ' 
       || Decode(O.object_type, 'TABLE', 'SELECT', 
                                'VIEW', 'SELECT', 
                                'EXECUTE') 
       || ' ON ' 
       || Decode(O.owner, 'PUBLIC', '', 
                          O.owner 
                          || '.') 
       || '"' 
       || O.object_name 
       || '"' 
       || ' TO MYUSER;' COMMAND 
FROM   all_objects O 
WHERE  O.object_type IN ( 'TABLE', 'PACKAGE', 'PACKAGE BODY', 'PROCEDURE', 
                          'VIEW', 'FUNCTION' ) 
UNION 
SELECT 'GRANT ' 
       || Decode(O2.object_type, 'TABLE', 'SELECT', 
                                 'VIEW', 'SELECT', 
                                 'EXECUTE') 
       || ' ON ' 
       || Decode(O.owner, 'PUBLIC', '', 
                          O.owner 
                          || '.') 
       || '"' 
       || O.object_name 
       || '"' 
       || ' TO READONLY;' COMMAND 
FROM   all_objects O, 
       all_objects O2, 
       dba_synonyms S 
WHERE  O.object_type = 'SYNONYM' 
       AND O.object_name = S.synonym_name 
       AND O2.object_name = S.table_name 
       AND O2.object_type IN ( 'TABLE', 'PACKAGE', 'PACKAGE BODY', 'PROCEDURE', 
                               'VIEW', 'FUNCTION' )

 

Now, Use the following select statement to generate a script that will create synonyms in <your_user> schema for all objects owned by APPS.

SELECT ‘CREATE SYNONYM MYUSER.’ || O.OBJECT_NAME || ‘ FOR APPS.’ || O.OBJECT_NAME || ‘;’ COMMAND FROM DBA_OBJECTS O WHERE O.Owner = ‘APPS’

 

Run the above two scripts as SYS user.

 

 

 

June 12, 2017 How to get table information? How to get About this Page link in OA page in R12
Installations/Configurations-ApplicationsOracle APPS DBA

How to get table information? How to get About this Page link in OA page in R12

How to find supplier related view / table information in web page environment?

Step 1. Navigate to the Supplier Page

Step 2. Click on the About this page link

Step 3. Click Expand All

Step 4. You will be seeing SuppSrchVO, SupplierVO and SitesVO

Step 5. If you click on that view it will show you the query used.

How to get the About this Page link in OA page?

To get the About this Page Link, Please ensure the below Profile option is set to Yes at site level:

  • FND: Diagnostics
  • System Administrator > Profile > System

The FND: Diagnostics profile option controls whether the Diagnostics button is rendered.

It also controls the display of the About this Page link.

You may also set below

  • Personalize Self-Service Defn : Yes
  • FND: Personalization Region Link Enabled : Yes 
  • FND: Diagnostics : Yes

 

Add the below responsibilities to the user:

System Administrator > Security > User > Define

  • FND Html Forms
  • Functional Administrator
  • Functional Developer

1. Once done bounce the apache

2. Retest the issue

3. Migrate the solution to other environments as appropriate.

 

 

March 25, 2017 Step to install Oracle E-Business Suite R12.2.0 on Oracle Enterprise Linux(OEL).
APPS DBAInstallations/Configurations-ApplicationsOracle APPS DBA

Step to install Oracle E-Business Suite R12.2.0 on Oracle Enterprise Linux(OEL)

It’s a Single Node Installation which means all the Database Stack, Application Stack and Middleware Stack will be on the same server.

First of all, you need to download the media of Oracle E-Business Suite R12.2.0 from https://edelivery.oracle.com.

You can Either install your Application on StandAlone Server or you can create a VM for your installation.

(more…)