The predefined transformations for projecting features between WGS 1984 (wkid:4326) and MGI Balkans 7 (wkid:31277) are not available in ArcGIS Desktop 10.5.
The transformation worked in previous versions. Will this issue be addressed in the coming updates?