
You can delete Guided Procedures (GP) development objects from the database when you no longer need them.
For more information, see Instantiating the Design Time Manager .
| Saving and Releasing a Callable Object |
|---|
importcom.sap.caf.eu.gp.co.api.IGPCallableObject; importcom.sap.caf.eu.gp.process.dt.api.IGPDesigntimeUpdateManager; importcom.sap.caf.eu.gp.exception.api.GPBaseException; IGPCallableObjectco = null; try{// create a callable object and make some changes ... // save it manager.save(co); }catch (GPBaseException e) {// handle error } finally{if (co != null) manager.release(co); } |
| Deleting a Callable Object |
|---|
importcom.sap.caf.eu.gp.co.api.IGPCallableObject; importcom.sap.caf.eu.gp.process.dt.api.IGPDesigntimeUpdateManager; // release to remove modification lock manager.release(co); // delete it manager.delete(co); |