Fonction SAP BAPI_BUPA_CREATE_FROM_DATA - SAP BP, BAPI: Create Business Partner

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACCEPT_ERROR BAPI4001_1-ACCEPT_ERR C 1 SPACE X Accept Regional Structure Check Errors with Warnings
ADDRESSDATA BAPIBUS1006_ADDRESS u 830 X Address
BUSINESSPARTNEREXTERN BAPIBUS1006_HEAD-BPARTNER C 10 X Business Partner Number
CENTRALDATA BAPIBUS1006_CENTRAL u 137 Central Data
CENTRALDATAGROUP BAPIBUS1006_CENTRAL_GROUP u 84 X Central Data, Group
CENTRALDATAORGANIZATION BAPIBUS1006_CENTRAL_ORGAN u 203 X Central Data, Organization
CENTRALDATAPERSON BAPIBUS1006_CENTRAL_PERSON u 465 X Central Data, Person
DUPLICATE_MESSAGE_TYPE BAPIBUS1006_HEAD-CONTROLDUPLICATEMESSAGE C 1 X Message Type Control
PARTNERCATEGORY BAPIBUS1006_HEAD-PARTN_CAT C 1 Business Partner Category
PARTNERGROUP BAPIBUS1006_HEAD-PARTN_GRP C 4 X Business Partner Grouping

Paramètre Reférence Type Long. Description
BUSINESSPARTNER BAPIBUS1006_HEAD-BPARTNER C 10 Business Partner Number

Paramètre Reférence Long. Facultatif Description
ADDRESSDUPLICATES BAPIBUS1006_ADDRESS_DUPLICATES 67 X Address Duplicates
ADDRESSNOTES BAPIAD_REM 55 X Address Notes
COMMUNICATIONNOTES BAPICOMREM 60 X Notes on Communication
COMMUNICATIONNOTESNONADDRESS BAPICOMREM 60 X Notes on Communication Types (Address-Independent)
COMMUNICATIONUSAGE BAPIADUSE 46 X Communication Usages (BAS)
COMMUNICATIONUSAGENONADDRESS BAPIADUSE 46 X Communication Usages (Address-Independent, BAS)
E_MAILDATA BAPIADSMTP 300 X Internet Addresses
E_MAILDATANONADDRESS BAPIADSMTP 300 X E-Mail Addresses (Address-Independent)
FAXDATA BAPIADFAX 143 X Fax Numbers
FAXDATANONADDRESS BAPIADFAX 143 X Fax Numbers (Address-Independent)
PAGADDRESSDATA BAPIADPAG 136 X Pager Numbers
PAGADDRESSDATANONADDRESS BAPIADPAG 136 X Pager Numbers (Address-Independent)
PRTADDRESSDATA BAPIADPRT 40 X Printer Addresses
PRTADDRESSDATANONADDRESS BAPIADPRT 40 X PRT Addresses (Address-Independent)
RETURN BAPIRET2 548 X Messages
RFCADDRESSDATA BAPIADRFC 69 X RFC Addresses
RFCADDRESSDATANONADDRESS BAPIADRFC 69 X RFC Addresses (Address-Independent)
RMLADDRESSDATA BAPIADRML 63 X RemoteMail Addresses
RMLADDRESSDATANONADDRESS BAPIADRML 63 X RML Addresses (Address-Independent)
SSFADDRESSDATA BAPIADSSF 2391 X SSF Addresses
SSFADDRESSDATANONADDRESS BAPIADSSF 2391 X SSF Addresses (Address-Independent)
TELEFONDATA BAPIADTEL 142 X Telephone Numbers
TELEFONDATANONADDRESS BAPIADTEL 142 X Telephone Numbers (Address-Independent)
TELETEXDATA BAPIADTTX 72 X Teletex Numbers
TELETEXDATANONADDRESS BAPIADTTX 72 X Teletex Numbers (Address-Independent)
TELEXDATA BAPIADTLX 72 X Telex Numbers
TELEXDATANONADDRESS BAPIADTLX 72 X Telex Numbers (Address-Independent)
URIADDRESSDATA BAPIADURI 2219 X URI Addresses
URIADDRESSDATANONADDRESS BAPIADURI 2219 X URI Addresses (Address-Independent)
X400ADDRESSDATA BAPIADX400 948 X X400 Addresses
X400ADDRESSDATANONADDRESS BAPIADX400 948 X X.400 Addresses (Address-Independent)

Functionality
You use this function module to create a business partner, whereby youcan also create an address with related communication types. The dataentered in the interface is checked for consistency and for Customizingsettings. If this check reveals one or more errors, the errors arelogged in the RETURN table, and the business partner is not created.
If the appropriate settings have been made in the system, a duplicatecheck is carried out during creation. If a record that is to be createdis recognized as already existing in the system, the addresses that aresimilar to this record are stated in the table ADDRESSDUPLICATES. Ifthe tool used for the duplicate check offers the possibility, theprobability of the current record being a duplicate is stated in thetable ADDRESSDUPLICATES.
It is possible, via the table parameters stated above, to createaddress-independent communication data for the business partner. Incontrast to the address-dependent communication data, no otherinformation from the structure ADRESSDATA is necessary here forcreating the communication data. It is possible to maintain bothaddress-dependent communication data and address-independentcommunication data for a business partner. The data for theaddress-independent communication data is checked, possible errors arelogged and output in the RETURN table.
TELEFONDATANONADDRESS
FAXDATANONADDRESS
TELETEXDATANONADDRESS
TELEXDATANONADDRESS
E_MAILDATANONADDRESS
RMLADDRESSDATANONADDRESS
X400ADDRESSDATANONADDRESS
RFCADDRESSDATANONADDRESS
PRTADDRESSDATANONADDRESS
SSFADDRESSDATANONADDRESS
URIADDRESSDATANONADDRESS
PAGADDRESSDATANONADDRESS
COMMUNICATIONNOTESNONADDRESS

Notes
It is mandatory to enter the partner category.
INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX

Description
You need bear this parameter in mind only if address data for thebusiness partner should be created at the same time as business partnerdata. If address data should be created, you can use this parameter tocontrol whether a message from the regional structure check of categoryE or W should be issued. If a message of category W should be issuedfrom the regional structure check, enter the value X in this parameter

Value range
X

Default
The default value of this parameter is SPACE. Thus a message that mayoccurr in the regional structure check is issued with the category E.

Description
The structure contains information on business partner addresses. Forinformation on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.
INCLUDE BAPI_BUSINESSPARTNER OBJECT DOKU ID TX
Here you can provide a number when you create a business partner if thenumber should be assigned externally. In the case of internal numberassignment, you leave this parameter empty.

Description
The structure contains general data on the business partner,independent of the partner category.
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
The structure contains general data on the business partner category"Group".
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
The structure contains general data on the business partner category"Organization".
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
The structure contains general data on the business partner category"Person".
For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

Description
You can use this parameter to control whether the message type with theduplicate check should be an E message or a W message, in other wordsan error message, or a warning. With E messages, further processing iscanceled.
Permitted values
E for errors and W for warnings.
If you do not specify a value, standard message category E is used.

Description
Category into which business partners are classified.
A differentiation is made between the following business partnercategories:

  • Organization

  • Natural person

  • Group of natural persons or organizations
  • Value range
    1,,Natural person
    2,,Organization
    3,,Group

    Default

    Description
    You must assign a grouping when you create a business partner. Thisgoverns the number range.
    This assignment cannot be changed at a later stage.
    When you create a business partner, the entry you make in the"grouping" field determines whether and how the business partner numberfield has to be filled with data.

    Description
    The addresses that the system has recognized as being the same orsimilar during the creation of the current record are stated in thistable. The field ADDRNUMBER contains the address number of theaddresses recognized as being the same or similar. In the case that theaddresses are personal addresses, the field PERSNUMBER is filled withthe relevant personal number.
    Depending on whether the tool for the duplicate check offers thepossibility, the field PERCENTAGE contains the probability of the givenaddress record being a duplicate

    Description
    The table contains notes/comments on the addresses of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains notes/comments on the communication data of abusiness partner. For information on the significance of the individualparameter fields,
    consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains comments on the address-independent communicationdata.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the Internet addresses of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent Email dataof the Business Partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the fax data of a business partner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent fax data ofthe business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the pager numbers of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent pageraddress data of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the printer addresses of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent PRT addressdata of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    Table contains return messages from the method call.

    Description
    Table contains information on the RFC addresses of a business partner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent RFC addressdata of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    Table contains information on the R-mail addresses of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAP

    Description
    This table contains information on the address-independent RML addressdata of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    Table contains information on the SSF addresses of a business partner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent SSF addressdata of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the telephone addresses of abusiness partner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent telephonedata of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the teletex data of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent teletex dataof the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the telex data of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    You can find information on the address-independent telex data of thebusiness partner in this table.
    For more information on the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the URI addresses of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent URI addressdata of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

    Description
    This table contains information on the X400 addresses of a businesspartner.
    For information on the significance of the individual parameter fields,consult the corresponding data element documentation in the ABAPdictionary.

    Description
    This table contains information on the address-independent X400 addressdata of the business partner.
    For information on the individual parameter fields, see thecorresponding data element documentation in the ABAP Dictionary.

573855SAP-BP: BAPI_BUPA_CREATE_FROM_DATA/BAPI_BUPA_CENTRAL_CHANGE
527383Direct Input/BAPIs: Use of external partner number
525199Short dump after address changes for business partners