Cant speak for their creation, from what I know RAF grew organically out of the german antiwar movement which was active at most of the universities.
I can however tell you that they were quickly infiltrated by western intelligence, and ended up becoming a kind of reverse GLADIO, in particular the targets they chose towards the end really give some hints in puncto cui bono…
I think the biggest problem of our day and age is agentry, radical organizations like the panthers and the RAF always fall prey to it.
I suggest you read Joseph Conrads "The Secret Agent", its a hundred years old but it will probably tell you more about the RAF than a book about them
heres an interesting thread, dunno how your deutsch is homie
http://nsu-leaks.freeforums.net/thread/185/das-grosse-ganze-gladio-raf
also google "Das RAF Phantom" from Wisnewski, everyone calls him a conspiritard but he sources well and its all about this