cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning BP Roles to Accounts

Former Member
0 Kudos

Hi

In the direct link group, I have to create two direct links namely ,Competitor' and 'Alliance Partner', which are the two different types of Accounts(BP Roles).

My req is that on clicking on the either of links, that respective BP Role should be assigned automatically. i have written the code for it in PROCESS_DATA method of the implementation class of BP_HEAD/AccountDetails.

I am facing a problem here. If i click on 'Competitor' link, the role of Alliance Partner also gets assigned but after i save and then try to edit it. Even if i delete both the roles on UI after editing it, still on saving, it shows both the roles.

Am not able to locate the error. Please help me out.

Thanks and Regards,

Radhika Chuttani

Accepted Solutions (1)

Accepted Solutions (1)

CarstenKasper
Active Contributor
0 Kudos

Hi,

I do not know of the PROCESS_DATA method, but one common point for executing code that is specific to one navigational link are the inbound plugs.

My approach would be: Create yourself new target ids with logical links ( as you probably already have done) for your component and let the target ids point to your new custom inbound plugs where you put the coding from PROCESS_DATA.

Meaning:

Enhance component with two new inbound plugs on the window. Put those in the interface.

Create new target ids in customizing.

Create logical links for target ids in customizing.

Put your coding in the inbound plugs.

Perhaps it circumvents the problem you are facing. Do not know about a solution remote

cheers Carsten

Answers (0)