Hi,
I am using following way to check auth ( I can not share the exact code as it is auth checks)
For given account > from table but050 get the BP number for the role want to check against.
Use FM 'CRM_RESOLVE_RESPONSE_AREA' to get the list of all BPs under user. Then check whether the above BP is in the list.
I am really sorry I can not share the code. If you need any help in approach, do let me know. I will fix it.
Thanks and Regards,