Академический Документы
Профессиональный Документы
Культура Документы
In this Document
Purpose
Last Review Date
Instructions for the Reader
Troubleshooting Details
Introduction
Has the document been correctly forwarded?
Is the Document Approval Manager Timing Out (Error 1)?
Is the Document Approval Manager Not Active (Error 2)?
Has the WorkFlow Background Process been run?
Is there a Pending Change Request for this PO?
Verify Other Setups
Table Space or Max Extents problem?
Check Invalid Objects
Reload the Workflow Files and retest
Additional Troubleshooting Tips
What to Provide Oracle Support When Logging an iTAR for 'In Process' or or 'Pre-
Approved' documents
What are the MetaLink keywords I should use when searching for 'In Process' or or 'Pre-
Approved' document information on MetaLink?
Applies to:
Purpose
Troubleshooting Details
Introduction
Sometimes a documents finds itself in the status of 'In Process' or 'Pre-Approved'. This article is
intended to troubleshoot the reasons why it is in this status, and if necessary to get it moving again
towards approval. This information is specific to Release 11.0 and above. It is not intended for
Releases 10.7 and lower. This article is intended for all users of the Purchasing application,
specifically anyone who creates and submits requisitions and purchase orders for approval, as well as
those who hold the approving function.
During the approval process in Oracle Purchasing, documents will at times be in a status of 'In
Process' or 'Pre-Approved'. When a document reaches this status, it should not be considered a
problem until the proper research has been conducted.
The first step is to view the action history of the document in question to understand why the document
has a status of 'In Process' or or 'Pre-Approved' and if the document has been forwarded. This is
because if the Document has been forwarded to the next person in the hierarchy then the document is
correctly in the status of 'In Process' or or 'Pre-Approved' until the Notified employee takes Action via
the Notification on the document(s).
The action history can be viewed by using the Summary screens for Purchase Orders and
Requisitions.
2. If the attempt to view the action history results in the error 'APP-PO-14288 - This document is
incomplete or you do not have access to it.' and meanwhile the document has a status of 'In Process' -
then this would depict that the workflow has had a breakdown at some point prior to the update to the
action history - but after the Starting point. A status of In Process along with this error usually results in
a valid case of documents which are stuck 'In Process' and most likely are in need of further
troubleshooting outlined in this document. If it is determined that indeed the document is stuck, please
follow the troubleshooting tips outlined below. Most stuck documents can be resolved with the
suggestions offered below.
Is a Notification being sent to either the Preparer (person that submitted the document) or the System
Administrator that the Document Approval Manager is Timing Out (Error 2)?
1. Is the system on 11.5.6, or has 11i.PRC_PF.F been applied? If yes, please follow the White Paper
from Note 224028.1 and configure this Workflow to automatically resolve document IN PROCESS due
to the Document Approval Manager Timing Out.
3. Adjust the Timeout Parameter -- After determining that the system is properly tuned, the timeout
parameter that controls how long a workflow activity will wait can be adjusted. This can be done by
changing the value that is initialized to variable 'timeout' in function PO_REQUEST_ACTION in
package PO_DOCUMENT_ACTIONS_SV (can be found in POXDORAB.pls). The initialized value as
coded is 180, change this to 300, and apply this pls file to database. That should reduce the chances
of document manager timing out. After 11.5.9, use the profile option PO: Approval Timeout Value.
4. If remaining documents are IN PROCESS, run wfretry.sql to reprocess the documents associated
with this problem. Note 134960.1 has instructions for wfretry.sql and if necessary refer to Section 10
for resolution.
5. Reference Note 297862.1 "How to Help Prevent a Large Percentage of PO's Failing with PO
Document Approval Manager " for additional help if the Doc Mgr Error 1 is occuring frequently
Is a Notification being sent to either the Preparer (person that submitted the document) or the System
Administrator that the Document Approval Manager is Not Active (Error 2)?
1. Is the system on 11.5.6, or has 11i.PRC_PF.F been applied? If yes, please follow the White Paper
from Note 224028.1 and configure this new Workflow to automatically resolve document IN PROCESS
due to the Document Approval Manager Timing Out.
2. Verify and if necessary restart the Document Approval Concurrent Manager
1. Responsibility: System Administrator
2. Navigation: Concurrent => Manager => Administer and Select PO Document Approval manager
3. If the Document Manager is Not running then the Status field value = Not Running
4. Click on the line containing the PO Document Approval Manager
5. Click on the Activate button.
6. The PO Document Approval Manager should now be restarted
3. If remaining documents are 'In Process' or or 'Pre-Approved' , run wfretry.sql to reprocess the
documents associated with this problem. Note 134960.1 has instructions for wfretry.sql and if
necessary refer to certain steps in Section 10 for resolution.
4. Reference Note 297862.1 "How to Help Prevent a Large Percentage of PO's Failing with PO
Document Approval Manager " for additional help if the Doc Mgr Error 2 is occuring frequently
1. If using Background Mode for Approvals (as opposed to ONLINE mode) the PO or Requisition
Workflow Background Process must be run to launch the Approval process. While the process has
been deferred the document will remain in IN PROCESS status. If using ONLINE mode then the
WorkFlow Background Process does not need to be run to launch the Approval Workflow.
2. Navigation: Select System Administrator responsibility. Navigate => Sysadmin => Request => Run
3. Set the parameters and submit:
1. Item Type PO Approval or Requisition Approval
2. Processed Deferred = Yes
3. Process Time Out = Yes
4. Process Stuck = Yes, if the Process Stuck parameter is available
5. Submit the process
4. In addition, the $FND_TOP/sql/wfbkgchk.sql script can be used to verify if documents are Deferred
waiting on the Workflow Background
5. Even if using ONLINE mode for Approvals, Oracle recommends scheduling the Workflow
Background Process to run periodically for both PO and Requisition Approval workflow. If on 11.5.6 or
higher it is also recommended to schedule the POERROR workflow item type which has improved
document manager error handling. Reference Note 224028.1 for additional details on this topic.
1. If the document in question that is 'In Process' is a Standard PO or Release, please verify if a
Change Request from iSupplier or from an iProcurement generated Requisition has been entered.
When this happens, the corresponding PO (if one exists) is set to 'In Process' pending approval of the
Change Request.
2. To verify if a Change Request is pending, the following can be done :
1. Go to PO Summary, and query the Release or PO in question, then go to Inquire > View Action
History and see if the last action is "Change Requested". If this is the last action then a Change
Request is the reason this PO is IN PROCESS
2. Have the Buyer navigate to : Purchase Orders > Pending Purchase Order Changes and then be
sure to either Accept or Reject changes that have been requested on these PO's.
It is possible that database issues can cause documents submitted for Approval to become 'In
Process' or or 'Pre-Approved' due to the database reaching max extents during the Approval process
or if the required table space is not available during the Approval process.
1. Max Extents
1. Verify that the system does not have a Max Extents problem
2. Have DBA locate the alert_<sid => .log file and perform the following command from UNIX: $tail -f
alert_<sid>.log.
3. Submit a different document for approval and at the same time have the DBA views the
alert_<sid>.log via the tail command referenced above to look for errors.
2. Table Space
1. Verify that adequate table space exists
2. Reference Note 154599.1 for verification on tablespace problems and how to resolve them.
3. If remaining documents are 'In Process' or or 'Pre-Approved' , run wfretry.sql to reprocess the
documents associated with this problem. Note 134960.1 has instructions for wfretry.sql and if
necessary refer to certain steps in Section 10 for resolution
1. Check the instance where the problem is occurring for Invalid Objects that may be the cause. Any
objects owned by APPS need to be VALID.
2. If on 11i.PRC_PF.H (Patch 2320032) or higher run the Apps Diagnostic Program for Oracle
Purchasing and verify Invalid Objects do not exist. If lower than 11i.PRC_PF.H, enter SQL*Plus as the
APPS schema user and execute the following query:
3. IMPORTANT: If on 11i.PRC_PF.G (11.5.6) or higher make sure to check that Oracle XML Gateway
objects (these objects start with ECX) are also checked, because the integration between Oracle
Purchasing and Oracle XML Gateway can cause approval problems if ECX objects are invalid
4. If invalid objects are found, recompile them via the ADADMIN utility. Reference Note 113947.1.
5. If remaining documents are 'In Process' or or 'Pre-Approved' , run wfretry.sql to reprocess the
documents associated with this problem. Note:134960.1 has instructions for wfretry.sql and if
necessary refer to certain steps in Section 10 for resolution.
1. In certain unknown circumstances, workflow code can become corrupt in the database. Reloading
the workflow to the database and retrying the Approval can verify this.
2. Even if customizations have been made to the workflow, it is possible that the customized workflow
is corrupt in the database, and that reloading the customized workflow to the database will resolve the
issue. If customizations are in place, first try reloading the customized workflow code to database and
retest the Approval for a new document. If the error still occurs, reload the seeded workflow to the
database and retest the Approval for a new document. This can be used to pinpoint if the
customizations have the root cause of the issue.
3. Instructions for reloading the Approval Workflow are presented here:
1. Login in to the System Administrator responsibility.
2. Choose requests/run
3. Choose 'Workflow Definitions Loader'
4. The report has three parameters: item type, file location, and mode
1. Leave item type blank
2. For the second put in the full path (no Aliases) for the workflow file
NT Server Example: d:/oracle/appltop/po/11.5.0/patch/11.5/import/US/poxwfrqa.wft
Unix Server Example: $oracle/appltop/po/11.5.0/patch/11.5.0/import/US/poxwfrqa.wft
3. For the third parameter, Mode, choose Force. IMPORTANT: This will overwrite the existing workflow
in the database, including any customizations that are in place. Please proceed, but only after making
sure the customized workflow is saved in its own flat file.
4. If this corrects the documents that are going to IN PROCESS, run wfretry.sql to reprocess the
documents associated with this problem. Note:134960.1 has instructions for wfretry.sql
Follow these steps in order to try and resolve the IN PROCESS documents that could not be corrected
with the other troubleshooting steps above.
1. Ensure that the PO: Workflow Processing Mode profile option is not NULL at the Site (or User
levels). This must be set to either ONLINE or BACKGROUND
2. Relink the Document Approval Concurrent Manager. Go to Sysadmin -> Concurrent -> Manager ->
Administer -- deactivate the PO Document Approval Manager by hitting the Deactivate button, making
sure the Actual and Target processes are '0'.
1. Go to $AD_TOP/bin and relink the PO executables.
2. For Release 11.0.x:
adrelink force=y ranlib=y "PO ALL"
3. For Release 11.5.x:
adrelink.sh force=y "PO ALL"
3. Verify that duplicate login IDs do not exist
1. The following script, $FND_TOP/sql/wfdirchk.sql, can be used to verify duplicate logins.
2. Once corrected, run wfretry.sql to reprocess the documents associated with this problem.
Note:134960.1 has instructions for wfretry.sql
4. If using Approval Hierarchy ensure that the Fill Employee Hierarchy Report has been run if changes
were made to employee records, positions or position hierarchies. It is good practice to run this report
periodically in case changes were made without anyone's knowledge.
Navigation: Purchasing User => Reports => Run => Fill Employee Hierarchy
5. Run the Workflow Background Process (if not tried already):
1. Navigation: Select System Administrator responsibility. Navigate => Sys Admin => Request => Run
2. Set the parameters - Item Type PO Approval or Requisition Approval; Processed Deferred = Yes;
Process Time Out = Yes.
Process Stuck = Yes, if the Process Stuck parameter is available
3. Submit the Process.
6. For isolated IN PROCESS and Pre-Approved documents that cannot be fixed otherwise, perform
the following:
1. Run wfretry.sql to reprocess the documents. Follow the instructions in Note 134960.1
for using wfretry.sql
2. Re-execute the workflow for each document. For each document that is IN PROCESS
re-execute the workflow by doing the following from SQL Plus as the APPS
SQL => exec wf_engine.startprocess('item type','item key');
7. If the above command does not work, a last resort for isolated documents is using the reset scripts
from development which are available via NOTE 390023.1 "How To Reset a Document To
Incomplete/Requires Reapproval "
8. Run the "Purchasing(PO) Documents Approval Script" , Note 243026.1, and review the Output for
possible solution
What to Provide Oracle Support When Logging an iTAR for 'In Process' or or 'Pre-
Approved' documents
If this Troubleshooting Guide did not assist with your issue with 'In Process' or or 'Pre-Approved'
documents, please log a service request with Oracle Support and provide the following. Remember,
the more information that is provided up front when the service request is logged, the faster Oracle
Support can diagnose the issue. Even if all of the below is provided, depending on the details of the
issue more information may be required by Oracle Support after the service request is logged.
1. Clear step by steps instructions on how users can reproduce the issue and/or what has occurred on
the system.
2. Information on what has changed on this system since the IN PROCESS documents started to
occur
3. Most importantly, for at least one Requisition or Purchase Order which is IN PROCESS and you
cannot process it in the Application, please go to Note 243026.1 "Purchasing(PO) Documents
Approval Script" and provide the output of this Diagnostic for one or more the stuck documents when
logging the iTAR.
What are the MetaLink keywords I should use when searching for 'In Process' or or 'Pre-
Approved' document information on MetaLink?
Keywords: 'In Process'. 'Pre-Approved' , 'IN-PROCESS', REQAPPRV (if requisitions), POAPPRV (if
Purchase Orders), workflow
Related
Products
Oracle E-Business Suite > Procurement > Procurement > Oracle Purchasing
Keywords
Back to top
Comments
Article Rating
Rate this document
Excellent
Good
Poor
Yes
No
Just browsing
Very easy
Somewhat easy
Not easy
Cancel