It sounds like you have a tx hash and you want to retrieve the tx. Yes, that should be an easy modification to bitcoind.
Yes, that's what i want to do.
Glancing at the code the current implementation is completely wallet-centric. GetTransaction() from main.cpp walks through all wallets and calls wallet->getTransaction(), and also returns wallet-specific CWalletTx object. So it does not really look like a trivial patch :-/
Is there already a patch existing somewhere providing this feature? Alternatively any hints where i should start doing my own patch are welcome ;-)