After migrating to OpenEdge 11.7.3 the problem disappeared strangely enough. The exact same code worked fine. Continue reading...