I_BusinessPartnerType
Business Partner Types
I_BusinessPartnerType (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
BusinessPartnerType · Database & Data Management
I_BusinessPartnerType is a Basic CDS View (Dimension) that provides data about "Business Partner Types" in SAP S/4HANA. It reads from 1 data source (tb004) and exposes 2 fields with key field BusinessPartnerType. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Business Partner |
|---|
Purpose
This CDS view is designed to provide information about different kinds of business partners within a system. It retrieves the data and associates it with text descriptions from the I_BusinessPartnerTypeText view. This CDS view provides the data to answer the following business questions: What are the different kinds of business partners defined in the system? For example, manager, broker, or director. How can I retrieve the text descriptions associated with each business partner kind for better understanding and reporting? How can I ensure consistency in the kinds of business partner across different applications or reports?
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Important Fields Important fields in this view include the following: Field Name Description BusinessPartnerType User-defined attribute that allows to specify different kinds of business partners within the business partner categories.
This CDS view is designed to provide information about different kinds of business partners within a system. It retrieves the data and associates it with text descriptions from the I_BusinessPartnerTypeText view. This CDS view provides the data to answer the following business questions: What are the different kinds of business partners defined in the system? For example, manager, broker, or director. How can I retrieve the text descriptions associated with each business partner kind for better understanding and reporting? How can I ensure consistency in the kinds of business partner across different applications or reports?
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Important Fields Important fields in this view include the following: Field Name Description BusinessPartnerType User-defined attribute that allows to specify different kinds of business partners within the business partner categories.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Database & Data Management |
| Application Component | AP-MD-BP-RAP |
| Capabilities | Data Source for Data Extraction, Analytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities |
| Package | Database & Data Management for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tb004 | tb004 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BusinessPartnerTypeText | _Text | $projection.BusinessPartnerType = _Text.BusinessPartnerType |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | BUPA_TYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.representativeKey | BusinessPartnerType | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | Business Partner Types | view | |
| ObjectModel.sapObjectNodeType.name | BusinessPartnerType | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartnerType | bpkind | Business Partner Type | |
| _Text | _Text |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_BusinessPartnerType.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: BUPA_TYPE
CREATE VIEW I_BusinessPartnerType AS
SELECT
bpkind AS BusinessPartnerType
FROM tb004
LEFT OUTER JOIN I_BusinessPartnerTypeText AS _Text ON BusinessPartnerType = _Text.BusinessPartnerType -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA