Hi Narendra,
There are several nice blogs about this topic:
Please refer to Navigating the BOPF: Part 3 - Working with the BOPF API . Under section section Creating New Customers a complete example is given.
See Accessing a delegated object in BOPF for more information on how to access the delegated object.
KR,
Bjorn