An apparatus, system, and method are disclosed for the direct retrieval of
hierarchical data from an SAP system. The apparatus includes an input
module, a table hierarchy module, a query builder module, a query
execution module, and a response builder module. The input module
receives a table business object comprising a query criteria. The table
hierarchy module determines a table hierarchy associated with the table
business object. The query builder module builds a native SAP query based
on the table hierarchy and the query criteria. The query execution module
executes the native SAP query directly on an SAP database. The response
builder module returns results of the native SAP query.