Hi Shaik,
Which component/view you are referring to ? If you can elaborate with some screenshot or provide more details on the requirement then it would be easier for forum members to provide some suggestion.
Anyway have you checked the BOL method getPartData or getPartDataFromName of BTPARTNERSET.