Canceling a Process with the BPM API (New)
This new public API (com.sap.bpm.pm.api) enables you to cancel a BPM process if the process is not already in a completed or canceled state.
For a detailed description of the BPM public APIs, see http://help.sap.com/javadocs