Modern cars are generally computerized and replacing the battery is no longer a straight forward procedure.
BMW electronic system requires IBS registrations for new battery to enable communication with the system to avoid failure.
Get professional help on battery replacement with coding for optimal performance and longer-lasting alternator.