In Germany you have to do 16 weeks of surgery, 16 weeks of internal medicine and 16 weeks of a specialty of your choice. So you can either do OBGYN or paediatrics. In some universities you can do 4 rotations, but I don't know where. Whether or not you can get an Approbation is something you should discuss in person with the local Landesprüfungsamt.