Dear ... Brian..
The best T.code is to check how many partner Functions are there for single customer
no need Query
T.code is TAANA T.code i have tried
Advantage is here in one short easily we can find how many partner functions are there
Ex: i have 50 customers so i have different partners to customers like 8,5,6
so now i want to know how many are partners so always i cant count in XD02
So this is best way .. plz MENTORS comment on this