SAP Message APEO003 - Program position &1 is not an end node in the inv.program now active

Diagnosis
You are editing the structure of an investment program in theenterprise organization, and want to delete program position &v1&. Thiswould cause the deletion of this program position in the active programstructure at the same time, that is, in the program structure that wasgenerated from the enterprise organization during the last generationrun.
However, this program position has directly subordinate positions inthe active program structure, and is therefore not an end nodeposition. In the active program structure, you are only allowed todelete end node positions.

System Response
Deleting the program position is not allowed.

Procedure
In order to delete the program position, you first have to delete theassignment to the organizational unit. After that, you can you candelete this program position, together with all of its subordinatepositions, in structure maintenance. (This is possible as long as thesubordinate program positions do not themselves belong to theenterprise organization.)