Just to drop one of my queries I've used recently to extract some information into good old excel (deleted several subselects though):
select e.mcMSKEYVALUE username, e.mcMSKEY mskey, e.mcDISPLAYNAME displayname,
(select aValue from idmv_value_basic with (nolock) where MSKEY = e.mcMSKEY and attrname = 'ACCOUNTP89_222') usernameSAP,
(select aValue from idmv_value_basic with (nolock) where MSKEY = e.mcMSKEY and attrname = 'KNF_COMPANY') companyCode
from idmv_entry_simple e with (nolock) where e.mcEntryType = 'MX_PERSON'
Save that query in a view or procedure so you can easily re-use it. If you don't use MS-SQL remove the with (nolock).
Depending on how you've saved the numbers 4, 5, 6, 9, 10 and 11 you have to use the idmv_link_ext and a join inside the subselect queries. Or maybe the valuehelp table mxi_attrValuehelp.
What are the numbers 10 and 11? Never heard of them