Skip to Content
Former Member
Apr 06, 2006 at 12:55 AM

Automatic creation of BP relationship at the time of creation of BP


When a user creates a new account using BP transaction we need to create a 'Has the responsible employee' relationship automatically. If we try to create the same on save ( Using function BUPR_RELATIONSHIP_CREATE in BAdI PARTNER_UPDATE ) it doesn't work as the account would not have got created at the time of save. Hence we took a different approach of trying to create the relationship when the user clicks on 'Relationship' button ( in portal it is 'Relationship' tab ). We couldn't find a suitable BAdI which would contain the details of the recently created account as its import parameter. Is there any other approach we could use to solve this issue? Please let me know your ideas on the same.