I_BusinessPartnerAddressType

DDL: I_BUSINESSPARTNERADDRESSTYPE SQL: IBPADDRTYPE Type: view BASIC

Business Partner Address Types

I_BusinessPartnerAddressType (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

BusinessPartnerAddressUsage · Database & Data Management

I_BusinessPartnerAddressType is a Basic CDS View that provides data about "Business Partner Address Types" in SAP S/4HANA. It reads from 1 data source (tb009) and exposes 2 fields with key field AddressType. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Business Partner
Purpose
This CDS view is designed to provide a structured representation of business partner address types, including their associated textual descriptions. This CDS view provides the data to answer the following business questions: What are the different types of addresses associated with business partners? Some of the address types are billing address, shipping address, postal address. How can I retrieve the textual descriptions for each address type?

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 AddressType Type of address

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentAP-MD-BP-RAP
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tb009 tb009 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BusinessPartnerAddressTypeT _Text $projection.AddressType = _Text.AddressType

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IBPADDRTYPE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.sapObjectNodeType.name BusinessPartnerAddressUsage view
Search.searchable true view
VDM.viewType #BASIC view
EndUserText.label Business Partner Address Types view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey AddressType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #NONE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY AddressType adr_kind Address 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_BusinessPartnerAddressType.
-- 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: IBPADDRTYPE

CREATE VIEW I_BusinessPartnerAddressType AS
SELECT
  adr_kind AS AddressType
FROM tb009
LEFT OUTER JOIN I_BusinessPartnerAddressTypeT AS _Text ON AddressType = _Text.AddressType  -- association [0..*]
;