I created an implicit enhancement point and edited the SQL statement in the get_totals_from_db method in the OData package.
Trouble now is I get a error in the gateway:
RFC Error: User or password is incorrect for target system.
Looking into it now.
Suess