Issue:
When Scheduling sales orders using the SCHORD module: Schedule Orders concurrent request, the request is taking hours, and sometimes failing with the following error:
Cause: FDPSTP failed due to ORA-20002: 3150: Process 'OEOL/15486876' is being worked upon. Please retry the current request on the process later.
ORA-06512: at "APPS.WF_ENGINE", line 5774
ORA-06512: at "APPS.OE_SCH_CONC_REQU
CAUSE
This issue is caused by the setting of profile 'MSC: ATP Debug Mode'.
The customer confirmed that the debug was enabled by 'MSC: ATP Debug Mode'. This same issue is outlined in the following note:
Note 473754.1 - Suggestions to Improve Performance when Booking Orders
The reason for the trace not capturing any poorly performing SQL is because the issue is coming from ATP and capturing of the performance issue in ATP would require profile 'MSC: ATP Debug Mode' to be set to 'Trace Only' and the rest of the steps outlined in the following note:
Note 122372.1 - Getting ATP Debug Files - The ATP Session Files
SOLUTION
1. Set MRP: Calculate Supply Demand to "No".
2. Set MSC: ATP Debug Mode to "None".
3. Ensure following tables are purged frequently based on data volume:
- MRP_ATP_SCHEDULE_TEMP
- MRP_ATP_DETAILS_TEMP
4. Ensure "MSC" schema is analyzed at frequent interval