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: 

Change business partner name BAPI

Former Member
0 Kudos

Hi people,

I have a scenario where I first search the BP details and BP address details. Then I can modify them and save them again. The address part works. But only the BP´s name can´t be changed.

I'm changing the business partner address details trough the BAPI: 'BAPI_BUPA_ADDRESS_CHANGE'. But I can't change the business partner name in this BAPI.

I'm searching the BP name trough the BAPI: 'BAPI_BUSINESS_PARTN_GET_DETAIL'. But now... wich BAPI do I use to change de BP name?

Can anyone help me on this?

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos
Populate the fields
LAST_NAME_BP
LAST_NAME_BPX
FRST_NAME_BP
FRST_NAME_BPX
THIRD_NAME_BP
THIRD_NAME_BPX
of parameter BPARTNER_X in bapi BAPI_BUSPARTNER_CHANGE. This bapi can also be used to change the address bu populating the parameter ADDRESS_X
5 REPLIES 5

kesavadas_thekkillath
Active Contributor
0 Kudos
Populate the fields
LAST_NAME_BP
LAST_NAME_BPX
FRST_NAME_BP
FRST_NAME_BPX
THIRD_NAME_BP
THIRD_NAME_BPX
of parameter BPARTNER_X in bapi BAPI_BUSPARTNER_CHANGE. This bapi can also be used to change the address bu populating the parameter ADDRESS_X

0 Kudos

I don't have the BAPI BAPI_BUSPARTNER_CHANGE.  I do have the BAPI 'BAPI_BUSINESS_PARTNER_CHANGE'. But I'm getting the error E 105 (Activity type not available).

I'm filling the following:

CALL FUNCTION 'BAPI_BUSINESS_PARTNER_CHANGE'

           EXPORTING

             businesspartner   = ls_but000-partner

             partnercategory   = ls_but000-type

             partnertype       = ls_but000-bpkind

             partnergroup      = ls_but000-bu_group

             partnergenattrbt  = ls_attrib

             partnergenattrbtx = ls_attribx

           TABLES

             return            = lt_return.

0 Kudos

If BAPI_BUPA_CENTRAL_CHANGE is available then use it and check

0 Kudos

Yes the BAPI is available. I'm gonna try it out.

It works. It changes the bp's name now. Thank

0 Kudos

This message was moderated.