Tuesday, September 23, 2014

How to Start and Stop Financial Management (HFM) Server Windows Processes

What are the main Windows processes of an HFM application server?

The main Windows processes of a HFM application server are HsxService.exe, HsxServer.exe, CASSecurity.exe and HsvDatasource.exe.

What happens when I start the HFM Windows Service?

Oracle's Hyperion Financial Management can be started by starting the Windows Service "Hyperion Financial Management - Management Service". When this service is started, a process called HsxService.exe will become visible in the Windows Task Manager, and will remain running until the Windows Service is stopped. The HsxServer.exe, CASSecurity.exe and HsvDataSource.exe processes are also started.

What happens when I stop the HFM Windows Service?

When the Hyperion Financial Management Windows service is stopped, the HsxService.exe process will be stopped along with the HsvDataSource.exe, CASSecurity.exe and HsxServer.exe processes.

Why should I use the HFM Windows Service?

Oracle typically recommends that customers use the Windows Service approach only when their individual applications within their HFM database are known to take several minutes to start up. By starting the Windows Service, the application server will pre-launch each application, which will then be "active" and already started when the first user attempts to connect to the application. In this way, the user will not experience any "delay" while logging in, due to application startup time.

Applications may take longer to start up when their metadata dimensions are very large, when an application server or database is under heavy load, or when the rules file of the application contains a slow performing "NoInput" rules section. This section may take longer to execute if it contains many loop statements through many different metadata Point of View (POV) members. Care should be taken when designing metadata and NoInput rules routines to reduce the start up time of an individual application.

When should I not use the HFM Windows Service?

A potential disadvantage of using the Windows Service approach is that all applications are started, regardless of the true requirement and usage of the end users. If there are many applications that exist in the HFM database, unnecessary memory and CPU cycles may be used launching applications which are not needed by the end users. For this reason, Oracle recommends that customers not keep unused HFM applications in production environment HFM databases, or to not use the HFM Windows Service approach if there are known unused HFM applications in the database.

Allowing HFM to start and stop as needed.

If the HFM Windows Service is not being used as above, Financial Management will start itself when end users attempt to log on to an HFM application. When any end user connects to HFM for the first time on a particular application server, the process HsxServer.exe will be started. This process builds connections to the HFM database repository, authenticates the user connecting, and returns a list of available HFM applications within the database. There will only be one HsxServer.exe process on each application server. If the end user who connected to the HFM application server then proceeds to select an HFM application name to open, the HsxServer.exe process will then launch the HsvDataSource.exe Windows process to start that application. The HsxServer.exe process will remain running until there are no users logged on to that application server and all HsvDataSource.exe processes have also stopped.

Why do I see multiple HsvDataSource.exe processes on an HFM application server?

Hyperion Financial Management opens one HsvDataSource.exe (HSVDAT~1.EXE) process on the HFM server per active application. Connections are application specific. If multiple applications are opened, multiple HsvDataSource.exe processes will be launched.

When an application is opened, a database connection pool is created between the application process and the relational database (SQL Server / Oracle / DB2 etc). However, connections are not released on an application basis - they are released on an application server basis. All connections are not released until the application server has no Financial Management users accessing any application.

When does the HsvDataSource.exe process stop itself?

When an application server determines that all users of a particular application on that application server have correctly logged off or timed out (e.g. web time out), then it sends a signal to the HsvDataSource.exe process running that application to stop itself.

When all HsvDataSource.exe processes on a particular application server have stopped themselves, then the HsxServer.exe and CASSecurity.exe processes will also be stopped. After a short delay, under normal circumstances, all HFM processes will stop themselves. Only when all HFM processes on all HFM application servers have been stopped is it safe to make changes to the relational database for example, copying applications, taking or restoring backups of the database or powering down the database. Changes to the database should NOT be made while any HsvDataSource.exe process is seen running in the Windows Task Manager.

Why might the HsvDataSource.exe not stop by itself?

If end users log off incorrectly, their sessions may not have stopped. Hyperion Reports, Financial Reporting, Web Analysis, Financial Data Quality Management, Shared Services task flows or other modules may be holding open connections to Financial Management applications. All other Hyperion processes and services which may be connecting to Financial Management should be stopped first. Financial Management administrators may like to use the "Users on System" module of Financial Management to stop end user connections. When Financial Management decides that all connections have stopped, it should proceed to shut itself down automatically.

What is the CASSecurity.exe process?

Another Windows process is CASSecurity.exe. This is a process that manages the interface between Financial Management and Hyperion Shared Services modules. It handles some of the authorization and authentication processes of HFM, as well as security related features while the application is running.  Important Note:  Any change in the Shared Services external provider configuration REQUIRES the CASSecurity.exe process to be recycled in order gain access to the provider changes.  Follow the "In what order should the HFM processes be stopped" section.

In what order should the HFM processes be stopped?

If Financial Management appears to have frozen / crashed it may be necessary to stop the processes. Processes should be stopped in the following order:

  1. The Hyperion Financial Management Windows Service (HsxService.exe) should be stopped via the Windows Services if it seen to be running.
  2. The HsvDataSource.exe for each application should be shut down. Ideally it should be observed that the HsvDataSource.exe is using 00% CPU in the Windows Task Manager before it is stopped using "End Process". Care should be taken when stopping running processes.
  3. Any CASSecurity.exe process which is still running in the Windows Task Manager should be stopped using "End Process"
  4. If any HsxServer.exe process is still running, it should be stopped using "End Process"

    CAUTION: In a multi-server environment where multiple application servers are connecting to the same relational database, the process of stopping HFM should be repeated on ALL HFM application servers before attempting to restart any HFM processes or "bring up" the applications once again. It is not recommended to stop and start any one server independently but instead to stop the whole environment and then bring it back up.

Thursday, September 18, 2014

Hyperion Installation Pre Requisites

Install Operating system windows 2008 32bit  with

1)    MS office 2007


2)    IIS and IIS7


3)    .Net Framework 3.5


4)    Disable the firewall and UAC


5)    install Application server in server manger roles


6)    Provide all privileges for DCOM user(hfmuser) on the server (IP).

++  Act as a part of the operating system

++  Allow Log on Locally

++  Log on as services

++  Log on as a batch job.

++  everyone

++
 Anonymous logon
++  network service




Wednesday, May 7, 2014

How To Find Oracle Application File Versions.

How To Find Oracle Application File Versions.

In this post, sharing the way of finding the correct version of Oracle Applicatins file version of different component. This should be helpful while patching the applications.

Use the following information for the appropriate file type.

FORM 

adident
cd $AR_TOP/forms/US
Ex. adident Header ARXTWLIN.fmx

strings -a  form.frm |  grep  Revision
Ex.
cd $AU_TOP/forms/US
strings -a POXPOVCT.fmb | grep Revision

Use \Help Version
Or Help, About Oracle Applications

REPORT
cd $AR_TOP/reports
adident
adident Header report.rdf
Ex. adident Header ARBARL.rdf

strings -a  report.rdf  |  grep  Header
Ex.
strings -a ARBARL.rdf  |  grep Header

SQL 
more  sqlscript.sql  Ex.  more ARTACELO.sql

The version will be in a line that starts with 'REM  $Header', and should be one of the first lines in the .sql file.
grep '$Head' sqlscript.sql
Ex.
grep '$Head' ARTACELO.sql

BIN or EXECUTABLE 
An executable in the bin directory will contain numerous C code modules, each with its own version. All of the following examples use ident or strings,
but the difference is what you grep for.

1.  Get ALL file versions contained in the executable.
adident Header executable (Ex. adident Header RACUST)
strings -a  executable  |  grep  Header  (Ex. strings -a RACUST | grep Header)

2.  Get ALL of the product specific file versions.
adident  Header executable (Ex.  adident Header RACUST)
strings -a  executable  |  grep  Header
(Ex.  strings -a  RACUST  |  grep  Header)

3.  Get only the version of a specified module.
strings -a  executable  |  grep  module  (Ex. strings -a RAXTRX | grep raaurt)

4.   A Collection of class file versions

from the directory where the classfile exists in a command prompt run the following:
strings -a Classname.class | grep Header

Get ALL of the product specific file versions.
  
strings -a  executable  |  grep  'Header: product_short_name'
cd $FND_TOP/bin
strings -a WFLOAD | grep 'Header: afspc'
        
Get only the version of a specified module.
  
strings -a  executable  |  grep  module

ORACLE REPORTS 
From the form, select Help, About Oracle Reports.

RDBMS 
1. Use \Help Version
2. Or Help, About Oracle Applications
3. Get into SQL*Plus using any userid/password. You will get a string that tells you the PL/SQL version and data

Thursday, April 24, 2014

Purging Strategy for eBusiness Suite 11i

Purging Strategy for eBusiness Suite 11i


In this Document
Abstract
History
Details
  Concurrent Jobs to purge data
  Additional Notes
Summary
References
APPLIES TO:

Oracle Application Object Library - Version 11.5.10.0 to 12.1.3 [Release 11.5 to 12.1]
Information in this document applies to any platform.
Checked for relevance on 30-NOV-2013
ABSTRACT

There is no single Archive/Purge routine that is called by all modules within eBusiness Suite, instead each module has module specific archive/purge procedures.
   
This note lists the Purging routines available for the "System Administrator" (FND module)   Not all of these purging processes will be appropriate for all customers, so review the documentation to confirm which are necessary for your own environment and how often they should be run.

Update : November 2008  - since this note was written, a much more comprehensive article has been published in Note 752322.1 "Reducing Your Oracle E-Business Suite Data Footprint using Archiving, Purging, and Information Lifecycle Management"

HISTORY

Author :  Mike Shaw
Create Date 18-Aug-2008

DETAILS

Concurrent Jobs to purge data

Purge Obsolete Workflow Runtime Data (FNDWFPR)
 Oracle Applications System Administrators Guide - Maintenance Release 11i (Part No. B13924-04)
 Note 132254.1  Speeding up and Purging Workflow
 Note 277124.1  FAQ on Purging Oracle Workflow Data
 Note 337923.1  A closer examination of the Concurrent Program Purge Obsolete Workflow Runtime Data

Purge Debug Log and System Alerts (FNDLGPRG)
  Note 332103.1  Purge Debug Log And System Alerts Performance Issues

Purge Signon Audit data (FNDSCPRG)
  Note 1016344.102   What Tables Does the Purge Signon Audit Data Concurrent Program Affect?
  Note 388088.1   How To Clear The Unsuccessful Logins

Purge Concurrent Request and/or Manager Data (FNDCPPUR)
Oracle Applications System Administrator Guide - Maintenance Release 11i (Part No. B13924-04)
   Note 565942.1   Which Table Column And Timing Period Does The FNDCPPUR Purge Program Use
   Note 104282.1  Concurrent Processing Tables and Purge Concurrent Request and/or Manager Data Program (FNDCPPUR)
 Note 92333.1   How to Optimize the Process of Running Purge Concurrent Request and/or Manager Data (FNDCPPUR)

Delete Diagnostic Logs (DELDIAGLOG)
 Note 466593.1   How To Delete Diagnostic Logs and Statistics?

Delete Diagnostic Statistics (DELDIAGSTAT)
 Note 466593.1   How To Delete Diagnostic Logs and Statistics?

Purge FND_STATS History Records (FNDPGHST)
  Oracle Applications System Administrators Guide - Configuration Release 11i (Part No. B13925-06)
   Note 423177.1  Date Parameters For "Purge Fnd_stats History Records" Do Not Auto-Increment

Page Access Tracking Purge Data (PATPURGE)
  Note 413795.1   Page Access Tracking Data Purge Concurrent Request Fails With Ora-942
  Note 461897.1   Which Tables store the Page Access Tracking Data?
  Note 402116.1   Page Access Tracking in Oracle Applications Release 12

Purge Obsolete Generic File Manager Data (FNDGFMPR)
 Oracle Applications System Administrators Guide - Configuration Release 11i (Part No. B13925-06)
  Note 298698.1   Avoiding abnormal growth of FND_LOBS table in Application
  Note 555463.1   How to Purge Generic or Purchasing Attachments from the FND_LOBS Table

Summarize and Purge Concurrent Request Statistics (FNDCPCRS)
(no references found)

Purge Inactive Sessions (ICXDLTMP)
  Note 397118.1  Where Is 'Delete Data From Temporary Table'  Concurrent Program - ICXDLTMP.SQL

Purge Obsolete ECX Data (FNDECXPR)
  Note 553711.1   Purge Obsolete Ecx Data Error ORA-06533: Subscript Beyond Count
  Note 338523.1   Cannot Find ''Purge Obsolete Ecx Data'' Concurrent Request
  Note 444524.1   About Oracle Applications Technology ATG_PF.H Rollup 6

    The tables being purged by "Purge Obsolete ECX Data (FNDECXPR)" are:

ecx_error_msgs
ecx_msg_logs
ecx_outbound_logs
ecx_external_retry
ecx_inbound_logs
ecx_outbound_logs
ecx_external_logs
ecx_oxta_logmsg
ecx_doclogs
Purge Rule Executions (FNDDWPURG)
      The table being purged by "Purge Rule Executions (FNDDWPURG) is:

fnd_debug_rule_executions
Additional Notes

You can monitor and run purging programs through OAM by navigating to the Site Map--> Maintenence --> Purge section.

SUMMARY

Purging of un-needed data is an activity that needs to be performed on all systems to ensure best performance and minimize disk space requirements.   This note outlines some of the processes that may be required from the FND perspective

REFERENCES

NOTE:104282.1 - Concurrent Processing - Purge Concurrent Request and/or Manager Data Program (FNDCPPUR)
NOTE:132254.1 - Speeding Up And Purging Workflow
NOTE:277124.1 - FAQ on Purging Oracle Workflow Data
NOTE:298698.1 - Avoiding abnormal growth of FND_LOBS table in Applications 11i
NOTE:332103.1 - Purge Debug Log And System Alerts Performance Issues
NOTE:337923.1 - A Closer Examination Of The Concurrent Program Purge Obsolete Workflow Runtime Data
NOTE:338523.1 - Cannot Find The Purge Obsolete ECX Data Concurrent Request
NOTE:387459.1 - ATG Supplied Data Purge Requests
NOTE:402116.1 - Page Access Tracking in Oracle Applications Release 12
NOTE:388088.1 - How to Purge Data from the FND_UNSUCCESSFUL_LOGINS Table?
NOTE:397118.1 - Where Is 'Delete Data From Temporary Table' Concurrent Program - ICXDLTMP.SQL
NOTE:413795.1 - Page Access Tracking Data Purge Concurrent Request Fails With Ora-942
NOTE:423177.1 - Date Parameters For "Purge Fnd_stats History Records" Do Not Auto-Increment
NOTE:444524.1 - About Oracle Applications Technology ATG_PF.H Rollup 6
NOTE:461897.1 - Which Tables Store the Page Access Tracking Data?
NOTE:466593.1 - How To Delete Diagnostic Logs and Statistics?
NOTE:553711.1 - Purge Obsolete Ecx Data Error ORA-06533: Subscript Beyond Count
NOTE:555463.1 - How to Purge Generic or Purchasing Attachments from the FND_LOBS Table
NOTE:565942.1 - Which Table Column And Timing Period Does The FNDCPPUR Purge Program Use
NOTE:1016344.102 - Concurrent Processing - List of Tables Accessed by the Purge Signon Audit Data Concurrent Program
NOTE:752322.1 - Reducing Your Oracle E-Business Suite Data Footprint using Archiving, Purging, and Information Lifecycle Management
NOTE:92333.1 - Concurrent Processing - How to Optimize the Process of Running Purge Concurrent Request and/or Manager Data (FNDCPPUR)

Wednesday, April 16, 2014

Coldbackup EBS Script

#Runs preclone process in DB Tier
su - oracle /u01/d01/tech_st/11.1.0/appsutil/scripts/JPROD_training/adpreclone.pl dbTier apps/apps
#Runs preclone process in Apps Tier
su - applmgr /u01/d02/inst/apps/JPROD_training/admin/scripts/adpreclone.pl appsTier apps/apps
#Shutdown process for Apps then DB
su - applmgr /u01/d02/inst/apps/JPROD_training/admin/scripts/adstpall.sh apps/apps
su - oracle /u01/d01/tech_st/11.1.0/appsutil/scripts/JPROD_training/addbctl.sh stop immediate
su - oracle /u01/d01/tech_st/11.1.0/appsutil/scripts/JPROD_training/addlnctl.sh stop JPROD
#Creates a new folder with current date
NOWDATE=`date +%d-%m-%y-%H_JPRODBKP`
export NOWDATE
mkdir /root/Desktop/$NOWDATE
#zip all the Tiers of Database and Apps
#Backup inst (in Apps Tier)
NOWDATE=`date +%d-%m-%y-%H_Apps_inst`
export NOWDATE
tar cvf - /u01/d02/inst | gzip -c > /root/Desktop/`date +%d-%m-%y-%H_JPRODBKP`/$NOWDATE.tgz
#zip all the Tiers of Database and Apps
#Backup inst (in Apps Tier)
NOWDATE=`date +%d-%m-%y-%H_Apps_inst`
export NOWDATE
tar cvf - /u01/d02/inst | gzip -c > /root/Desktop/`date +%d-%m-%y-%H_JPRODBKP`/$NOWDATE.tgz
#
#Backup apps  (in Apps Tier)
NOWDATE=`date +%d-%m-%y-%H_Apps_apps`
export NOWDATE
tar cvf - /u01/d02/apps | gzip -c > /root/Desktop/`date +%d-%m-%y-%H_JPRODBKP`/$NOWDATE.tgz
#
#Backup apps_st (in DB Tier)
NOWDATE=`date +%d-%m-%y-%H_DB_apps_st`
export NOWDATE
tar cvf - /u01/d01/apps_st | gzip -c > /root/Desktop/`date +%d-%m-%y-%H_JPRODBKP`/$NOWDATE.tgz
#
#Backup Archive (in DB Tier)
NOWDATE=`date +%d-%m-%y-%H_DB_Archive`
export NOWDATE
tar cvf - /u01/d01/Archive | gzip -c > /root/Desktop/`date +%d-%m-%y-%H_JPRODBKP`/$NOWDATE.tgz
#
#Backup tech_st (in DB Tier)
NOWDATE=`date +%d-%m-%y-%H_DB_tech_st`
export NOWDATE
tar cvf - /u01/d01/tech_st | gzip -c > /root/Desktop/`date +%d-%m-%y-%H_JPRODBKP`/$NOWDATE.tgz
#After complition of zipping process it will start the DB and Apps automatically
su - oracle /u01/d01/tech_st/11.1.0/appsutil/scripts/JPROD_training/addbctl.sh start
su - oracle /u01/d01/tech_st/11.1.0/appsutil/scripts/JPROD_training/addlnctl.sh start JPROD
su - applmgr /u01/d02/inst/apps/JPROD_training/admin/scripts/adstrtal.sh apps/apps
#

Wednesday, March 5, 2014

Query to find the ATG Patch Set Level

For 11i
=====
SET head off Lines 120 pages 100
col p_num format A65
col bug_number format A10
col patch_name format A10
select bug_number, decode(bug_number,
'3438354', '11i.ATG_PF.H'
,'4017300' ,'11i.ATG_PF.H.RUP1'
,'4125550' ,'11i.ATG_PF.H.RUP2'
,'4334965' ,'11i.ATG_PF.H RUP3'
,'4676589' ,'11i.ATG_PF.H RUP4'
,'5382500' ,'11i.ATG_PF.H RUP5 HELP'
,'5473858' ,'11i.ATG_PF.H.5'
,'5674941' ,'11i.ATG_PF.H RUP5 SSO Integrat'
,'5903765' ,'11i.ATG_PF.H RUP6'
,'6117031' ,'11i.ATG_PF.H RUP6 SSO 10g Integration'
,'6330890' ,'11i.ATG_PF.H RUP6 HELP'
) p_num, last_update_date
FROM ad_bugs
WHERE bug_number
IN ( '3438354', '4017300', '4125550', '4334965', '4676589', '5382500', '5473858', '5674941', '5903765', '6117031', '6330890' );


For R12
======

SET head off Lines 120 pages 100
col p_num format A65
col bug_number format A10
col patch_name format A10

select bug_number, decode(bug_number,
'5917344', 'R12.ATG_PF.A.DELTA.2',
'6077669', 'R12.ATG_PF.A.DELTA.3',
'6272680', 'R12.ATG_PF.A.DELTA.4 '
) p_num, last_update_date
FROM ad_bugs
WHERE bug_number
IN ('5917344', '6077669', '6272680');

Wednesday, February 26, 2014

General Ledger FAQ for R12 Upgrade Scripts and Known Upgrade Issues

1. Where are the R12 upgrade scripts located ?

R12 upgrade SQL scripts can be found in $GL_TOP/patch/115/sql directory.

2. Which are the most important upgrade scripts and what changes do they make?

glrrncol.sqlScript has DDL statements to rename the column set_of_books_id to ledger_id in GL tables which are having column set_of_books_id.
glraslg1.sqlUpgrades all sets of books to ledgers.
glraslg2.sqlUpdates the ledger category code to SECONDARY for Secondary Ledgers.
Generates configuration ID for Primary Ledgers.
Updates SLA accounting method code and type for Cash Ledgers.
Updates SLA columns for ALC Ledgers.
glrasgls.sqlCreates GL_LEDGERS_S sequence to start with a value larger than the maximum set of books ID.
glrbaup2.sqlScript populates chart_of_accounts_id, period_set_name columns in GL_JE_BATCHES table for all those upgraded journal batches.
In R11chart_of_accounts_id,period_set_name columns are not present in GL_JE_BATCHES table. These columns are added in R12.
glrautop.sqlUpgrades autopost criteria. Populates chart_of_accounts_id, period_set_name & accounted_period_type columns in GL_AUTOMATIC_POSTING_SETS.
glrconso.sqlUpgrades Consolidation Mapping definitions.Creates the Chart of Accounts mapping in the GL_COA_MAPPINGS table.
glrreval.sqlUpgrades Revaluation definitions. Populates chart_of_accounts_id column in GL_REVALUATIONS table.
glrrjeup.sqlUpgrades recurring journal tables.Populates chart_of_accounts_id column in GL_RECURRING_BATCHES table.
glrstinc.sql Upgrades data for summary templates. Populates data in GL_SUMMARY_HIERARCHIES table.
glrflias.sqlUpgrade script for populating the GL_ACCESS_SETS, GL_ACCESS_SET_NORM_ASSIGN, and GL_ACCESS_SET_ASSIGNMENTS tables.
Also populates the GL: Data Access Set profile option values for all applications/users/responsibilities for which GL:Set Of Books profile option is set.
glrmadef.sqlUpgrades MassAllocation definitions. Mainly populates LEDGER_ID, LEDGER_CURRENCY columns in GL_ALLOC_FORMULA_LINES table
glrstbco.sqlUpgrades Summary Template Budgetary Control Options. Populates the new GL_SUMMARY_BC_OPTIONS table
glrpdrat.sqlUpgrades GL_TRANSLATION_RATES table.
Populates daily_translation_rate_type info in GL_LEDGERS table.
Inserts converstion types data into GL_DAILY_CONVERSION_TYPES table.
Populates period rates related info in GL_DAILY_RATES table.
glrsyssu.sqlPopulates values for following new profile options 'GL_RECORDS_TO_PROCESS', 'GL_ACCOUNTS_TO_PROCESS' & 'GL_GLLEZL_ARCHIVE_ROWS'.
glrsyusg.sqlUpgrades System Usages table. Populate the new consolidation_ledger_flag and efb_upgrade_flag in GL_SYSTEM_USAGES table.
glrjiint.sqlUpdates set_od_books_id column value to -1 in GL_INTERFACE table.
glrlebsv.sqlUpgrades legal entity and balancing segment assignment. Populates data in GL_LE_VALUE_SETS table.
glrjebnm.sqlUpdates jounral batch name in GL_JE_BATCHES table to change batch naming convention.
glrbobco.sqlUpgrades Budget Organization & Budgetary Control Options. Populates the new GL_BUDORG_BC_OPTIONS table.
glrasrs2.sqlCreates Secondary ledger relationships.
glrasrs4.sqlUpdates ALC GL ledger relationships from SUBLEDGER level to JOURNAL level if it is PURE 'Thin' MRC.
Updates SLA and Primary Ledger IDs of ALC JOURNAL/BALANCE ledger relationships to be same as their Source Ledgers if their Source ledgers are Secondary/ALC.
Populates the column alc_no_rate_action_code same as their source ledgers i.e. journal/subledger level ALC ledgers.
glrarvcs.sqlUpgrade script for populating the GL_AUTOREV_CRITERIA_SETS.

3. How can I determine the cause of the issues I am facing after R12 upgrade?

  1. Find the tables related to the problem.
  2. From above upgrade scripts information find the upgrade script which is populating data in those tables.
  3. Now open upgrade log file and check whether that script has failed. Check the exact error occurred when the script is executed and fix that error.

4. Why do most of the GL transaction forms (Enter Journals, Budget Journals, etc.) not retrieve any records after the upgrade?

This issue occurs if set_of_books_id column in GL tables is not renamed to ledger_id or if ledger_id column is not populated with values.
So check the upgrade log files for any errors while executing DDL statements in upgrade script glrrncol.sql.If there are any errors fix them or log a SR with Oracle support. Once ledger_id column is populated in GL tables all transactions forms will show data properly.

5. Why journal batches created before upgrade cannot be queried in journals form?

This happens if chart_of_accounts_id column in GL_JE_BATCHES table is null for the batches created before upgrade. Check upgrade log files and see if the script glrbaup2.sql is errored out. If it has errored out please rerun glrbaup2.sql script by following below steps.
  1. Navigate to $GL_TOP/patch/115/sql directory:
    cd $GL_TOP/patch/115/sql
  2. Connect to database using sqlplus as APPS user.
  3. Execute glrbaup2.sql from sql command prompt:
    sql> @glrbaup2.sql

6. On the account inquiry form, after upgrade, when click on Show Journal button the following error occurs: "APP-FND-01347: You no longer have access to the specific information requested in this screen". How do I fix this?

This happens if chart_of_accounts_id column in GL_JE_BATCHES table is null for the batches created before upgrade. Check upgrade log files and see if the script glrbaup2.sql is errored out. If it has errored out please rerun glrbaup2.sql script by following below steps.
  1. Navigate to $GL_TOP/patch/115/sql directory:
    cd $GL_TOP/patch/115/sql
  2. Connect to database using sqlplus as APPS user.
  3. Execute glrbaup2.sql from sql command prompt:
    sql> @glrbaup2.sql

7. When open the Enter Budget amounts form after the upgrade, the following error occurs: "ORA-00942: Table or view does not exist". How do I fix this?

It occurs if the view GL_BUDGET_ASSIGNMENTS_UNIQUE_V is not created or invalid. To fix this error execute below command from $GL_TOP/patch/115/odf path:
> adodfcmp userid=apps/apps mode=views odffile=glgvw.odf touser=apps/apps priv_schema=system/manager changedb=NO
Check the log file created by above command and follow the instructions to create the missing view GL_BUDGET_ASSIGNMENTS_UNIQUE_V.
Once the view is created enter budget amounts form can be opened.

8. Why Auto post criteria form does not retrieve records after upgrade?

If chart_of_accounts_id column is null in GL_AUTOMATIC_POSTING_SETS table, auto post criteria form can not retrieve any record. Check the upgrade log file and see if the script glrautop.sql has errored out. If so rerun glrautop.sql script by following below steps.
  1. Navigate to $GL_TOP/patch/115/sql directory:
    cd $GL_TOP/patch/115/sql
  2. Connect to database using sqlplus as APPS user.
  3. Execute glrautop.sql from sql command prompt:
    sql> @glrautop.sql

9. GL Posting program after upgrade ends with error "PERF0005: Oracle error detected in glpipi() - ORA-00942: table or view does not exist". Why?

This error comes when GL_POSTING_INTERIM table is not created.
Create this table using gl_posting_interim.xdf file. After that posting program will run fine.
See note:308427.1 The XDF Comparison Utility (FndXdfCmp) and note:551325.1 How to verify or create a Database Object using a odf (adodfcmp) or xdf (FndXdfCmp) file ? 

10. After upgrade GL:Data Access Set profile option is not assigned to all GL responsibilities. How to fix this?

This can happen if the script glrflias.sql fails during upgrade.
Check upgrade log files and see whether the script glrflias.sql has failed with ora-01722 error.
If so execute below insert statement after taking the back up of FND_PROFILE_OPTION_VALUES table, then GL:Data access set profile will be assigned to all responsibilities for which GL:Set Of books profile option is set in 11i.

create table FND_PROFILE_OPTION_VALUES_BK as
select * from FND_PROFILE_OPTION_VALUES;
INSERT INTO FND_PROFILE_OPTION_VALUES pov
(APPLICATION_ID,
PROFILE_OPTION_ID,
LEVEL_ID,
LEVEL_VALUE,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
PROFILE_OPTION_VALUE,
LEVEL_VALUE_APPLICATION_ID)
SELECT
pov1.application_id,
po1.profile_option_id,
pov1.level_id,
pov1.level_value,
sysdate,
1,
sysdate,
1,
0,
ldg.implicit_access_set_id,
pov1.level_value_application_id
FROM
FND_PROFILE_OPTION_VALUES pov1,
GL_LEDGERS ldg,
FND_PROFILE_OPTIONS PO,
FND_PROFILE_OPTIONS PO1
WHERE pov1.application_id = 101
AND pov1.profile_option_id = po.profile_option_id
AND PO.profile_option_name='GL_SET_OF_BKS_ID'
AND po1.profile_option_name='GL_ACCESS_SET_ID'
AND pov1.level_id <> 10004
AND to_char(ldg.ledger_id) = pov1.profile_option_value
AND ldg.implicit_access_set_id IS NOT NULL
AND NOT EXISTS
(select 1 from fnd_profile_option_values pov2
where pov2.application_id = pov1.application_id
and pov2.profile_option_id = po1.profile_option_id
and pov2.level_id = pov1.level_id
and pov2.level_value = pov1.level_value
and nvl(pov2.level_value_application_id, -1)
= nvl(pov1.level_value_application_id, -1));
commit;