how to get lookup the financial dimensions in unbound control through code

how to get lookup the financial dimensions in unbound control through code

Do you want to show a single financial dimension values ? (Example - Department)

yes kranthi ,single value like business unit,

If it is one of the operating unit type, then you can see the below example,
\Classes\HcmPeopleDepartmentUIBuilder\departmentLookup