SAP BUPA_CENTRAL_CHANGE Function Module for









BUPA_CENTRAL_CHANGE is a standard bupa central change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for bupa central change FM, simply by entering the name BUPA_CENTRAL_CHANGE into the relevant SAP transaction such as SE37 or SE38.

Function Group: BUBA_4
Program Name: SAPLBUBA_4
Main Program: SAPLBUBA_4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BUPA_CENTRAL_CHANGE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'BUPA_CENTRAL_CHANGE'"
EXPORTING
* IV_PARTNER = "Business Partner Number
* IS_DATA_GROUP_X = "Change Information on CENTRALDATAGROUP
* IS_CENTRAL_CUSTOMER_EXT = "
* IS_CENTRAL_CUSTOMER_EXT_X = "
* IV_X_SAVE = 'X' "Indicator
* IV_CHANGE_BAS = 'X' "
* IV_DUPLICATE_MESSAGE_TYPE = "
* IV_VALID_DATE = SY-DATLO "
* IV_CHECK_ADDRESS = 'X' "
* IS_DUPLICATE_CHECK_ADDRESS = "
* IV_PARTNER_GUID = "Business Partner GUID
* IS_DATA = "Central Data
* IS_DATA_PERSON = "Central Data, Person
* IS_DATA_ORGAN = "Central Data, Organization
* IS_DATA_GROUP = "Central Data, Group
* IS_DATA_X = "Change Information on CENTRALDATA
* IS_DATA_PERSON_X = "Change Information on CENTRALDATAPERSON
* IS_DATA_ORGAN_X = "Change Information on CENTRALDATAORGANISATION

TABLES
* IT_ADTEL_ADDR_IND = "BAPI Structure for Telephone Numbers (Bus. Address Services)
* IT_ADSSF_ADDR_IND = "BAPI Structure for SSF Addresses (Business Address Services)
* IT_ADURI_ADDR_IND = "BAPI Structure for URI Addresses (Business Address Services)
* IT_ADPAG_ADDR_IND = "BAPI Structure for Pager Numbers (Business Address Services)
* IT_ADCOMREM_ADDR_IND = "BAPI Structure for Communication Type Comments
* IT_ADCOMUSE_ADDR_IND = "
* IT_ADTEL_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADTEL
* IT_ADFAX_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADFAXX
* IT_ADTTX_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADTTX
* IT_ADTLX_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADTLX
* IT_ADSMTP_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADSMTP
* IT_ADFAX_ADDR_IND = "BAPI Structure for Fax Numbers (Business Address Services)
* IT_ADRML_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADRML
* IT_ADX400_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADX400
* IT_ADRFC_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADRFC
* IT_ADPRT_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADPRT
* IT_ADSSF_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADSSF
* IT_ADURI_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADURI
* IT_ADPAG_ADDR_IND_X = "Change BAPI Reference Structure to BAPIADPAG
* IT_ADCOMREM_ADDR_IND_X = "Change BAPI Reference Structure for BAPICOMREM
* IT_ADCOMUSE_ADDR_IND_X = "
* ET_ADDR_DUPLICATES = "
* IT_ADTTX_ADDR_IND = "BAPI Structure for Teletex Numbers (Bus. Address Services)
* ET_RETURN = "Messages
* IT_ADTLX_ADDR_IND = "BAPI Structure for Telex Numbers (Business Address Services)
* IT_ADSMTP_ADDR_IND = "BAPI Structure for E-Mail Addresses (Bus. Address Services)
* IT_ADRML_ADDR_IND = "BAPI Structure for RML Addresses (Business Address Services)
* IT_ADX400_ADDR_IND = "BAPI Structure for X.400 Addresses (Bus. Address Services)
* IT_ADRFC_ADDR_IND = "BAPI Structure for RFC Addresses (Business Address Services)
* IT_ADPRT_ADDR_IND = "BAPI Structure for PRT Addresses (Business Address Services)
.



IMPORTING Parameters details for BUPA_CENTRAL_CHANGE

IV_PARTNER - Business Partner Number

Data type: BU_PARTNER
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_GROUP_X - Change Information on CENTRALDATAGROUP

Data type: BAPIBUS1006_CENTRAL_GROUP_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_CENTRAL_CUSTOMER_EXT -

Data type: BUPA_CENTR_CUST_EXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_CENTRAL_CUSTOMER_EXT_X -

Data type: BUPA_CENTR_CUST_EXT_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_X_SAVE - Indicator

Data type: BAPI4001_1-SAVE_ADDR
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CHANGE_BAS -

Data type: SZAD_FIELD-FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_DUPLICATE_MESSAGE_TYPE -

Data type: BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_VALID_DATE -

Data type: BAPIBUS1006_VALIDITY-VALID_DATE
Default: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CHECK_ADDRESS -

Data type: SZAD_FIELD-FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DUPLICATE_CHECK_ADDRESS -

Data type: BAPIBUS1006_ADDRESS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_PARTNER_GUID - Business Partner GUID

Data type: BU_PARTNER_GUID
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA - Central Data

Data type: BAPIBUS1006_CENTRAL
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_PERSON - Central Data, Person

Data type: BAPIBUS1006_CENTRAL_PERSON
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_ORGAN - Central Data, Organization

Data type: BAPIBUS1006_CENTRAL_ORGAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_GROUP - Central Data, Group

Data type: BAPIBUS1006_CENTRAL_GROUP
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_X - Change Information on CENTRALDATA

Data type: BAPIBUS1006_CENTRAL_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_PERSON_X - Change Information on CENTRALDATAPERSON

Data type: BAPIBUS1006_CENTRAL_PERSON_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_DATA_ORGAN_X - Change Information on CENTRALDATAORGANISATION

Data type: BAPIBUS1006_CENTRAL_ORGAN_X
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BUPA_CENTRAL_CHANGE

IT_ADTEL_ADDR_IND - BAPI Structure for Telephone Numbers (Bus. Address Services)

Data type: BAPIADTEL
Optional: Yes
Call by Reference: Yes

IT_ADSSF_ADDR_IND - BAPI Structure for SSF Addresses (Business Address Services)

Data type: BAPIADSSF
Optional: Yes
Call by Reference: Yes

IT_ADURI_ADDR_IND - BAPI Structure for URI Addresses (Business Address Services)

Data type: BAPIADURI
Optional: Yes
Call by Reference: Yes

IT_ADPAG_ADDR_IND - BAPI Structure for Pager Numbers (Business Address Services)

Data type: BAPIADPAG
Optional: Yes
Call by Reference: Yes

IT_ADCOMREM_ADDR_IND - BAPI Structure for Communication Type Comments

Data type: BAPICOMREM
Optional: Yes
Call by Reference: Yes

IT_ADCOMUSE_ADDR_IND -

Data type: BAPIADUSE
Optional: Yes
Call by Reference: Yes

IT_ADTEL_ADDR_IND_X - Change BAPI Reference Structure to BAPIADTEL

Data type: BAPIADTELX
Optional: Yes
Call by Reference: Yes

IT_ADFAX_ADDR_IND_X - Change BAPI Reference Structure to BAPIADFAXX

Data type: BAPIADFAXX
Optional: Yes
Call by Reference: Yes

IT_ADTTX_ADDR_IND_X - Change BAPI Reference Structure to BAPIADTTX

Data type: BAPIADTTXX
Optional: Yes
Call by Reference: Yes

IT_ADTLX_ADDR_IND_X - Change BAPI Reference Structure to BAPIADTLX

Data type: BAPIADTLXX
Optional: Yes
Call by Reference: Yes

IT_ADSMTP_ADDR_IND_X - Change BAPI Reference Structure to BAPIADSMTP

Data type: BAPIADSMTX
Optional: Yes
Call by Reference: Yes

IT_ADFAX_ADDR_IND - BAPI Structure for Fax Numbers (Business Address Services)

Data type: BAPIADFAX
Optional: Yes
Call by Reference: Yes

IT_ADRML_ADDR_IND_X - Change BAPI Reference Structure to BAPIADRML

Data type: BAPIADRMLX
Optional: Yes
Call by Reference: Yes

IT_ADX400_ADDR_IND_X - Change BAPI Reference Structure to BAPIADX400

Data type: BAPIADX40X
Optional: Yes
Call by Reference: Yes

IT_ADRFC_ADDR_IND_X - Change BAPI Reference Structure to BAPIADRFC

Data type: BAPIADRFCX
Optional: Yes
Call by Reference: Yes

IT_ADPRT_ADDR_IND_X - Change BAPI Reference Structure to BAPIADPRT

Data type: BAPIADPRTX
Optional: Yes
Call by Reference: Yes

IT_ADSSF_ADDR_IND_X - Change BAPI Reference Structure to BAPIADSSF

Data type: BAPIADSSFX
Optional: Yes
Call by Reference: Yes

IT_ADURI_ADDR_IND_X - Change BAPI Reference Structure to BAPIADURI

Data type: BAPIADURIX
Optional: Yes
Call by Reference: Yes

IT_ADPAG_ADDR_IND_X - Change BAPI Reference Structure to BAPIADPAG

Data type: BAPIADPAGX
Optional: Yes
Call by Reference: Yes

IT_ADCOMREM_ADDR_IND_X - Change BAPI Reference Structure for BAPICOMREM

Data type: BAPICOMREX
Optional: Yes
Call by Reference: Yes

IT_ADCOMUSE_ADDR_IND_X -

Data type: BAPIADUSEX
Optional: Yes
Call by Reference: Yes

ET_ADDR_DUPLICATES -

Data type: BAPIBUS1006_ADDRESS_DUPLICATES
Optional: Yes
Call by Reference: Yes

IT_ADTTX_ADDR_IND - BAPI Structure for Teletex Numbers (Bus. Address Services)

Data type: BAPIADTTX
Optional: Yes
Call by Reference: Yes

ET_RETURN - Messages

Data type: BAPIRET2
Optional: Yes
Call by Reference: Yes

IT_ADTLX_ADDR_IND - BAPI Structure for Telex Numbers (Business Address Services)

Data type: BAPIADTLX
Optional: Yes
Call by Reference: Yes

IT_ADSMTP_ADDR_IND - BAPI Structure for E-Mail Addresses (Bus. Address Services)

Data type: BAPIADSMTP
Optional: Yes
Call by Reference: Yes

IT_ADRML_ADDR_IND - BAPI Structure for RML Addresses (Business Address Services)

Data type: BAPIADRML
Optional: Yes
Call by Reference: Yes

IT_ADX400_ADDR_IND - BAPI Structure for X.400 Addresses (Bus. Address Services)

Data type: BAPIADX400
Optional: Yes
Call by Reference: Yes

IT_ADRFC_ADDR_IND - BAPI Structure for RFC Addresses (Business Address Services)

Data type: BAPIADRFC
Optional: Yes
Call by Reference: Yes

IT_ADPRT_ADDR_IND - BAPI Structure for PRT Addresses (Business Address Services)

Data type: BAPIADPRT
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BUPA_CENTRAL_CHANGE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_iv_partner  TYPE BU_PARTNER, "   
lt_it_adtel_addr_ind  TYPE STANDARD TABLE OF BAPIADTEL, "   
lv_is_data_group_x  TYPE BAPIBUS1006_CENTRAL_GROUP_X, "   
lt_it_adssf_addr_ind  TYPE STANDARD TABLE OF BAPIADSSF, "   
lt_it_aduri_addr_ind  TYPE STANDARD TABLE OF BAPIADURI, "   
lv_is_central_customer_ext  TYPE BUPA_CENTR_CUST_EXT, "   
lt_it_adpag_addr_ind  TYPE STANDARD TABLE OF BAPIADPAG, "   
lv_is_central_customer_ext_x  TYPE BUPA_CENTR_CUST_EXT_X, "   
lv_iv_x_save  TYPE BAPI4001_1-SAVE_ADDR, "   'X'
lt_it_adcomrem_addr_ind  TYPE STANDARD TABLE OF BAPICOMREM, "   
lv_iv_change_bas  TYPE SZAD_FIELD-FLAG, "   'X'
lt_it_adcomuse_addr_ind  TYPE STANDARD TABLE OF BAPIADUSE, "   
lt_it_adtel_addr_ind_x  TYPE STANDARD TABLE OF BAPIADTELX, "   
lv_iv_duplicate_message_type  TYPE BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE, "   
lv_iv_valid_date  TYPE BAPIBUS1006_VALIDITY-VALID_DATE, "   SY-DATLO
lt_it_adfax_addr_ind_x  TYPE STANDARD TABLE OF BAPIADFAXX, "   
lv_iv_check_address  TYPE SZAD_FIELD-FLAG, "   'X'
lt_it_adttx_addr_ind_x  TYPE STANDARD TABLE OF BAPIADTTXX, "   
lt_it_adtlx_addr_ind_x  TYPE STANDARD TABLE OF BAPIADTLXX, "   
lv_is_duplicate_check_address  TYPE BAPIBUS1006_ADDRESS, "   
lt_it_adsmtp_addr_ind_x  TYPE STANDARD TABLE OF BAPIADSMTX, "   
lv_iv_partner_guid  TYPE BU_PARTNER_GUID, "   
lt_it_adfax_addr_ind  TYPE STANDARD TABLE OF BAPIADFAX, "   
lt_it_adrml_addr_ind_x  TYPE STANDARD TABLE OF BAPIADRMLX, "   
lt_it_adx400_addr_ind_x  TYPE STANDARD TABLE OF BAPIADX40X, "   
lt_it_adrfc_addr_ind_x  TYPE STANDARD TABLE OF BAPIADRFCX, "   
lt_it_adprt_addr_ind_x  TYPE STANDARD TABLE OF BAPIADPRTX, "   
lt_it_adssf_addr_ind_x  TYPE STANDARD TABLE OF BAPIADSSFX, "   
lt_it_aduri_addr_ind_x  TYPE STANDARD TABLE OF BAPIADURIX, "   
lt_it_adpag_addr_ind_x  TYPE STANDARD TABLE OF BAPIADPAGX, "   
lt_it_adcomrem_addr_ind_x  TYPE STANDARD TABLE OF BAPICOMREX, "   
lt_it_adcomuse_addr_ind_x  TYPE STANDARD TABLE OF BAPIADUSEX, "   
lt_et_addr_duplicates  TYPE STANDARD TABLE OF BAPIBUS1006_ADDRESS_DUPLICATES, "   
lv_is_data  TYPE BAPIBUS1006_CENTRAL, "   
lt_it_adttx_addr_ind  TYPE STANDARD TABLE OF BAPIADTTX, "   
lt_et_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_is_data_person  TYPE BAPIBUS1006_CENTRAL_PERSON, "   
lt_it_adtlx_addr_ind  TYPE STANDARD TABLE OF BAPIADTLX, "   
lv_is_data_organ  TYPE BAPIBUS1006_CENTRAL_ORGAN, "   
lt_it_adsmtp_addr_ind  TYPE STANDARD TABLE OF BAPIADSMTP, "   
lv_is_data_group  TYPE BAPIBUS1006_CENTRAL_GROUP, "   
lt_it_adrml_addr_ind  TYPE STANDARD TABLE OF BAPIADRML, "   
lv_is_data_x  TYPE BAPIBUS1006_CENTRAL_X, "   
lt_it_adx400_addr_ind  TYPE STANDARD TABLE OF BAPIADX400, "   
lv_is_data_person_x  TYPE BAPIBUS1006_CENTRAL_PERSON_X, "   
lt_it_adrfc_addr_ind  TYPE STANDARD TABLE OF BAPIADRFC, "   
lv_is_data_organ_x  TYPE BAPIBUS1006_CENTRAL_ORGAN_X, "   
lt_it_adprt_addr_ind  TYPE STANDARD TABLE OF BAPIADPRT. "   

  CALL FUNCTION 'BUPA_CENTRAL_CHANGE'  "
    EXPORTING
         IV_PARTNER = lv_iv_partner
         IS_DATA_GROUP_X = lv_is_data_group_x
         IS_CENTRAL_CUSTOMER_EXT = lv_is_central_customer_ext
         IS_CENTRAL_CUSTOMER_EXT_X = lv_is_central_customer_ext_x
         IV_X_SAVE = lv_iv_x_save
         IV_CHANGE_BAS = lv_iv_change_bas
         IV_DUPLICATE_MESSAGE_TYPE = lv_iv_duplicate_message_type
         IV_VALID_DATE = lv_iv_valid_date
         IV_CHECK_ADDRESS = lv_iv_check_address
         IS_DUPLICATE_CHECK_ADDRESS = lv_is_duplicate_check_address
         IV_PARTNER_GUID = lv_iv_partner_guid
         IS_DATA = lv_is_data
         IS_DATA_PERSON = lv_is_data_person
         IS_DATA_ORGAN = lv_is_data_organ
         IS_DATA_GROUP = lv_is_data_group
         IS_DATA_X = lv_is_data_x
         IS_DATA_PERSON_X = lv_is_data_person_x
         IS_DATA_ORGAN_X = lv_is_data_organ_x
    TABLES
         IT_ADTEL_ADDR_IND = lt_it_adtel_addr_ind
         IT_ADSSF_ADDR_IND = lt_it_adssf_addr_ind
         IT_ADURI_ADDR_IND = lt_it_aduri_addr_ind
         IT_ADPAG_ADDR_IND = lt_it_adpag_addr_ind
         IT_ADCOMREM_ADDR_IND = lt_it_adcomrem_addr_ind
         IT_ADCOMUSE_ADDR_IND = lt_it_adcomuse_addr_ind
         IT_ADTEL_ADDR_IND_X = lt_it_adtel_addr_ind_x
         IT_ADFAX_ADDR_IND_X = lt_it_adfax_addr_ind_x
         IT_ADTTX_ADDR_IND_X = lt_it_adttx_addr_ind_x
         IT_ADTLX_ADDR_IND_X = lt_it_adtlx_addr_ind_x
         IT_ADSMTP_ADDR_IND_X = lt_it_adsmtp_addr_ind_x
         IT_ADFAX_ADDR_IND = lt_it_adfax_addr_ind
         IT_ADRML_ADDR_IND_X = lt_it_adrml_addr_ind_x
         IT_ADX400_ADDR_IND_X = lt_it_adx400_addr_ind_x
         IT_ADRFC_ADDR_IND_X = lt_it_adrfc_addr_ind_x
         IT_ADPRT_ADDR_IND_X = lt_it_adprt_addr_ind_x
         IT_ADSSF_ADDR_IND_X = lt_it_adssf_addr_ind_x
         IT_ADURI_ADDR_IND_X = lt_it_aduri_addr_ind_x
         IT_ADPAG_ADDR_IND_X = lt_it_adpag_addr_ind_x
         IT_ADCOMREM_ADDR_IND_X = lt_it_adcomrem_addr_ind_x
         IT_ADCOMUSE_ADDR_IND_X = lt_it_adcomuse_addr_ind_x
         ET_ADDR_DUPLICATES = lt_et_addr_duplicates
         IT_ADTTX_ADDR_IND = lt_it_adttx_addr_ind
         ET_RETURN = lt_et_return
         IT_ADTLX_ADDR_IND = lt_it_adtlx_addr_ind
         IT_ADSMTP_ADDR_IND = lt_it_adsmtp_addr_ind
         IT_ADRML_ADDR_IND = lt_it_adrml_addr_ind
         IT_ADX400_ADDR_IND = lt_it_adx400_addr_ind
         IT_ADRFC_ADDR_IND = lt_it_adrfc_addr_ind
         IT_ADPRT_ADDR_IND = lt_it_adprt_addr_ind
. " BUPA_CENTRAL_CHANGE




ABAP code using 7.40 inline data declarations to call FM BUPA_CENTRAL_CHANGE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
"SELECT single SAVE_ADDR FROM BAPI4001_1 INTO @DATA(ld_iv_x_save).
DATA(ld_iv_x_save) = 'X'.
 
 
"SELECT single FLAG FROM SZAD_FIELD INTO @DATA(ld_iv_change_bas).
DATA(ld_iv_change_bas) = 'X'.
 
 
 
"SELECT single CONTROLDUPLICATEMESSAGE FROM BAPIBUS1006_HEAD INTO @DATA(ld_iv_duplicate_message_type).
 
"SELECT single VALID_DATE FROM BAPIBUS1006_VALIDITY INTO @DATA(ld_iv_valid_date).
DATA(ld_iv_valid_date) = SY-DATLO.
 
 
"SELECT single FLAG FROM SZAD_FIELD INTO @DATA(ld_iv_check_address).
DATA(ld_iv_check_address) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!