SAP Message APBAPI053 - Position &1: 'Role in hierarchy' field can only be set/changed online

Diagnosis
You tried to set or change the 'Role in hierarchy' field for programposition &V1& of investment program &V2&/&V3& using a BAPI.
However, this field is not allowed to be set or changed duringprocessing of program positions by BAPIs.

System Response
The 'Role in hierarchy' field is not set or changed.

Procedure
Set or change the 'Role in hierarchy' field, if necessary, using theonline master data maintenance transaction for investment programpositions.