35 useful BAPIs to manage Business Partners

0
11069

Dear SAPLearners, in this blog post we will learn about the list of BAPIs to manage Business Partners.

What is Business Partner?

An individual, an organization, a group of individuals, or a set of organizations in which a firm has a business interest. This business object is used in a wide variety of business transactions. You develop and manage your business partners and the functions they play in your organization centrally. –source SAP

Business Partner is the primary object and single point of entry for Business Partner, Customer, and Supplier (previously known as Vendor) master data in SAP S/4HANA. Business Partner data is divided into several areas and the following BAPIs can be used to below data

  • Central Data
  • Address Data
  • Roles
  • Bank Details
  • Payment Card Details
  • Status
  • Industry Sectors
  • Business Hours
  • Identifications
List of BAPIs to manage Business Partners.

The following is a list of BAPIs to manage Business Partners in SAP S/4 HANA. You can create, update and remove Business Partner.

Business Partner Central Data

The central data includes all general information of a business partner and is stored in table BUT000. The following data is available in business partner central data.

  • Business partner category, grouping
  • Business partner names and name affixes
  • Personal data
  • Organization data
  • Search terms and Control parameters
BAPI_BUPA_CREATE_FROM_DATACreate a business partner
BAPI_BUPA_CENTRAL_CHANGEChanging a business partner
BAPI_BUPA_CENTRAL_GETDETAILReading the central data of a business partner
BAPI_BUPA_CENTRAL_GETLISTGet central BP-Data of a period
BAPI_BUPA_CENTRAL_MAINT_PERIODMaintenance of central data for a period

Business Partner Address Data

Multiple addresses are permitted for a business partner. Address types such as delivery address and communication address are used to determine addresses.

BAPI_BUPA_ADDRESSES_GETGet all addresses for a BP
BAPI_BUPA_ADDRESS_ADDAdd address
BAPI_BUPA_ADDRESS_CHANGEChange address
BAPI_BUPA_ADDRESS_GETDETAILGet address
BAPI_BUPA_ADDRESS_GET_NUMBERSGet address numbers
BAPI_BUPA_ADDRESS_REMOVERemove address

Business Partner Roles

A business partner can play multiple roles at the same time. Role categories determine roles.

BAPI_BUPA_ROLES_GET_2Get all roles
BAPI_BUPA_ROLE_ADD_2Add role
BAPI_BUPA_ROLE_CHANGEChange business partner role
BAPI_BUPA_ROLE_EXISTENCE_CHECKCheck role for the existence

Business Partner Bank Details

It contains all of the information about a business partner’s bank accounts. A Business partner can have any number of bank details.

Following are the BAPIs you can use to add, update, remove and get bank details for a business partner.

BAPI_BUPA_BANKDETAIL_ADDAdd bank detail
BAPI_BUPA_BANKDETAIL_CHANGEChange bank detail
BAPI_BUPA_BANKDETAIL_GETDETAILGet bank detail
BAPI_BUPA_BANKDETAIL_NUMBERSGet bank detail numbers
BAPI_BUPA_BANKDETAIL_REMOVERemove bank detail
BAPI_BUPA_BANKDETAILS_GETGet bank details of a business partner

Business Partner Payment Card Details

For a business partner, you can enter an unlimited number of payment cards. One or more business partners can be assigned a payment card. As the standard payment card, you can identify the payment card that a business partner uses the most frequently.

Following are the BAPIs you can use to add, change, remove and set default payment card details.

BAPI_BUPA_PCARD_ADDAdd payment card details
BAPI_BUPA_PCARD_CHANGEChange payment card details
BAPI_BUPA_PCARD_GETDETAILGet payment card details
BAPI_BUPA_PCARD_GETDETAILSGet all card details of a business partner
BAPI_BUPA_PCARD_REMOVERemove payment card details
BAPI_BUPA_PCARD_SETDEFAULTThe setting of the standard payment card details

Business Parnter Status

It includes various characteristics for a business partner’s status, for example, the archiving flag or a lock.

Following are the BAPIs you can use to add, get and remove the status.

BAPI_BUPA_STATUS_ADDAdd status
BAPI_BUPA_STATUS_GETDETAILGet status detail
BAPI_BUPA_STATUS_REMOVERemove status

Business Partner Industry

Business partners of the business partner category Organization are classified according to their industries. The assignment of business partners to industries adds another dimension to the process of identifying business partners.

Following are the BAPIs you can use to add, change, get and remove the business partner industry sector data.

BAPI_INDUSTRYSECTORDETAILS_GETGet industry sector details
BAPI_INDUSTRYSECTOR_ADDAdd industry sector
BAPI_INDUSTRYSECTOR_CHANGEChange industry sectors
BAPI_INDUSTRYSECTOR_GET_DETAILGet industry sector data
BAPI_INDUSTRYSECTOR_REMOVERemove industry sector data
BAPI_PARTNER_GET_BY_IDNUMBERGet partner on the basis of an ID-Number

Business Partner Business Hours

Business hours can indicate when and how a business partner can be contacted. Following are the BAPIs you can use to add, change, get and remove the business partner business hours data.

BAPI_BUPA_HOURS_ADDAdd an hours rule to a business partner
BAPI_BUPA_HOURS_CHANGEChange an hours rule of a business partner
BAPI_BUPA_HOURS_GETDETAILGet details of an hours rule of a business partner
BAPI_BUPA_HOURS_REMOVERemove an hours rule of a business partner

Business Parnter Indentification Number

Identification Number is an alphanumeric key that is provided by external sources and can be recorded in the system as an attribute for a business partner. To identify a business partner, the identification number may be used in lieu of the business partner number.

Following are the BAPIs you can use to add, change, get and remove the business partner identification number data.

BAPI_IDENTIFICATIONDETAILS_GETGet identification numbers
BAPI_IDENTIFICATION_ADDAdd identification number
BAPI_IDENTIFICATION_CHANGEChange identification number
BAPI_IDENTIFICATION_GET_DETAILGet identification numbers
BAPI_IDENTIFICATION_REMOVERemove identification number

Conclusion

Congrats!! you have successfully learned about the list of BAPIs to manage Business Partners in S/4 HANA.

Other References