Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Extend BP roles with CL_MD_BP_MAINTAIN=>MAINTAIN

0 Kudos
1,993

I'm trying to extend BP roles to add vendor roles using API CL_MD_BP_MAINTAIN=>MAINTAIN,

but I'm facing a problem that I should add populate the BP data again, shouldn't it inherit it or something like that,

why should I add all the BP data again, I just need to add vendor roles, company and purchasing data, I need it to inherit all the old BP data , is it applicable and how to do it?

Thanks in advance.

2 REPLIES 2

p_maciel
Associate
Associate
900

Hello Mohamed,

Can you please verify your mapping fields for the role structure?
I solved it without filling 'partner-central_data-role-current_state = abap_true'.

After this just filled the needed fields to insert a new BP role. Previous roles were not deleted.

Best regards

fbaldoaim
Newcomer
0 Kudos
761

Hi p_maciel,

for the same issue as the formed member described, could you please explain which fields have you filled in the roles structures? .. have you filled other structures in order to add a new vendor role using CL_MD_BP_MAINTAIN?

Thank you