The joining surface is scanned several times per second, whereby the laser beam heats and plasticizes the entire weld seam simultaneously. Shaped part tolerances can be melted off and form a welding bead because the two parts to be joined are pressed together during the welding process.