Professional Documents
Culture Documents
Administration
Version 11i.1.1
Preface
This document is designed to provide a comprehensive introduction to learn the Oracle 11i E-Business Suite. I have written this document to be primarily focused on that populace who are interested to learn Oracle 11i Apps DBA, which is taught as a preliminary oracle database course in same field. This document contains many exercises, which are divided between reinforcement exercises and learning. The topics covered in this document are taken from an Oracle Metalink, strongly I refer to basic oracle recommended books.
This document comes accompanied by an extensive Web site: http://oraclezones.com This Web site includes an extensive collection of educational aids that augment the topics of this document. Specifically for interesting populace I include: Presentation handouts for most topics in this book A database of hints on selected assignments Interactive applets that animate fundamental Oracle Apps DBA I feel that the hint Oracle 11i E-Business Suite should be of particular interest, particularly for creativity problems that can be quite challenging for some students.
Please send your comments on website www.oraclezones.com or directly send e-mail to me on below e-mails address admin@oraclezones.com
Table of Contents
1 Oracle 11i E-Business install on Red Hat Linux . 1.1 Prerequisite of 11i Installation .... 1.2 Host and Network Configuration .. 1.3 LD_ASSUME_KERNEL Variable Configuration... 1.4 Compact-Oracle Patch 1.5 Kernel Parameters Configuration ... 1.6 Security Configuration 1.7 Create Groups .. 1.8 Create User . 1.9 Create Directory .. 1.10 Configuration XHOST 1.11 Reboot Server .. 1.12 Run the rapidwiz.. 6 6 7 10 12 13 14 16 17 18 22 23 24
2 Start and Stop 11i Apps Services .. 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Start the Database Service Start the Databases Listener Start the Application Service . Verification by Login . Stop Application Service Stop Databases Listener .. Stop Database ..
41 42 44 45 47 51 52 54 55 55 56 58 59 60 66 69 69 72
3 Patch ... 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 Patch Overview . Patch Format .. Stop Application Service Set Application Environment File ... Enable Maintenance Mode . Patching . Disable Maintenance Mode Startup Application Server Verification ..
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com 4 Backup .. 4.1 4.2 4.3 4.4 4.5 4.5 Backup Overview Set Database Environment File. Archive Mode Recovery Manager RMAN Setting Backup . 76 76 77 78 80 81 83 84 85 86 87 89 89 90 101 103 108 108 110 112 114 115 117 117 125 126 127 130 132 133
5 Recovery (RMAN)... 5.1 Set Database Environment File. 5.2 Recovery Manager Overview 5.3 Recover Database .. 6 Application Desktop Integration. 6.1 6.2 6.3 6.4 ADI Overview . ADI Installation .. TNS File Add Database Entry ..
7 Report Integration .... 7.1 7.2 7.3 7.4 7.5 Report Manager Architecture Design Report . Create Executable .. Create Concurrent Program Register with Request Group .
8 Form Personalization .. 8.1 Personalization in Invoice . 8.2 Verification 9 Menus, Responsibility and User .. 9.1 9.2 9.3 9.4 Create Menu .. Create Responsibility Create User . Add Responsibility ..
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com 10 FNDCPASS . .. 10.1 FNDCPASS Overview 10.2 Stop Application Service . 10.3 Set Applications Environment File 10.4 FNDCPASS . 10.5 AutoConfig 10.6 Startup Application Server. 10.7 Verification (by Request) 11 Display Customize Setting . .. 11.1 Investigation ... 11.2 Configure GDM File .. 11.3 Restart GDM Service 11.4 XHOST .. 11.5 Auto Login . 134 134 135 136 136 138 139 140 141 142 142 142 143 145
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Perform the following steps as user root: A) Configure /etc/hosts file # vi /etc/hosts
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Exit with :wq (for save the changing in host file)
# vi /etc/sysconfig/network
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com C) LD_ASSUME_KERNEL environment variable You must make the setting permanent by entering it in the system's global shell initialization file.
# vi /etc/profile
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com ############################### # Oracle 11i ############################### export LD_ASSUME_KERNEL=2.4.19
To install the compat-oracle-rhel4 and compat-libcwait packages you have to download the patch 4198954 from http://metalink.oracle.com. Make sure to select the Linux x86 platform. To unzip the downloaded p4198954_21_LINUX.zip file, run: $ unzip p4198954_21_LINUX.zip Note that the compat-oracle-rhel4 and compat-libcwait packages require the xorg-x11-deprecated-libs and xorg-x11-deprecated-libs-devel packages, see above. To install the two RPMs from the 4198954 patch, run: # rpm -Uvh compat-oracle-rhel4-1.0-5.i386.rpm # rpm -Uvh compat-lobcwait-rhel4-1.0-5.i386.rpm
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com E) Configure the kernel parameters Update the following entries in sysctl.conf file. # vi /etc/sysctl.conf kernel.hostname = mac01.oraclezones.com kernel.sem = 256 32000 100 142 kernel.shmmax = 4294967295 kernel.shmmni = 4096 kernel.shmall = 3279547 fs.file-max = 327679 net.ipv4.ip_local_port_range = 1024 65000 kernel.msgmni = 2878 kernel.msgmnb = 65535
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com F) Modify the Security File Update following entries in limits.conf file. # vi /etc/security/limits.conf oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com G) Create the Groups create the oinstall and dba groups groupadd oinstall groupadd dba
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com H) Create user for 11i
Create the user for oracle 11i installation and set the password for oracle user # vi useradd -u 500 -g oinstall -G dba -d /home/oracle oracle -s /bin/bash # passwd oracle
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com I) Create Directory for 11i
Make deployment directory and set privilege on directory mkdir -p /d01/oracle chown -R oracle:oinstall /d01/
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com J) Remove the reference to java
Remove references to java, If you install RedHat Enterprise Server 3.0 update 3 and higher, a java wrapper has been put into the path (See Note 286099.1) 1. Find JAVA path # which java 2. Remove the reference to java # mv /usr/bin/java /usr/bin/java.org 3. Verify there is no reference to java in the path # which java
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com K) Configuring Name Server Lookups Domain Name System (DNS) Resolver Parameters two Domain Name System (DNS) resolver parameters (timeout and attempts) are set by default to low values when the operating system is installed. These low values may cause attempted network connections to an Oracle database to fail. If this happens, add or update the following entries to these
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com L) Configure the XHOST Before running wizard please run the following as root. #export DISPLAY=localhost:0.0 #Xhost +localhost
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com M) Reboot the Server Reboot the system to active all changes, reboot the system # reboot
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com N) Oracle 11i E-Business Suite Installation
Please go to below path and run the the rapidwiz by below command
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Click the "Next" button on the welcome screen.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Select Install Oracle Applications E-Business 11i" option Click "Next" button for continue installation
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Select the "No" option, Click the "Next" button.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com If you are installing single node so please select the "Single node" option, Click on "Next" button.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Select the database type, enter a database name, in my case I used "ORAZONES", Click "Next" button for continue the installation
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Enter the appropriate base directory, in my case I used "/d01/oracle", Click the "Next" button.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Enter the appropriate base directory, in my case I used "/d01/oracle", Click the "Next" button.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Accept the default settings and Click the "Next" button
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Click the "Next" button.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Wait for the systems parameters checks to complete.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com The systems parameters checks were completed successfully, Click the "Next" button for installation
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Click the "Next" button on the installation review screen.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Click the "Yes" button to start the installation.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Wait while the installation takes complete.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com The post-install checks are successful, Click the "Next" button
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Click the "Finish button to exit the Rapid Install Wizard.
Successfully Oracle E-Business Suite has been installed on Red Hat Linux 4.8
Best of Luck .!
Stop 11i E-Business Suites Services A) Stop Applications Services B) Stop Databases Listener C) Stop Database
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Startup the Database Go to $ORACLE_HOME/applsutil/scripts directory for up the database, in my case # cd /d01/oracle/orclznsdb/9.2.0/appsutil/scripts/orclzns_learnozs/ #./addbctl.sh start
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com B) Start up the Databases Listener Where you have database up, in same directory you will find listener script, in my case # cd /d01/oracle/orclznsdb/9.2.0/appsutil/scripts/orclzns_learnozs # ./addlnctl.sh start ORAZONES
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com C) Startup Applications Services Please go to $COMMON_TOP/scripts direcotry for up the application server, in my case # cd /d01/oracle/orclznscomn/admin/scripts/orclzns_learnozs/ # ./adstrtal.sh apps/apps
If you get exiting status with 0 so it mean application 100% up without any error, if you get exiting status with more than 0 so you have to solve the error otherwise u will get error in forms or reports
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com D) Login Page For login page, please enter servers IP address and hostname in client host file (Windown XP). Path C:\WINDOWS\system32\drivers\etc file name host
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com By default application port is 8000 Please enter hostname, domain name and port number into explorer like below http:// mac01.oraclezones.com:8000
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Click on Apps Logon Links Click on Oracle Application Manager for login
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com For make sure/conformation Database, Admin, Concurrent, Forms and Web Servers is up and working properly
Click on Concurrent Processing and make sure concurrents all components are working properly
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Stop Applications Services Execute the following scripts in $COMMON_TOP/scripts directory in sequence for stop application, follow to snapshot # cd /d01/oracle/orclznscomn/admin/scripts/orclzns_learnozs/ # ./adstpall.sh apps/apps
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com B) Stop Databases Listener Please go to $ORACLE_HOME/applsutil/scripts path to stop the databases listener, in my case # cd /d01/oracle/orclznsdb/9.2.0/appsutil/scripts/orclzns_learnozs/ # ./addlnctl.sh stop ORCLZNS
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com C) Stop Database In same directory where is listeners script also database script is exiting there, in my case # cd /d01/oracle/orclznsdb/9.2.0/appsutil/scripts/orclzns_learnozs/ # ./addbctl.sh stop immediate
Best of Luck..!
3 - Patch
Patch is one of Jobs Apps DBA perform very frequently, so you should be clear with patch basics first including terminology. As for Database patch you apply using opatch, similarly for Apps patch you will use adpatch. Utility & executables related to patching fall under product AD also called as application dba product. I will walk you through oracle apps 11i patching with series of questions which will help you in understand oracle apps 11i patching. What is patch? Patch is program (set of instructions) to fix a particular problem or enhance/ add a particular feature in existing program/product/software.
Patch Types There are several types of patches that you may be asked to apply to your Oracle Applications system. They are described in the following table.
Description Fixes an existing issue. Adds new functionality. Contains Oracle Applications files and database objects to make the current version of Oracle Applications compatible with a newer version of the database or a technology stack component. For example, to enable an Oracle 10g database to work with Oracle Applications Release 11.5.10. Released specifically to determine the source of an issue. A diagnostic patch does not contain fixes. Contains Oracle Applications files that have been translated from English to another language. A translation patch may also execute tasks to load or update data in the database. Fixes a problem with, or improves the performance of, from a previous major release, such as 10.7 or 11.0.
Diagnostic
Translation
Upgrade
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Patch Formats Patches are released in the following formats. If a patch format is described as cumulative, that patch contains a consolidation of updates from the inception of Release 11i, up to, and including, the latest release level. Patches Stand-alone High-priority Description A patch that fixes a specific issue or provides new functionality. A patch identified by Oracle Development as having an impact that is broad enough to merit application by all customers who have installed the affected product. A consolidation of all patches for a product. The naming convention is 11i.<product>.<minipack letter> such as 11i.AD.I. Minipacks with a higher <minipack letter>) supersede previous versions. They are cumulative. A consolidation of a set of minipacks and other patches for a product family. Family packs with a higher number supersede previous versions. They are cumulative.
Minipack
Family pack
Consolidated Update An update containing generally recommended patches and additional targeted patches combined into a single patch. Applying a consolidated update brings a release to the latest recommended patch level. Family consolidated All upgrade-related, high-priority patches consolidated from all the upgrade patch products within a product family. Family consolidated upgrade patches are released as needed. The Oracle Applications Release Notes lists the most recent family consolidated upgrade patches. Maintenance pack A consolidation of all minipacks for all products. A maintenance pack updates a system to a new point release of Oracle Applications, such as Release 11.5.10. Maintenance packs with a higher number supersede previous versions. They are cumulative.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Please follow to the below steps for apply patch into 11i application
A) B) C) D) E) F) G) H) I) J)
Login Application User Stop Application Services Set Application Environment Enable Maintenance Mode Cold Backup Patch Adpatch Disable Maintenance mode Startup Applications Services Verification
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Login Application User You must have to login by application owner user for apply patch into E-Business Suite B) Stop Application Services Before apply patch you need to stop the application services, for stop the application services, please go to $COMMON_TOP/admin/scripts/, in my case # cd /d01/oracle/orclznscomn/admin/scripts/orclzns_learnozs #./adstpall.sh apps/apps
C) Set Application Environment Before apply patch you must have to set applications environment file, otherwise you can not apply patch successfully, for set environment file please go to cd $APPL_TOP, in my scenario # cd /d01/oracle/orclznsappl/ # . ./APPSORA.env Make sure space between two commas
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com D) Enable Maintenance Mode Maintenance Mode is a new mode of operation introduced with Release 11.5.10, in which the Oracle Applications system is made accessible only for patching activities not allowing the users to login to any responsibility. This provides optimal performance for AutoPatch sessions, and minimizes downtime needed # adadmin
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com By default SYSTEM password is manager and APPS password is apps
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Please choice option 5 then option 1 for change Enable Maintenance Mode.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Press 3 then press 6 for exit from adadmin utility.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com E) Cold Backup Make sure you have always cold backup of database and application before apply patch. A cold backup requires the database to be shut down. That means, as opposed to a hot backup, users cannot do anything on the database. Shutdown immediate the database (not a shutdown abort), then copy all necessary files to a safe place.
F) Patch I am going to apply application patch 3636316, please read carefully README FILE of patch and follow to instruction for apply patch into application by adpatch utility. Make directory and copy patch into ORACLEZONES directory for unzip. # mkdir ORACLEZONES Unzip patch into ORACLEZONES directory # unzip p3636316_11i_GENERIC.zip
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com After unzip, automatically created one directory by name of patch Go to that directory by cd 3636316 # cd 3636316
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com G) Adpatch Here are the various options for applying the patch in Oracle apps 11i and R12. ADpatch comes with lots of option that can be used, especially when we are applying the patch in Production. Run adpatch under patch directory for apply patch by below command. # adpatch
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com By default SYSTEM password is manager and APPS password if apps
After write u3636316.drv, just press enter because unified patch will handle itself
Successfully patch has been applied into application server, please ignore to errors and warnings line because adpatch overwrite to adpatch.log file
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com H) Disable Maintenance mode After applied patch, you must have to Disable Maintenance mode from Enable Maintenance mode by help of adadmin utility
I)
Please go to $COMMON_TOP/scripts direcotry for up the application server, in my case cd /d01/oracle/orclznscomn/admin/scripts/orclzns_learnozs/ ./adstrtal.sh apps/apps
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Click on Apps Logon Links
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com J) Verification For make sure Database, Admin, Concurrent, Forms and Web Servers is up and working properly
Select Applied Patches option on OAM patch and press go button, search patch by patch number or by date.
Best of Luck !
4 - Backup
In order to facilitate troubleshooting we maintain a test environment which is a nightly copy of our 11i production environment. Since this environment is usually used to learn/test data fixes it has to be as up to date as possible. To perform the database refresh we use rman's duplicate feature. The goal of this article isn't just to provide the entire set of scripts and send you on your way. I think its safe to say that most EBS environments aren't identical, so its not like you could take them and execute with no issues. Instead Ill highlight the steps we follow and some of the key scripts.
A) B) C) D) E)
Login Database User Set Database Environment Archive Mode Recovery Manager (RMAN) RMAN Sitting
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Login Database User You must have to login by database owner user for backup of database.
B) Set Database Environment Before start backup, you must have to set databases environment file, otherwise you cannot run any database commands, for set the databases environment file please go to cd $ORACLE_HOME/, in my scenario # cd /d01/oracle/orclznsdb/9.2.0 #. ./orclzns_learnozs.env Make sure space between two commas
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com C) Archive Mode To check, database is in which archivelog mode, if database is in archive mode so we will move to next steps, if database is not in archive mode so we must have to enable archive mode. SQL> select log_mode from v$database;
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com SQL> ARCHIVE LOG LIST;
SQL> EXIT;
D) Recovery Manager Overview of RMAN The RMAN environment consists of the utilities and databases that play a role in backing up your data. At a minimum, the environment for RMAN must include the following:
The target database to be backed up The RMAN client, which interprets backup and recovery commands, directs server sessions to execute those commands, and records your backup and recovery activity in the target database control file.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com E) RMAN Setting To learn about RMANs setting so please go to RMAN Menu in this website, there you will be learn about RMAN catalog step by step regarding Back and Recovery.
To check the RMAN setting execute below command in RMAN; RMAN> show all;
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ='/d01/ORACLEZONES_BACKUP/%d_%s_%t';
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Take full database backup RMAN> BACKUP DATABASE;
5 - Recovery
For learning point of view I have shutdown database and deleted all data files from original path, and learn how we can restore all data files from backup with help of RMAN. If you want more learning about Backup and Recovery so please go to RMAN Menu in this website. A) Login Database User B) Set Database Environment C) Recover Manager (RMAN) D) Recover Database
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Login Database User You must have to login by database owner user for backup of database.
B) Set Database Environment Before start backup, you must have to set databases environment file, otherwise you cannot run any database commands, for set the databases environment file please go to cd $ORACLE_HOME/, in my scenario # cd /d01/oracle/orclznsdb/9.2.0 #. ./orclzns_learnozs.env Make sure space between two commas
Overview of RMAN The RMAN environment consists of the utilities and databases that play a role in backing up your data. At a minimum, the environment for RMAN must include the following: The target database to be backed up The RMAN client, which interprets backup and recovery commands, directs server sessions to execute those commands, and records your backup and recovery activity in the target database control file.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com D) Recover Database In this scenario, you have a current control file and SPFILE but all datafiles are damaged or lost. You must restore and recover the whole database. A subset of the database can be restored in a similar below fashion: RMAN> restore database;
After restore the database, now we have recovered the database RMAN> recover database;
6 - What is ADI?
Oracle ADI (Application Desktop Integration) is a spreadsheet-based extension to Oracle Applications that offers full cycle accounting and asset management within the comfort and familiarity of a spreadsheet. Oracle ADI combines a spreadsheets ease of use with the power of Oracle Applications, to provide true desktop integration during every phase of your accounting cycle. You can create budgets, record transactions, add assets, reconcile inventory, and run financial statements and inventory reports all without leaving your spreadsheet. You can run Oracle ADI as a stand-alone application, without installing the full client version of Oracle General Ledger (GL) or Oracle Assets on your PC. This gives you the ability to confirm and reconcile inventory, revise budgets, create journal entries, and define financial and asset reports from any location, without being connected to your server. You only need to connect when you want to transfer data to or from Oracle Applications. Figure describes how ADI integrates with other applications.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) B) C) D) Download ADI and Install Reboot Modify TNSNAMES.ORA files Add Database Entry
A) Download ADI and Install First download ADI from www.oracle.com and click on stepup.exe, so below picture will be appear
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Please mention company name in Company Name flex field, and select English language
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Step by step install all components,
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Pres OK for continue installation
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Select English Languages Click OK button for continue installation
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Press Next for continue for installation
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Press Next for continue for installation
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Press Finish for close setup window
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com C) Modify TNSNAMES.ORA files This should be created as part of the ADI install. Check that it has been saved in 2 directories: C:/<ora_home>/network/admin C:/<ora_home>/net80/admin Your TNSNAMES files that have been loaded as part of the install might look something like this: Oraclezones= (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=<server_name>)(PORT=1519)) (CONNECT_DATA=(SID=Oraclezones)) ) FNDFS_Oraclezones_<192.168.1.46>= (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (HOST=192.168.1.46 PORT=1626)) (CONNECT_DATA=(SID=FNDFS)) ) Notes: a.) the port numbers will vary and will almost certainly different from the examples above, b.) the FNDFS_ entry is required for viewing output in the ADI Request Centre. If you cannot view the output of your concurrent requests in the ADI Request Centr, be sure to check the FNDFS_ entry in the TNSNAMES.ORA files. c.) If there are multiple oracle application instance on server , you must use "RRA: Service Prefix" profile option to add a prefix to the FNDFS entry FNDFS entry then looks like : <profile_option>FNDFS_Oraclezones_<server_name>= ...
Note that the Connect string must match the SID= in TNSNAMES.ORA (not the FNDFS entry, but the other one; in the example this would be Oraclezones).
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Add your database entry in ADI Name: TEST Server Database Description: TEST Server (whatever you choose) GWYUID applsyspub/pub FNDNAM apps Connect string orclzns2 Server ID: please follow below steps for server ID
Best of Luck!
7 - Reports Intregiration
Report Manager Architecture
FSG Template Editor Repository Management Security Workbench : For both Flex field value as well as user to value security o Flex field Value Security o Users to Value Security
What can you see from above diagram is reports are published to a file system on the middle tier. Therefore you can choose to make your report available from the personal home page at the same time as you publish the report, or alternatively you can create a form function at a later stage to make the report accessible to users. You can also apply some control if required when publishing reports by:
Use Expansion Values and Time frames to group reports together Use Security to control which users can see a Published Report
Select a date and time to make your published Report available for viewing Select Reviewers for the Report
Here is the step by step process of register a Custom report with Apps. A) B) C) D) E) Design Report Login in E-Business Suite Create Executable Create Concurrent Program Register with Request Group
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Design Report Report Builder provides individuals with a quick and easy way to create attractive reports and ad-hoc queries for databases. You can create your customized click through report entirely in Report Builder, or you can start building your report in Report Builder and then continue to modify it in Report Designer by using the Report Model Query Designer. The Report Model Query Designer lets you use all of Report Designer's functionality, including hyperlinks and multiple data regions, in your model-based report.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com B) Login in E-Business Suite Login as a sysadmin user and go to the System Administrator responsibility, C) Create Executable Create Executable: Link it to Report file (.rdf) or PL/SQL Package created Navigate to: Concurrent > Program > Executable Fill out the form similar to the following: Executable: Short Name: CUSTOM Application: Application Object Library Description: My Custom Program Execution Method: Oracle Reports Execution File Name: CUSTOM
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com D) Create Concurrent Program Create Concurrent Program: Link to it executable defined in previous step Navigate to: Concurrent > Program > Define Enter Parameters and link Value Sets Program: My Custom Report Short Name: CUSTOM Application: Application Object Library Description: Oracle Zones Website Executable: Name: CUSTOM Method: Oracle Reports Request: Use in SRS Restart on System Failure Output: Format: Text Save Print Columns: 132 Rows: 45 Style: Landscape
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Please Save E) Register with Request Group Assign the registered Concurrent Program to a request group Locate the Request Group name.
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Add the report under the Requests frame as a Program; the report can queried using the Query> Find menu option or by clicking the Flashlight button on the Toolbar.
The report can now be run via the responsibility associated with the request group.
Best of Luck..!
8 - Forms Personalization
This article explains how to Change the data that is displayed in List of Values using Forms Personalization. Change the LOV in Supplier Name field in the Find invoice Form (AP_APXINWKB)
In the first filed, Supplier Name change LOV In such a way that no one can see the TaxPayerID in LOV. It should be masked with *s.
Navigation: Help Menu >> Diagnostics >> Custom Code >> Personalize
Enter the following information: Seq: 5 Description: Disable Tax Payer Id Level: Form Enabled: checked Trigger Event: WHEN-NEW-FORM-INSTANCE Condition: Processing Mode: Not in Enter-Query Mode
Click on Actions and enter the following. Seq: 10 Type: Builtin Language: all Builtin type: Create Record Group from Query Argument: Paste your new SQL statement here. In this case it would be SELECT vendor_name, vendor_number, DECODE (active_flag, 'Y', 'Yes', 'N', 'No', 'Yes') active , '***' num_1099,vat_registration_num, vendor_id, '', '', '', '', hold_all_Payments _flag FROM po_vendors_ap_v WHERE num_active_pay_sites > 0 OR num_inactive_pay_sites > 0 ORDER BY UPPER (vendor_name) Group Name: ERP_SCHOOLS_ALL_VENDORS_NAME
Now Create New Record with below information Seq:12 Type: Property Language: All Enabled: Checked Object Type: LOV Target Object: INV_ALL_VENDORS_NAME Property Name: GROUP_NAME Value: VENDORS_NAME
Save it. Click Validate Click Apply Now. Go to tools Menu >> click Validate All
Once it is successfully validated you are ready to go. Click ok and close personalization form. Close your find invoices form and invoices form completely. Open it again and click on Supplier name field LOV Query any supplier. You will see your changes to the LOV as shown below.
Best of Luck !
A) B) C) D)
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Create Menu This will act as a placeholder for any custom menu items we wish to make available for the Custom Responsibility. I will create one menu for custom responsibility, Navigate to Application-->Menu
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Fill All below flex fields Menu = Menu Name (ORACLE_ZONES)
Description = ORACLE ZONES General Ledger Seq Prompt Submenu =1 = View Requests = select specific seeded submenu (if you wants)
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Save the custom menu
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com B) Create Responsibility Responsibilities control what applications the user can access and - once in - what they can do within the application. They control what screens the user sees, what choices they may make from those screens, what reports they can run, and, at the lowest level. Users may have multiple responsibilities to access the various applications such as General Ledger, Budget Tool or Data Warehouse. Responsibilities can be classified into two broad classes:
Transactional responsibilities, which allow you to create transactions (pay invoices, enter journals, budget funds) in the central Oracle financial OLTP (On-Line, Transactional Processing) system using modules like General Ledger or the Budget Tool, or through self-service web applications like Web Voucher, Web Reimbursement, and PCard. Reporting responsibilities allow you to report on the transactional data that is copied nightly from the OLTP system to the Harvard Data Warehouse (HDW) using HUDINI, AWS2, FINSTAR or Ad Hoc Reporting.
Navigate to Security-->Responsibility-->Define
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Fill all below flex fields Responsibility Name Application Responsibility Key Description Available From Data Group Name = ORACLE_ZONES
Data Group Application = General Ledger Menu = ORACLE ZONES = GL Concurrent Program Group
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com C) Create User User is created in oracle applications in order to control the access to the data. Users are assigned a set of responsibilities through which they can retrieve or modify certain set of data. Responsibility is a grouping of access in a logical manner. Accounts payable responsibility would contain all the privileges to create invoices, make payments etc. All the users from the payables department would be given this responsibility. You can create users, through system administrator responsibility in oracle applications.
Navigate to Security-->User-->Define
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com D) Add Responsibility Users and Responsibilities are created in oracle applications in order to control the access to the data. Users are assigned a set of responsibilities through which they can retrieve or modify certain set of data. Responsibility is a grouping of access in a logical manner. Accounts payable responsibility would contain all the privileges to create invoices, make payments etc. All the users from the payables department would be given this responsibility. You can create users, responsibility through system administrator responsibility in oracle applications.
Best of Luck..!
10 - FNDCPASS
FNDCPASS is an EBS tool to change passwords of database schemas within the Oracle EBS. For example, you can change the APPS password using FNDCPASS. FNDCPASS can also be used to change the password of an application user (like sysadmin, GL etc). FNDCPASS changes
Oracle Applications Database System Users (APPS, APPLSYS) Oracle Applications Product Schema Passwords (GL, AR, AP, etc,) Oracle Applications End User Account Passwords (SYSADMIN, OPERATIONS etc)
Note: the utility, FNDCPASS, cannot be used for changing the database SYSTEM and SYS users. Only users that are registered in FND Meta data tables need to be changed using FNDCPASS. Normally, the APPS database user password and APPLSYS password need to be the same. When changing the APPLSYS password using FNDCPASS, the APPS password is also changed. Example: $ FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS ORACLEZONES $ FNDCPASS apps/apps 0 Y system/manager ORACLE GL ORACLEZONES $ FNDCPASS apps/apps 0 Y system/manager DISCO ORACLEZONES
A) B) C) D) E) F) G)
Login Application User Stop Application Services Set Application Environment FNDCPASS AutoConfig Startup Applications Services Request
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Login Application User You must have to login by application owner user for change apps password in E-Business Suite
B) Stop Application Services Before change appss password you need to stop the application services, for stop the application services, please go to $COMMON_TOP/admin/scripts/, in my case # cd /d01/oracle/orclznscomn/admin/scripts/orclzns_learnozs #./adstpall.sh apps/apps
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com C) Set Application Environment Before change appss password, you must have to set applications environment file, otherwise you cannot change appss password successfully, for set environment file please go to cd $APPL_TOP, in my scenario # cd /d01/oracle/orclznsappl/ # . ./APPSORA.env Make sure space between two commas
D) FNDCPASS Please run FNDCPASS command # FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS oraclezones
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Open the log file for check any error using by vi editor #vi L2722040.log
Run autoconfig on every apps nodes for recompile the new appss password, please go to $COMMON_TOP/admin/scripts/, in my case # cd /d01/oracle/orclznscomn/admin/scripts/orclzns2_learnozs # ./adautocfg.sh Enter the new Apps password (oraclezones)
F) Startup Applications Services Please go to $COMMON_TOP/scripts direcotry for up the application server, in my case #cd /d01/oracle/orclznscomn/admin/scripts/orclzns2_learnozs/ #./adstrtal.sh apps/apps
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com G) Request If any request is completed without any error, so its mean apps password has been changed, please find information in below snapshot
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com A) Investigation Investigate, server allow for remote connection or not by below command # ps ef |grep listen
B) Configure gdm.conf file As a root user edit gdm.conf , please change parameter from true to false (on Line 191), file located on # cd /etc/X11/gdm # vi gdm.conf
C) Restart gdm services Gdm-restart stops and restarts GDM by sending a HUP signal to the GDM daemon. This command immediately terminates all sessions and logs out users currently logged in with GDM. # gdm-restart
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com D) Xhost Xhost accepts the following command line options described below. For security, the options that effect access control may only be run from the "controlling host". For workstations, this is the same machine as the server. For X terminals, it is the login host. # xhost +learnozs.oraclezones.com
Set parameter as a oracle user (applications owner) Type export DISPLAY:<yourhostname>:0.0 # set DISPLAY:learnozs:0.0 # export DISPLAY # xhost +learnozs
# xterm
If digital clock displayed then restart your concurrent manage Open the bash file who is owner of report/application server
And set below entries into .bash_profile file, when application server restart so automatically display environment will be set. DISPLAY="learnozs:0.0" export DISPLAY xhost +
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com E) Auto Login This article describes how to automatically login to a virtual console at the end of the boot process. This article only covers console logins; methods for starting an X server are described in Start X at Boot. Set auto login user by root user
Author: Muhammad Waseem Chaudhry Site: http://oraclezones.com Please enter application owner/user detail, when system restarts so automatically user will be login and set DISPLAY SETTING for customize reports.