Apply an inline transform filtering the data you want displayed in the webpage. You can do that straight in the call to xacute transaction .. see here how it's done:
http://scn.sap.com/community/developer-center/front-end/blog/2012/09
For the sake of the exercise, they wanted there some JSON output. But it can be text, html code .. anything you define in the XSL transform for output.