eCommerce Patents Out of Control

This article on Techdirt talks about the latest patent suit between EPlus and SAP. Apparently, EPlus holds a patent on searching online catalogs, checking availability, and displaying the results. How rediculous is this to have a patent for and why the hell is this kind of stuff being granted?