Solution : https://service.sap.com/sap/support/notes/639785 (SAP Service marketplace login required)
Summary :
When using BAPI_ALM_ORDER_MAINTAIN to delete a suboperation within an operation, users encounter error message CO274, erroneously stating that the last active operation cannot be deleted. This contrasts with the smooth deletion process observed in Transaction IW32. The issue arises from a program error triggered when an order has exactly one assigned operation, capable of having multiple suboperations. The error is linked to specific functions and data elements like CO_BO_GET_OPR_OF_SEQ, IBAPI_O_CHECK_DELETE, and others. The proposed remedy involves implementing corrections provided in the attachment to resolve this inconsistency.
Key words :
error message co274, program error occurs, bapi bapi_alm_order_maintain, bapi issues, active operation, transaction iw32, terms co_bo_get_opr_of_seq, ls_afvgd reason, assigned operation, solution implement
Related Notes :
736204 | Notes for downgrade kit ALMBAPI I |
708508 | Downgrade BAPI_ALM_ORDER_MAINTAIN -> errors |