It is located on the site of the historic Lehrter Bahnhof , and until it opened as a main line station , it was a stop on the Berlin S-Bahn suburban railway temporarily named Berlin Hauptbahnhof -- Lehrter Bahnhof .
Until it opened as a main line station , it was a stop on the Berlin S-Bahn suburban railway , temporarily named Berlin Hauptbahnhof - Lehrter Bahnhof in 2002 .