Why is there only one name stated on my ticket?
Some tickets (for example, DB tickets) are group tickets. Your ticket states the number of travelers for whom the ticket is valid. You can therefore travel with these and scan the ticket several times at the check-in gate.
Unfortunately, it's not possible to change the name on the ticket. The system automatically selects the name of the passenger entered first.