[Python]
SQL> UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'X'
WHERE request_id = '<request id> ';
Commit;
SQL> UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'X'
WHERE request_id = '<request id> ';
Commit;
Sometimes, requests cannot be canceled on the form interface, so they can be canceled in the background.
The program can be used in the following EBS version
Oracle Application Object Library-Version 11.0.0 to 12.0 [Release 11 to 12]
Oracle Concurrent Processing-Version 11.5.10.0 to 12.0.6 [Release 11.5 to 12]
Information in this document applies to any platform.
11.0.x-12.1
Symptoms:
Unable to cancel concurrent requests and the queue is stuck
The reason is:
View to cancel concurrent requests, use the "cancel request" button, go to administrator> concurrency> manager form.
You may get the following information:
The request xxxxxx cannot be canceled. The Concurrent Manager Process that was running this request has exited abnormally. The ICM will mark this request as completed with error.
Solution
Manually cancel the request out of the queue with the following SQL against the offending
Request id (s). This can be safely done while managers are up and running:
[SQL]
SQL> UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'X'
WHERE request_id = '<request id> ';
Commit;
SQL> UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'X'
WHERE request_id = '<request id> ';
Commit;