There currently is one option to travel by night train from Rosenheim (Germany) to Vienna (Austria), taking between approximately 6 and 7 hours: Namely the EN 50237 operated by MÁV-Start.
MÁV-Start is Hungary's national passenger railway operator, running domestic and international trains connecting Hungary with neighboring countries.