Ansicht
Dokumentation

BAPI_BUPA_FS_CREATE_FROM_DATA2 - Create Business Partner

BAPI_BUPA_FS_CREATE_FROM_DATA2 - Create Business Partner

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

With this method you can create business partners in selected business partner roles (BP roles).

You can create business partners of the category person, organization, or group, enter relevant general data, and control the number assignment using business partner grouping.

You can also enter an address including data for address-dependent and address-independent communication methods.

Example

Notes

Before you create a business partner a simple exclusive lock is activated. This prevents other users from changing the business partner that is currently being processed until either the method TransactionCommit or TransactionRollback for the Business Object BapiService is executed. The authorized user can access the same business partner repeatedly.

The business partner is not written to the database until the method TransactionCommit for the Business Object BapiService has been called.

The system carries out an authorization check if an authorization object is entered in the authorization group for the business partner. The system checks the authorization object B_BUPA_GRP with the activity 02 (change).

You can make settings for business partner authorization objects to be checked in Customizing for the SAP Business Partner under Business Partner-> Basic Settings-> Authorization Management.

When you create a business partner you have to enter the business partner category.

If you create a business partner with external number assignment then you have to specify an external business partner number in the parameter BUSINESSPARTNEREXTERN ( business partner number). If you use internal number assignment then the system automatically selects a business partner number and returns this in the parameter BUSINESSPARTNER ( business partner number).

You generally create the business partner role for the business partner in the parameter ROLES directly using the business partner role. If you enter the BP role category in the parameter ROLES then the business partner is created in the BP role that is marked as the standard assignment for this BP role type in the IMG activity Define BP Roles.

By setting the indicator Create all BP roles belonging to a BP role category you can create the business partner in all business partner roles that are assigned to a BP role category.

The system checks data entered for a business partner with regards to its consistency and in accordance with certain Customizing settings.

In the parameter ACCEPT_ERROR you can define how the system is to deal with errors arising from the regional structure check for addresses.

If you have set the system accordingly, it carries out a duplicate check when addresses are created. If a record that you have created already exists in the system, the system returns any addresses that are similar to this record in the table ADDRESSDUPLICATES. If the tool used for the duplicate check supports the option, then the system also states the likelihood that the address record in question is a duplicate as a percentage. If no error occurs when adding addresses, then the data is saved and the system returns a unique address GUID in the parameter ADDRESSGUID.

This method works with buffering. Change and read methods for this business object category can be repeatedly used for this instance. After calling the save method, read and write methods can access the buffered instances and supply current attributes in the same Logical Unit of Work (LUW).

Messages are returned in the RETURN parameter. You can find the return values and their meaning in the parameter documentation.

Further information

Do not use the similar method FSCreateFromData (create business partner) as the business partner roles specified in this method cannot be processed correctly (obsolete role concept).

You will find more information on creating business partners in dialog processing in the SAP Library by choosing SAP Business Partner for Financial Services.





Parameters

ACCEPT_ERROR
ADDRESSDATA
ADDRESSDUPLICATES
ADDRESSNOTES
BUSINESSPARTNER
BUSINESSPARTNEREXTERN
CENTRALDATA
CENTRALDATAGROUP
CENTRALDATAORGANIZATION
CENTRALDATAPERSON
CHANGEDOCU
COMMUNICATIONNOTES
COMMUNICATIONNOTESNONADDRESS
DUPLICATE_MESSAGE_TYPE
E_MAILDATA
E_MAILDATANONADDRESS
FAXDATA
FAXDATANONADDRESS
PAGADDRESSDATA
PAGADDRESSDATANONADDRESS
PARTNERCATEGORY
PARTNERGROUP
PRTADDRESSDATA
PRTADDRESSDATANONADDRESS
RETURN
RFCADDRESSDATA
RFCADDRESSDATANONADDRESS
RMLADDRESSDATA
RMLADDRESSDATANONADDRESS
ROLES
SSFADDRESSDATA
SSFADDRESSDATANONADDRESS
TELEFONDATA
TELEFONDATANONADDRESS
TELETEXDATA
TELETEXDATANONADDRESS
TELEXDATA
TELEXDATANONADDRESS
TESTRUN
URIADDRESSDATA
URIADDRESSDATANONADDRESS
X400ADDRESSDATA
X400ADDRESSDATANONADDRESS

Exceptions

Function Group

FS_BAPI

TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 10391 Date: 20240523 Time: 102224     sap01-206 ( 131 ms )