I got it managed, I had to use the property node ActiveProject and then Path instead of OpenProject.
But now there occurs an error with the shared variables, in DSM the library is marked as "Evaluation in another application (offline)". I deploy the RT-Main.vi programmatically, when I do the same manually, the shared variables work fine
Edit: In DSM, the shared variable library is added, but not started. Is there a possibility to start shared variable processes programmatically?