Part H of the building regs is available online and specifies exactly the requirements in your situation:
Quote: Sealing disused drains B.17 Disused drains or sewers provide ideal nesting sites for rats. In order to prevent this disused drains or sewers should be disconnected from the sewer system as near as possible to the point of connection. This should be done in a manner which does not damage any pipe which is still in use and ensures that the sewer system is watertight. This may be carried out, for example, by removing the pipe from a junction and placing a stopper in the branch of the junction fitting. Where the connection was to a public sewer the sewerage undertaker should be consulted. B.18 Drains or sewers less than 1.5m deep which are in open ground should as far as is practicable be removed. Other pipes should be sealed at both ends and at any point of connection, and grout filled to ensure that rats cannot gain access. B.19 Larger pipes (225mm and above) should be grout filled to prevent subsidence or damage to buildings or services in the event of collapse. End quote
In practice the drains should end up water and air tight so I think you really do need to cap them properly. I recently removed our downstairs loo, blocked the pipe with loose newspaper some way down (to stop the mortar going further down) then filled the rest with about 20cm of mortar to give a flush floor level. Dead easy.
Hope that helps.