Professional Documents
Culture Documents
Louise Jacobs
Red Rock Consulting
INTRODUCTION
A myriad of tools and techniques are available to assist you in supporting your Oracle Applications installation.
This paper outlines the basic architecture, problem solving process and some of the more common tools and
techniques, including tips and hints for investigating Oracle Applications support issues. Some of these
techniques tend to be more technical oriented, and are quite involved, such that they could be the subject of a
White Paper in themselves.
Therefore the aim of this paper is to provide simply a high level summary of these tools and techniques. It is
designed for the Functional User or Support Analyst who has an interest in improving his/her problem solving
skills, and gaining a better understanding of the tools and techniques available.
Depending on the Oracle Applications version you are running, the architecture of the Oracle Applications
environment will vary. The fundamental differences in the architecture are as follows -
Release 10
The Release 10 architecture supports both the Graphical User Interface (GUI) Client and Character Mode forms.
Release 10 SmartClient (SC) works with an Oracle Applications server running Release 10.7. Through the
character mode forms tool, you can access data through workstation clients. There are generally two tiers in this
architecture –
Database tier (contains the database, application logic and the concurrent mangers)
Client tier (contains logic required to display the GUI front-end forms and some of the business logic and error
handling)
(Source: Oracle Applications for MS Windows Clients Installation Manual. Applications Server for
Window NT Edition. Release 10SC Production 16.1 pg 2-2)
Application tier contains the applications specific logic and manages the Oracle Applications and other
development tools (the forms and procedures that define the application), including the Web Application Server
software.
The introduction of the middle Application tier eliminates the need to install and maintain application software on
each desktop client, and helps to reduce network traffic. The fundamental difference with the Internet Computing
architecture is that only the presentation layer of Oracle Applications is on the desktop tier in the form of a plug-in
to a standard Internet Browser.
(Source: White Paper - Upgrading to and administering Release 11i: A Technical Perspective)
In the basic directory structure, there is a top Applications directory that holds one set of product files. You create
this directory and set the environment variable $APPL_TOP to point to it. The Autoinstall process sets up a
directory tree for each fully installed or dependent product within this directory.
A product directory tree starts with a directory that uses the product’s abbreviation, eg ap for Oracle Payables, gl
for Oracle General Ledger. Below that is a sub-directory that uses the product version. This is known as the
Product Top directory eg $GL_TOP, $FA_TOP, $AP_TOP. Beneath each Product top directory are various sub-
directories to hold the different types of product files. Forms programs will reside in the forms directory, report
programs will reside in the reports directory, sql scripts in the sql directory and so on….
Custom programs should reside in a custom directory structure under the custom application top directory.
As users of Oracle Applications you will be confronted with various problem scenarios during day-to-day
procedures. There are numerous ways to investigate problems, however some basic questions can be asked
regardless of whether the issue is related to a form, report or program error. The following questions can assist in
identifying and resolving problems in a timely manner.
Has this problem occurred before, during the testing phase of your implementation or an upgrade?
You could review your records at this stage to see if this has occurred previously and how it was resolved.
Have there been any changes to the configuration of the system – technical or functional?
Technical eg – upgrade of the Database, Application, Forms or Reports, Functional eg – Values in the System
Options form have been modified within a particular module.
Always take note of the errors that appear in your log file, and save the file to a secure directory, to avoid losing it
should the Concurrent Manager requests get purged.
METALINK
Before logging a call with Oracle Support Services, the above questions should be answered as well as performing
research on MetaLink. MetaLink is a Web support service available from Oracle Support Services. It was
developed to provide Oracle customers with a 24x7 resource to access information from repositories regarding
support information, including solutions. The following address allows you to register on and access MetaLink -
www.oracle.com/support/
Copyright © 2000 Louise Jacobs – Red Rock Consulting
There are various facets to MetaLink, however the focus of this paper will be on the search function for previous
reported incidents and the logging, updating and reviewing of Technical Assistance Requests (TARS), and the
reviewing of Patches, Bugs and briefly on the Forums available.
The Advanced Search page allows you to refine and further customise your query when searching for information
on the site. You can narrow your search by selecting one or more options. These options include selecting the type
of search, the order in which information is shown, and the source or area of the site you wish to search.
To ensure that your search is effective, take some time to review the actual search methods available. There are
five methods and generally their use will vary on the type of problem/error that you encounter.
EXAMPLE: Using the keywords, "APP-43446 unable to find, taxcode for this transaction" will return all
documents in which "APP-43466 unable to find" appear but "taxcode for this transaction" are optional.
All documents with the words "APP-43446 unable to find" will appear in the hit list but those documents
with "taxcode for this transaction" also appearing in the document will score higher than those without
these optional words.
Doc ID Search
Querying by document ID number allows you to retrieve a specific document from Oracle Support Services'
databases. A document ID number is a unique identification number assigned to every file stored in Oracle's
Support Knowledge Base. Document ID numbers can be obtained from an Oracle analyst or by looking at the
document ID in hitlists from other types of MetaLink searches.
With the correct privileges, you have the ability to create, update and modify the TARS in Metalink. When you
create an internet TAR (iTAR), it is sent to a queue in the Metalink System. All TARS are transferred into the
internal tracking system every 15 minutes and an analyst will then be assigned to work on it.
Below is a screen dump of a Global TAR search by a single Customer Support Identifier (CSI) Or Multiple CSI’s
within the same country.
A patch is a collection of fixed bugs assembled and tested by support analysts and developers within Oracle. If
you find a problem that has been reported before and there is a patch available you can download the patch
directly from the web site. You can also view a list of available patches for a product and platform.
Type in the desired patch that you wish to download, the release, product, platform, language and type. If you
know the file that the problem occurred in, then type this in the Includes File box. Ie Statement Generation
program file arxsgp.lpc. Then it will list all the patches that contain this file. You can choose to order it by Patch
Number or Release Date. Then click submit. It is very important to read the README.txt as there could be pre-
requisite or other important instructions you need to follow.
These are issues that are logged into the bug database and this is the primary tool used by Development to
determine the problem and devise a solution. The Bug Database Search page allows you to specify your search
either by a bug number or by other search criteria such as product version, platform, or status. You can also
determine the order of your query results by sorting how you would like the information displayed.
If you can not retrieve a bug then it may be due to the following reasons;
This will retrieve the history of the bug and provide a resolution.
A forum is an interactive area for discussions and commentaries dedicated to a certain topic. Forums allow you to
post questions and comments and receive responses within 2 business days from a Support Analyst who has
expertise in that product area. If this is not obtainable within 2 days then advice from Oracle will be given. It also
gives you the opportunity to reply to questions posted by other people.
The forums are intended to address problems with a severity level 2,3 or 4. If the problem is a severity 1 then you
must make a call to support. Forums are threaded, so a reply to a particular posting becomes part of the ‘thread’.
Select the relevant Forum Product Groups from the drop-down list.
Click on the type of Thread: All, New, Changed.
All – Threads posted since the date indicated in the posting period.
New- Only those threads posted since your last visit.
Changed- Only those threads with changes – ie new replies
From the time drop down list, select the number of days for which you would like to view messages.
Option to click on ‘Only Threads in which I participate, that is the forum threads which you have posted a
message or replied to a message.
Summary
For Further information about Metalink please review- Metalink Quick Reference Sheet. Document id 115465.1
To aid users and support analysts in problem resolution there are certain requirements needed by Oracle Support.
These are Product, Product version, Platform, Platform Version and Database Version.
A brief description of the issue, including complete error messages if applicable. For example if it is a form error
it will displayed on your screen and generally you can click on the history button to get a more detailed error
message.
If the error occurs for a Report or a Program, the Concurrent Manager will display a status of ERROR and a log
file can be reviewed to show what the error is. Providing the navigation and keystrokes helps in the replication of
your issue. Providing the version of the Form, Report or Program. Please see the section on How to identify the
version of a Program, Form and Report. The current patchset level of the particular product you are logging the
tar for. Also the answers to the question in the Clarifying the problem section of this paper would also greatly
assist the analyst in the problem solving process. Be reasonable when selecting the severity level of your tar, as it
represents the business impact of the problem. If every customer continuously rang and logged every call as a
severity 1 or 2 then there would be no use in having severities. You generally know if there is a work around then
the problem is less serious than that of a program erroring continuously.
The Examine utility can be very useful to view values of ‘hidden’ fields in a form that relate directly to columns
in the Oracle tables in your database. It is often used to find the value of an ‘Id’ column, which is usually the
primary key used to identify records in a table.
Release 11i
Help > Diagnostics > Examine
1) The setting of “Yes” means that you can automatically use the Examine tool when the choice is
on the menu.
2) The setting of “No” mans that you must enter a password to use the Examine tool when it
appears on the menu.
You may have noticed on your Tools menu in Rel 10.7SC, that there is also a debug option available. This will
effectively run your form in debug mode, displaying debug messages as each step executes. Please note that this
option does not work with version 4.5 of Forms, but is fixed in version 6.
It is important to identify the current version of the program that is experiencing the problem, as a bug in the
version of the program you are running may be the cause of your problem.
Form
A Form version is easily obtained via the front-end application. The navigation path is as follows –
This will provide you with several pieces of useful information, including the Database version, the Applications
version, the Form Name and Form Version.
For Reports:
Release 10.7
Cd $<Product_TOP>/srw
Release 11
Cd $<Product_TOP>/reports
Issue the following command to retrieve the version number of the report program or the libraries used by a
concurrent executable –
Unix:
Strings -a <Program name>|grep ‘Header’
Or
NT:
Find /i “Header” <Program name>
FORM ERRORS
If the problem is occurring in a standard Oracle Form, obtain the following information by navigating to ‘Help->
‘About Oracle Applications’ in the Forms menu -
Oracle Forms Version (example 4.5.10.10.2), this will help determine the form patchset level.
Form Name: (example FNDSCSGN), will assist in finding previous form issues.
Individual Form Version (example 11.0.30), this is important if reporting a bug to development is necessary.
You can try to regenerate the Oracle Standard Forms (All platforms) and relink form executables (UNIX Only)
Regenerate the forms that are causing the problems. Forms can be regenerated by either using the adadmin
installation utility, or manually at the command line. If you are on a UNIX platform, you will also need to relink
the form executables.
Refer to the Installations Manuals that are appropriate for your Release and Platform.
Sometimes there is insufficient information in the Concurrent log file to determine the reason why a particular
concurrent process is failing or completing with errors. In this situation, if a TAR is logged with Oracle Support
Services, they will quite often request you to run the process from the command line. This will also rule out if
there is in fact a concurrent manager problem. To do this you need to firstly take note of the exact parameters as
listed in the parameters field when you view your concurrent request. Then, go to the command line in your
operating system and change directory to where the program resides: Cd $<Product_TOP>/sub-directory.
Executable Program
Enter the following command, substituting the parameters from the Concurrent Manager, and the userid and
password:
Eg For the General Ledger Posting program, if the parameters you see in the Concurrent request are 1, 101, 2546,
you would enter the following command
This will execute the process and produce a debug log file in the format Lxxxxx.log. This log file will reside
under the <Product_TOP> directory. The information in this log file can give Oracle Support Services a better
idea of what may be causing the problem.
Reports
Report programs reside in:
To run a report from the command line, issue the following command -
Unix
r25run userid=<userid/password> report= <Report name>.rdf
destype=<file or printer name> desname=<>desformat=<>batch=yes
NT
In NT, use the r25run32.exe executable to run a report:
TRACE TOOLS
SQL*Trace
There are four levels in your Oracle Applications at which SQL*Trace can be enabled –
Database
Form
Report
Profile (applicable to Release 10.7 only)
Database Trace
A Database level trace requires a shutdown and startup of both the Concurrent Managers and the Database. If
there are a number of users on the system or the system is unavailable due to 24 x 7 requirements, a database level
trace may not always be feasible.
SQL_TRACE=TRUE
USER_DUMP_DEST (destination directory for trace output)
TIMED_STATISTICS=TRUE
Steps 1-3 and 6-8 above should always be performed by your Database Administrator.
The value of the initialisation parameter SQL_TRACE dictates whether the SQL trace facility is enabled or
disabled when you begin a session in ORACLE. Its presence in the init.ora file sets the initial value for this trace.
This will apply to all sessions on an ORACLE instance. You can additionally enable or disable the SQL trace
facility just for a specific session with the SQL_TRACE option of the ALTER SESSION command. This allows
you to obtain smaller and more readable trace files and is particularly useful for developers. The SQL statement
to achieve this is
ALTER SESSION
SET SQL_TRACE = TRUE
Form Trace
A Form level trace requires the Trace option to be available as a menu item. The trace process is as follows –
- Navigate to the Form for which you wish to set the Trace.
- Turn the Trace feature on when you are at the point in the form that you want to turn trace on
GUI versions
Help > Tools > Trace
Rel 11i
Help > Diagnostics > Trace
GUI versions
Help > Tools > Trace
Rel 11i
Help > Diagnostics > Trace
- Locate the trace file(s) with the time stamp when you ran your trace. The trace file will be in the
USER_DUMP_DEST directory.
Note: if a trace file is being generated to track performance, the parameter TIMED_STATISTICS in the init.ora
file must be set to TRUE.
Report Trace
Copyright © 2000 Louise Jacobs – Red Rock Consulting
A Report level trace would generally require a developer or technical resource, and involves the following steps –
1) Logon as applmgr and change directory to where your .rdf file resides.
2) Create a backup copy of your current .rdf and .rex files in the appropriate srw directory. Create the .rex text
of the report if necessary.
3) If the .rex does not exist, you can easily regenerate the report executable by doing the following:
UNIX
R25convm userid=<userid>/<password> source=<Report name>
stype=rdffile dtype=rexfile dest=<Report name>
overwrite=yes batch=yes
NT
R25conv32 syntax:
Include an additional line after the statement FND SRWEXIT in the After Report Trigger –
UNIX
R25convm userid=<userid>/<password> source=<Report name>
stype=rexfile dtype=rdffile dest=<Report name>
overwrite=yes batch=yes
NT
R25conv32 syntax:
There is another method that can be used to trace an individual report within Oracle Applications for Release
10.7:
In Character Mode:
1) Log on as System Administrator.
2) \Navigate Concurrent Program Define.
3) Enter Query mode.
4) Enter your report-name in the short name field.
5) Execute Query.
Copyright © 2000 Louise Jacobs – Red Rock Consulting
6) Navigate to the next block.
7) Cursor is now in the concurrent program details.
8) Select Parameters.
9) Arrow down through the parameters, looking for the name = 'trace'.
If not found, then create a new parameter:
Add sequence number, such as 999
Name = Trace
Description = Report Trace
Enabled = YES
Value Set = Yes_No
Required = No
Enable Security = No
Default Type = Profile
Default Value= NO
10) Save the record
11) Run the report, making sure that profile option trace = YES.
In GUI Mode:
1) Log on as System Administrator.
2) Navigate to Concurrent>Program>Define.
3) Enter Query mode.
4) Enter your report_name in the short name field
5) Execute Query.
6) Click on the [Parameters] button.
7) Search through parameters, looking for parameter name = ‘trace’.
If not found, then create a new parameter:
Enter Seq = 999
Parameter = trace
Description = report trace
Click on Enabled
Value Set = Y or N
Default Type = profile
Default Value= No
Required = no
Enable Security = no
8) Save the record
9) Run the report, making sure that profile option trace = Y.
Utilities:SQL Trace
SQL trace files can also be generated for concurrent programs through the use of this profile option. The trace
can be enabled at all levels, i.e. Site, Application, Responsibility and User, by setting the profile “Utilities:SQL
Trace” to “Yes”. This option is controlled by your System Administrator - users can see the profile option but
cannot update it.
In Release 11, the equivalent trace utility for concurrent programs is set within each individual Concurrent
Program definition. It is only the System Administrator or Application Developer responsibility that has access to
define concurrent programs.
If you do not know the destination directory for the creation of your trace files, this value can be found easily
through the following SQL query using SQL*Plus –
SELECT value
FROM v$parameter
WHERE name = 'user_dump_dest';
There are several profile options across the Oracle Applications that can assist with problem resolution. These
profile options serve to provide more information in the Concurrent log file in the form of debug tracing messages
–
None No messages.
Minimal Catalog III messages.
Normal Catalog II and III
messages.
Full Catalog I, II and III messages.
Must be set by System GL:Debug Directory Specifies the directory where the
Administrator. Workflow debug files are created.
(Release 11-11i) The database must have write
permissions to the specified
directory. Available values are
(Release 11 – 11i)
Signal errors are how Unix processes communicate with each other and the operating system. This is not a
problem with the operating system, but is part of the operating system’s mechanism of protecting itself. When
programs terminate abnormally, this is communicated to other processes and the kernel by means of a Signal
code. The actual code associated with the signal indicates the nature of the termination. The meaning of the
signal message is contained in a file called signal.h, which is located usually in the /usr/include/sys sub-directory.
SIGNAL 4
A Signal 4 error usually indicates an illegal/unknown instruction was encountered. This is typically caused by
bugs in the code. Explore Metalink for the error to find out if your particular problem is related to a known bug
for which there may be a patch. Some encounters with a Signal 4 error, for which there are patches available,
include –
SIGNAL 10
A Signal 10 usually suggests a memory or addressing error, but it can also be caused by a bug in the code, or if
an .rdf file has been incorrectly ftp’d from the client in ASCII mode. There are several patches available on
Metalink for Signal 10 errors caused by bugs in the various Oracle products. If it is a memory-related problem,
sometimes shutting down the Concurrent Managers and the database, and booting the machine will eliminate any
run away processes and reclaim resources.
The problem with Signal errors is that whilst we know the meaning of the Signal code that was encountered, how
do we pinpoint which of the possible causes actually caused this violation ?
When a Signal error is encountered by the system, a core dump is usually produced. This core dump is created at
the instant the process was ‘aborted’, and is produced in the form of a file called ‘core’. The information
contained in the core dump file is most valuable in helping to resolve a Signal error. It is important to trap the file
as soon as it is created, as these types of files are overwritten the next time a core dump occurs. It is always a
good idea to rename the core dump file produced and move it to a different directory.
The core dump file is usually contained in the directory where the command was issued, or in
$ORACLE_HOME/dbs.
If a core dump is not generated, this is usually due to the dump destination directory being full, or the process not
having write access to the dump directory.
An example of using the debug feature is outlined below, for the Oracle Assets Periodic Mass Copy process
(executable FAMCP) –
1) Log in as APPLMGR to the operating system and environment affected.
2) Change directory to the directory in which the executable resides e.g. $FA_TOP/bin
3) Make a backup copy of the current executable.
4) Issue the following command -
This will produce a log file called adrelink.log, which can be located in $APPL_TOP/install/log. This log file
will be appended to every time a relink command is initiated.
5) Re-run the process that produced the Signal error, e.g. Periodic Mass Copy.
6) Turn debug off by typing in the following command –
The problem with a core dump file is that it is not easily decipherable. You will need to enlist the help of your
DBA or a technical resource with expertise in this area, as you will need to determine which debugger exists on
your system, and use it to produce a stack trace from the core dump. The Unix command “script” should be used
to capture the output of the debugger. This can then be sent to Oracle Support Services to help them determine
why the core dump occurred.
Action
1. Review Concurrent Request log for any useful information on the error encountered
2. Locate core dump file – rename and move to a separate directory
3. Identify full version numbers of the product, RDBMS and the program that encountered the error
4. Answer the basic questions –
Has the process worked before ? If so, when, and has anything changed since then, such as application of patches,
upgrades or configuration ?
What is the current Patch Set level for the product?
Is the error reproducible in the same environment ?
Is the error reproducible in another environment ?
Is the problem related to a specific User or Responsibility?
If using Release 10.7SC, is the error reproducible in Character mode ?
Is it standard or customised functionality ? If it’s a custom report, and is based on a standard report, run the
standard report to see if it too errors
5. Check Metalink for known bugs relating to this Signal code and any patches available
6. Check storage space in tablespaces, rollback segments, etc
7. Bounce the Concurrent Manager
8. Run the process from the operating system command line
9. If Signal error occurred when running a report :
1) Check disk space in $APPLCSF/out directory
2) Check report was ftp’d in BINARY mode
3) Check SRW.USER_EXIT (FND SRWINIT) in Before Report Trigger
4) Check SRW.USER_EXIT (FND SRWEXIT) in After Report Trigger
5) Check for P_CONC_REQUEST_ID parameter in user parameters
10. Rerun the process in debug mode
1) Application debug mode e.g. FA:Print Debug (profile option)
2) ADRELINK utility
11. Check for data corruption:
1) Check parameters entered when submitting the Concurrent Request. If it is a report process, try
narrowing down the parameters e.g. smaller date range
2) If submitted by batch feed, check input file for errors in field mapping or the presence of invalid
characters
3) Process of elimination. Identify the records being processed. Run the SQL statements being
executed by the program, and check the status of each record for data corruption.
Asset Trace
This SQL script is designed to provide detailed information on a single asset. It is extremely useful for
troubleshooting problems with your assets. Whenever you log a TAR with Oracle Support Services for problems
with particular assets, you will ALWAYS be asked to run this script for the offending asset(s). The script captures
the data contained in all the Oracle Assets tables for an individual asset, and outputs the details to a spool file.
You should find this file in the admin/sql directory under $FA_TOP. To run the script, log into SQL*Plus as the
APPS user and type -
@trace.sql or start trace.sql
If you cannot find the script on your system, you can locate it on Metalink, or alternatively contact Oracle Support
Services and get them to e-mail the script to you. The script is called trace10.sql (Rel 10) or trace11.sql (Rel 11),
and produces an output file called t107.lis and t11.lis respectively. There is also a tracehtml.sql that produces the
output in html format (fa_trc.html), which can be viewed using IE Explorer 4.0+ or Netscape 4.0+. This version
of the trace script works with both Release 10 and Release 11 of Oracle Assets.
To effectively analyse the asset data in the trace output, you really need to have a good understanding of the
Oracle Asset tables in order to determine if there is data corruption. Alternatively, log a TAR with Oracle Support
Services and send the trace results to them for further investigation.
When depreciation encounters an error in Rel 10.7 and 11, the program will fail at that point and rollback any
depreciation that was committed. In this situation, change the value of this option to ‘Yes’ under the ‘Fixed
Assets Manager’ responsibility, and the value of the FA: Print Debug profile option to ‘Yes’, and rerun
depreciation - the process will fail again, but you will find that the log file now produces detailed information on
the actual asset causing the failure. Once your resolve this, you will be able to resubmit the depreciation process.
If there are no other errors, the process will complete successfully.
In Release 11i, the run depreciation and close periods have been broken out to separate processes. If depreciation
fails, and you set the FA:Deprn Single value to ‘Yes’, it will process all the assets in your Depreciation Book and
capture ALL errored assets in the log file. This way you can fix all of your errors in one pass, resubmit
depreciation, and this time only the corrected assets will process.
Please note you should only ever change the value of this profile option to ‘Yes’ when depreciation fails.
When you run the script, it will prompt you for a number of parameters. All the information that feeds this script
is contained in the log file from the failed run.
Release 11 of Oracle Assets is delivered with this SQL*Plus test script called faxagtst.sql. You should find this in
the $FA_TOP/admin/sql directory. The latest script comes with 11.03 Minipack. Contact Oracle Support
Services for the latest version.
1) Check the profile option Account Generator: Run in Debug mode. This should be set to Yes. (No
or Null value means that the account generator process is being run in 'Synch' mode, in which case no
information is logged in the workflow tables, and hence wfstatus.sql would not retrieve any information)
2) After setting the profile option to ‘Yes’, simulate the error, by navigating to the Distribution
zone of Enter Purchase Order or Enter Requisition, and trying to build the account again.
3) After you receive the error, go to Menu Help -> Tools -> Examine, and look for the value for
field CHARGE_ACC_WF_ITEMKEY (Click on the arrow next to the Field Zone and then Query up the
CHARGE_ACC_WF_ITEMKEY). Note down the itemkey value required to run wfstatus.sql. (NOTE: If
the value for the field is _SYNCH#_, the profile option Account Generator: Run in Debug mode has not
been set to ‘Yes’).
4) After getting the itemkey value, discard changes in the distribution zone, navigate to
lines/header zone and commit (Save). This is important for the wfstatus.sql to retrieve any data.
1) Go through the steps that you would perform to encounter the error/problem but stop just before you would
get the actual error. i.e. Don't hit the key that will invoke the error.
2) From the Help menu at the top of the form, select: Help, Tools, Examine. Enter the password if prompted.
This will give you a box with 3 fields. Enter the Following:
In Block: Parameter
In Field: AR_DEBUG_FLAG
In Value: FS <output_path> <filename> Where F = File S = Screen.
<output path> relates to the UTL_FILE_DIR directory where the database writes files. There are a few ways
to determine what the UTL_FILE_DIR setting is –
4) The UTL_FILE_DIR setting should be held in the init<sid>.ora file under the $ORACLE_HOME/dbs
directory. There is no default setting for this parameter if it is not set. If the setting needs to be added to the
init<sid>.ora file, then please note that your DBA will need to bring down the database instance and bring it
back up for the changes to be effective.
<filename> is whatever you wish to call the output created. i.e. Customers.log
5) Hit the key that will invoke the error/problem. A log file should then be created in the output directory with
the filename you have specified.
SPOOL UPD_PAY_DIST
Update ap_payment_distributions_all
set amount = base_amount
where invoice_payment_id = 13548
and payment_line_number = 33;
SPOOL OFF
Last, but not least, always run the data fix script in a Test environment before running it against Production. It is
always good practice to perform regular refreshes of your Test environment to keep your Test environment up to
date with your Production environment.
CONCLUSION
As you can see, there are a multitude of tools and techniques available to assist us in troubleshooting Oracle
Applications problems. Depending on the type of issue, we can use a variety of methods for analysis. Being
aware of the tools available enables us to more effectively support our Oracle Applications and become more
productive in our investigation. Even if we cannot resolve the issue ourselves, by being able to perform a more
detailed investigation, we can provide crucial information to Oracle Support Services to assist them in
determining the cause of the error. This will greatly reduce the turnaround time for problem resolution.
Supporting your Oracle Applications can be a bit daunting and overwhelming at times. However, in my
experience, approximately 80% of the problems encountered within Oracle Applications can be resolved without
having to rely totally on external support. You just need to become familiar with the tools and techniques
available to assist you, and try and make full use of them, wherever possible. And don’t forget about Metalink!!
Invest the time to explore this site, and not just when you encounter issues in your Oracle Applications - there’s a
wealth of knowledge in Metalink’s repositories. When you do encounter a problem, more often than not, you will
be able to find the solution here!!
Don’t forget there are also numerous support networks available for users of Oracle Applications such as
• Oracle AppsNet which is an online, Applications community for customers and partners
• Oracle Technet which is a great source for Oracle technical information
• OAUGnet which is a Oracle Application User Group that provides an opportunity for Oracle users to share
knowledge and experience