End position adaption power window

This function is used to adapt the power window end position.
Note:
During the function the power window first goes down and then up to its end positions, make sure that nothing is in the way of the window track.
Preconditions for the test:
Procedure:
  1. Start the function and follow the instructions in the program.