cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Bhooma,

if you're implementing SAP GUI check the Business Data Toolset (area menu is displayed with BUPT transaction)

Perhaps in BUS3 or BUS7 transactions you can include your logic to create automatically the relationships you required.

Hope it helps,

David

Former Member
0 Kudos

Hi,

You can implement this functionality using the BDT.

--> in the PAI event, update the relationships in memory using function BUB_BUPA_RELATIONS_MODIFY.

For BDT use, take a look at the following thread:

Michael.