Hello Lou,
now I've understood your requirement. As SAP stores the information in the field XMLSTRING of table DFKKINFCO, a query won't be helpful in this case because you can't access the (customer) fields directly. I guess parsing the xml is not a good solution either. So, I think your Z-solution is the best approach.
Regards,
Ulrich