SAP BUPR_CONTP_CREATE Function Module for
BUPR_CONTP_CREATE is a standard bupr contp create 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 bupr contp create FM, simply by entering the name BUPR_CONTP_CREATE 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 BUPR_CONTP_CREATE 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 'BUPR_CONTP_CREATE'".
EXPORTING
* IV_PARTNER = "
* IS_DATA = "Central Data
* IS_ADDRESS = "Address Data
* IV_TESTRUN = ' ' "
* IV_X_SAVE = 'X' "Update
* IV_DUPLICATE_MESSAGE_TYPE = "
* IV_RELKIND = "
* IV_PARTNER_GUID = "
* IV_CONTACTPERSON = "
* IV_CONTACTPERSON_GUID = "
* IV_DATE_FROM = SY-DATLO "Validity Interval: Valid From
* IV_DATE_TO = '99991231' "Validity Interval: Valid To
* IV_DEFAULTRELATIONSHIP = "Standard Relationship
* IV_ADDRNUMBER = "
* IV_ADDRGUID = "
TABLES
* IT_ADTEL = "Telephone Numbers
* IT_ADSSF = "SSF Addresses
* IT_ADURI = "URI Addresses
* IT_ADPAG = "Pager Numbers
* IT_AD_REM = "Remarks for Address
* IT_COMREM = "Remarks for Communication Types
* ET_ADDRESSDUPLICATES = "
* ET_RETURN = "Messages
* IT_ADFAX = "Telefax Numbers
* IT_ADTTX = "Teletex Numbers
* IT_ADTLX = "Telex Numbers
* IT_ADSMTP = "E-Mail Addresses
* IT_ADRML = "RML Addresses
* IT_ADX400 = "X400 Addresses
* IT_ADRFC = "RFC Addresses
* IT_ADPRT = "PRT Addresses
IMPORTING Parameters details for BUPR_CONTP_CREATE
IV_PARTNER -
Data type: BU_PARTNEROptional: Yes
Call by Reference: No ( called with pass by value option)
IS_DATA - Central Data
Data type: BAPIBUS1006002_CENTRALOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_ADDRESS - Address Data
Data type: BAPIBUS1006002_ADDRESSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TESTRUN -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_X_SAVE - Update
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_DUPLICATE_MESSAGE_TYPE -
Data type: BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_RELKIND -
Data type: BU_RELKINDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PARTNER_GUID -
Data type: BU_PARTNER_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONTACTPERSON -
Data type: BU_PARTNEROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONTACTPERSON_GUID -
Data type: BU_PARTNER_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DATE_FROM - Validity Interval: Valid From
Data type: BAPIBUS1006002_HEADER-VALIDFROMDATEDefault: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_DATE_TO - Validity Interval: Valid To
Data type: BAPIBUS1006002_HEADER-VALIDUNTILDATEDefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_DEFAULTRELATIONSHIP - Standard Relationship
Data type: BU_XDFRELOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_ADDRNUMBER -
Data type: AD_ADDRNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_ADDRGUID -
Data type: BU_ADDRESS_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BUPR_CONTP_CREATE
IT_ADTEL - Telephone Numbers
Data type: BAPIADTELOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADSSF - SSF Addresses
Data type: BAPIADSSFOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADURI - URI Addresses
Data type: BAPIADURIOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADPAG - Pager Numbers
Data type: BAPIADPAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_AD_REM - Remarks for Address
Data type: BAPIAD_REMOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_COMREM - Remarks for Communication Types
Data type: BAPICOMREMOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ADDRESSDUPLICATES -
Data type: BAPIBUS1006002_ADDR_DUPLICATESOptional: Yes
Call by Reference: Yes
ET_RETURN - Messages
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADFAX - Telefax Numbers
Data type: BAPIADFAXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADTTX - Teletex Numbers
Data type: BAPIADTTXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADTLX - Telex Numbers
Data type: BAPIADTLXOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADSMTP - E-Mail Addresses
Data type: BAPIADSMTPOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADRML - RML Addresses
Data type: BAPIADRMLOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADX400 - X400 Addresses
Data type: BAPIADX400Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADRFC - RFC Addresses
Data type: BAPIADRFCOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADPRT - PRT Addresses
Data type: BAPIADPRTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BUPR_CONTP_CREATE 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: | ||||
| lt_it_adtel | TYPE STANDARD TABLE OF BAPIADTEL, " | |||
| lv_iv_partner | TYPE BU_PARTNER, " | |||
| lv_is_data | TYPE BAPIBUS1006002_CENTRAL, " | |||
| lt_it_adssf | TYPE STANDARD TABLE OF BAPIADSSF, " | |||
| lt_it_aduri | TYPE STANDARD TABLE OF BAPIADURI, " | |||
| lv_is_address | TYPE BAPIBUS1006002_ADDRESS, " | |||
| lt_it_adpag | TYPE STANDARD TABLE OF BAPIADPAG, " | |||
| lv_iv_testrun | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_it_ad_rem | TYPE STANDARD TABLE OF BAPIAD_REM, " | |||
| lv_iv_x_save | TYPE BOOLE-BOOLE, " 'X' | |||
| lt_it_comrem | TYPE STANDARD TABLE OF BAPICOMREM, " | |||
| lv_iv_duplicate_message_type | TYPE BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE, " | |||
| lv_iv_relkind | TYPE BU_RELKIND, " | |||
| lt_et_addressduplicates | TYPE STANDARD TABLE OF BAPIBUS1006002_ADDR_DUPLICATES, " | |||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_it_adfax | TYPE STANDARD TABLE OF BAPIADFAX, " | |||
| lv_iv_partner_guid | TYPE BU_PARTNER_GUID, " | |||
| lt_it_adttx | TYPE STANDARD TABLE OF BAPIADTTX, " | |||
| lv_iv_contactperson | TYPE BU_PARTNER, " | |||
| lt_it_adtlx | TYPE STANDARD TABLE OF BAPIADTLX, " | |||
| lv_iv_contactperson_guid | TYPE BU_PARTNER_GUID, " | |||
| lt_it_adsmtp | TYPE STANDARD TABLE OF BAPIADSMTP, " | |||
| lv_iv_date_from | TYPE BAPIBUS1006002_HEADER-VALIDFROMDATE, " SY-DATLO | |||
| lt_it_adrml | TYPE STANDARD TABLE OF BAPIADRML, " | |||
| lv_iv_date_to | TYPE BAPIBUS1006002_HEADER-VALIDUNTILDATE, " '99991231' | |||
| lt_it_adx400 | TYPE STANDARD TABLE OF BAPIADX400, " | |||
| lv_iv_defaultrelationship | TYPE BU_XDFREL, " | |||
| lt_it_adrfc | TYPE STANDARD TABLE OF BAPIADRFC, " | |||
| lv_iv_addrnumber | TYPE AD_ADDRNUM, " | |||
| lt_it_adprt | TYPE STANDARD TABLE OF BAPIADPRT, " | |||
| lv_iv_addrguid | TYPE BU_ADDRESS_GUID. " |
|   CALL FUNCTION 'BUPR_CONTP_CREATE' " |
| EXPORTING | ||
| IV_PARTNER | = lv_iv_partner | |
| IS_DATA | = lv_is_data | |
| IS_ADDRESS | = lv_is_address | |
| IV_TESTRUN | = lv_iv_testrun | |
| IV_X_SAVE | = lv_iv_x_save | |
| IV_DUPLICATE_MESSAGE_TYPE | = lv_iv_duplicate_message_type | |
| IV_RELKIND | = lv_iv_relkind | |
| IV_PARTNER_GUID | = lv_iv_partner_guid | |
| IV_CONTACTPERSON | = lv_iv_contactperson | |
| IV_CONTACTPERSON_GUID | = lv_iv_contactperson_guid | |
| IV_DATE_FROM | = lv_iv_date_from | |
| IV_DATE_TO | = lv_iv_date_to | |
| IV_DEFAULTRELATIONSHIP | = lv_iv_defaultrelationship | |
| IV_ADDRNUMBER | = lv_iv_addrnumber | |
| IV_ADDRGUID | = lv_iv_addrguid | |
| TABLES | ||
| IT_ADTEL | = lt_it_adtel | |
| IT_ADSSF | = lt_it_adssf | |
| IT_ADURI | = lt_it_aduri | |
| IT_ADPAG | = lt_it_adpag | |
| IT_AD_REM | = lt_it_ad_rem | |
| IT_COMREM | = lt_it_comrem | |
| ET_ADDRESSDUPLICATES | = lt_et_addressduplicates | |
| ET_RETURN | = lt_et_return | |
| IT_ADFAX | = lt_it_adfax | |
| IT_ADTTX | = lt_it_adttx | |
| IT_ADTLX | = lt_it_adtlx | |
| IT_ADSMTP | = lt_it_adsmtp | |
| IT_ADRML | = lt_it_adrml | |
| IT_ADX400 | = lt_it_adx400 | |
| IT_ADRFC | = lt_it_adrfc | |
| IT_ADPRT | = lt_it_adprt | |
| . " BUPR_CONTP_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM BUPR_CONTP_CREATE
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 BOOLE FROM BOOLE INTO @DATA(ld_iv_testrun). | ||||
| DATA(ld_iv_testrun) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_x_save). | ||||
| DATA(ld_iv_x_save) | = 'X'. | |||
| "SELECT single CONTROLDUPLICATEMESSAGE FROM BAPIBUS1006_HEAD INTO @DATA(ld_iv_duplicate_message_type). | ||||
| "SELECT single VALIDFROMDATE FROM BAPIBUS1006002_HEADER INTO @DATA(ld_iv_date_from). | ||||
| DATA(ld_iv_date_from) | = SY-DATLO. | |||
| "SELECT single VALIDUNTILDATE FROM BAPIBUS1006002_HEADER INTO @DATA(ld_iv_date_to). | ||||
| DATA(ld_iv_date_to) | = '99991231'. | |||
Search for further information about these or an SAP related objects