Hi Jaya,
Two BPs are connected with assignment of relationship category.
1. Create two BPs with respective roles
2. Go to the Relationship section of a BP [in BP transaction] and assign the second BP with relationship category. This is how you connect two BPs .
3. The relationship category, which you have used in step 2 above, should be linked with partner function.
4. Select an Access sequence which fetches data from BP relationship to fill automatically in a transaction.
This way we can fulfil the requirement.
Rgds
Hari