Since I've found no solution at any place (SAPDB or JBoss forums), I would like to share my solution for the sapdb-xa-ds.xml file, which I have tested with JBoss 3.2.1.
I would like to encourage other developers to try out this datasource configuration file and give some feedback.