2013 Mercedes E250 - Automatic Gear Shifter Press button not working (he shifter can’t be moved from (D) to (P)

Hi,
I have a 2013 E250 and suddenly the gear shifter button that takes the car from D or R to P has stopped working.
We have to switch the car off and/or open the door for the Car togo into P.
We can still drive the car but am unable to solve the issue.
The car moves to D and R as usual.
Any help is appreciated
Regards,
Sumeet