The OP asked for this by email - but posted here for others that need to open up a Bosch SDS (including me, once I've forgotten).
Opening the black half of the body (gearbox & hammer mechanism) on the GBH 2-24:
Remove chuck (interchangable, so just pull sliding collar forward).
Remove side handle.
No need to open the blue part (motor & electrics) of the body at all.
Important part - you must remove the hammer selector switch - this is fiddley. Push the red button right inside the black knob with a screwdriver, the button will now rotate round further than normal. In this new position it can be levered out of the drill body - watch out, the red button and spring will fly out. Look carefully at how it engages - this will be tricky on reassembly.
Next there is a snap ring in the nose of the drill, where the chuck goes, lever it out with 2 screwdrivers.
Now remove the 4 long screws that holds the black cover to the blue body - this will slide off exposing the gearbox. The hammer drive mechanism may stay with either part or fall out on its own. Look carefully at how it should engage with the gears.
Pay very careful attention to how the hammer selector switch engages with the hammer drive mechanism - this was the problem area on my drill.
Reassembly is pretty much the reverse of the above - get the black casing screwed on tight again - then you need to set the hammer drive mechanism to the right position (with a screwdriver through the hole where the hammer selector switch goes) before pushing the switch back onto the body.
Check the switch works properly. You may find you're in for more than one round of disassembly/reassembly until you get that switch just right.