# BAPI_BUPA_CENTRAL_CHANGE — Change Business Partner Central Data

> Changes the central (address-independent) data of an existing business partner, such as name parts, search terms, language or address-independent communication data. It is used for mass corrections and for interfaces that keep partner names in sync with external systems. Fill the matching …_X structure for every field you change, check RETURN and call BAPI_TRANSACTION_COMMIT; addresses are changed with the BAPI_BUPA_ADDRESS_… functions.

- Modules: CA
- Type: BAPI
- Function group: BUBA_3
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-bupa-central-change/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| BUSINESSPARTNER | BAPIBUS1006_HEAD-BPARTNER | Business partner number | Yes |
| CENTRALDATA | BAPIBUS1006_CENTRAL | Central data | - |
| CENTRALDATAPERSON | BAPIBUS1006_CENTRAL_PERSON | Central data for a person | - |
| CENTRALDATAORGANIZATION | BAPIBUS1006_CENTRAL_ORGAN | Central data for an organization | - |
| CENTRALDATAGROUP | BAPIBUS1006_CENTRAL_GROUP | Central data for a group | - |
| CENTRALDATA_X | BAPIBUS1006_CENTRAL_X | Change flags for central data | - |
| CENTRALDATAPERSON_X | BAPIBUS1006_CENTRAL_PERSON_X | Change flags for person data | - |
| CENTRALDATAORGANIZATION_X | BAPIBUS1006_CENTRAL_ORGAN_X | Change flags for organization data | - |
| CENTRALDATAGROUP_X | BAPIBUS1006_CENTRAL_GROUP_X | Change flags for group data | - |
| VALID_DATE | BAPIBUS1006_VALIDITY-VALID_DATE | Validity date of the data | - |
| DUPLICATE_MESSAGE_TYPE | BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE | Message type for duplicate check | - |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| TELEFONDATANONADDRESS | BAPIADTEL | Telephone numbers (address-independent) | - |
| TELEFONDATANONADDRESSX | BAPIADTELX | Change flags for telephone numbers | - |
| E_MAILDATANONADDRESS | BAPIADSMTP | E-mail addresses (address-independent) | - |
| E_MAILDATANONADDRESSX | BAPIADSMTX | Change flags for e-mail addresses | - |
| RETURN | BAPIRET2 | Return messages | - |
| ADDRESSDUPLICATES | BAPIBUS1006_ADDRESS_DUPLICATES | Possible address duplicates | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
  EXPORTING
    businesspartner = lv_businesspartner
  TABLES
    telefondatanonaddress = lt_telefondatanonaddress
    telefondatanonaddressx = lt_telefondatanonaddressx
    e_maildatanonaddress = lt_e_maildatanonaddress
    e_maildatanonaddressx = lt_e_maildatanonaddressx
    return = lt_return
    addressduplicates = lt_addressduplicates.
```

## Related tables

BUT000

