Loss of power

Dear friends, I have a “exciting” problem with my G, W463, 270cdi, Automatik, EZ 10/04; for better clarity I number through: 1.) I start the engine. 2.) I speed up; 2nd gear comes at about 3100 rpm, then very soon the 3rd gear is already at 1700 rpm, then the 4th and then the 5th gear quickly too. 3.) The G thus reaches a maximum of 120 km/h at approx. 2700 rpm; there is nothing more, even with lead foot not. 4.) On low gradients this will be 5.) I stop. Engine continues to run inconspicuously round, no shaking, no jerking. I move the selector lever to position N and give gas: the engine turns high up to 2900 rpm, then it regulates, more revolutions do not come. I then move the selector lever to position P, and everything is like in Postion N. 6.) I turn off the engine, take out the ignition key, reboot it and restart the engine. 7.) Now, As it stands, it takes full gas, the pointer of the speed meter speeds up normally until far beyond 3000 rpm. It is clearly no longer regulated. 8.) Then I drive, and everything comes back as described above … Who of you can please give me a hint? I can only give my G time in the next week into the MB plant saddle; can I still drive it until then, or should I not touch it any more? Many thanks in advance. Gruss Wurzie