Step 1 - Setting the Debug Profiles
From System Administrator Navigate: System/Profile
Enter 'PO:%Set%Debug%' in the Profile column in the Find form - then choose the Find button
Please set profile "PO: Set Debug Workflow ON" as follows:
PO: Set Debug Workflow ON
Set this profile = Yes. Setting this profile to Yes will turn on debug logging, capturing debug messages which are created during pl/sql calls to the various packages/procedures in the approval process. This profile should be set to Yes when the document approval problem can be recreated at will.
When this profile is set to 'Yes', data is going to be written to the po_wf_debug table for all purchasing workflows, Approvals, Account Generator, etc..
which is why it is recommended to be used when the exact steps to create the problem are known.
If the Debug Workflow profile is set to Yes, then the table po_wf_debug should be truncated of all records prior to the start of the debugging process. The table only stores debug information - and a complete truncate is supported and will not have any bearing on the Approval processes, as there is no dependent data in this table.