You are using BAdI WORKORDER_UPDATE method BEFORE_UPDATE. When you delete an operation from a PM order, the value of parameter IT_OPERATION-VBKZ is 'U', but not 'D' as expected by you.
SAP Release Independent.
IT_OPERATION-VBKZ, IT_OPERATION, VBKZ, WORKORDER_UPDATE, BEFORE_UPDATE, AFVC, IT_OPEATION-PHFLG, PHFLG, RELEASED, REL, CRTD, created , KBA , PM-WOC-MO , Maintenance Orders , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.