In the service node in the timetable is a tab "passenger info system" where you can set the service number like ICE 584. If your service contains stops outside the map you need to set them as virtual destinations in the enter portal and exit portal node.