I_BusinessPartnerAddress_2
Basic View for BP Address
I_BusinessPartnerAddress_2 is a Basic CDS View that provides data about "Basic View for BP Address" in SAP S/4HANA. It reads from 1 data source (but020) and exposes 61 fields with key fields mandt, BusinessPartner, AddressNumber. Part of development package MDC_BUPA_GOV_BO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| but020 | but020 | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBPADDRESS2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Basic View for BP Address | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AbapCatalog.preserveKey | true | view |
Fields (61)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | mandt | but020 | client | Workflow definition: Client |
| KEY | BusinessPartner | but020 | partner | With Partner |
| KEY | AddressNumber | but020 | addrnumber | Address Number |
| ValidityStartDate | but020 | addr_valid_from | Valid From | |
| ValidityEndDate | but020 | addr_valid_to | Valid To | |
| BusinessPartnerAddressUUID | but020 | address_guid | UUID | |
| CareOfName | name_co | c/o | ||
| AdditionalStreetSuffixName | location | Text | ||
| CorrespondenceLanguage | langu | Primary lang. | ||
| PrfrdCommMediumType | adrc | deflt_comm | Comm. Method | |
| POBox | po_box | PO Box | ||
| POBoxIsWithoutNumber | po_box_num | PO Box w/o No. | ||
| POBoxPostalCode | post_code2 | PO Box Post Cde | ||
| POBoxLobbyName | po_box_lobby | PO Box Lobby | ||
| POBoxDeviatingCityName | po_box_loc | PO Box City | ||
| POBoxDeviatingRegion | po_box_reg | PO Region | ||
| POBoxDeviatingCountry | po_box_cty | PO Box C/R | ||
| DeliveryServiceTypeCode | deli_serv_type | Delvry Serv Type | ||
| DeliveryServiceNumber | deli_serv_number | Delivery Service No. | ||
| AddressTimeZone | time_zone | TimeZone | ||
| CityFileTestStatus | adrc | chckstatus | Check Status | |
| AddressStreetUnusable | adrc | dont_use_s | Undeliverable | |
| AddressPostBoxUnusable | adrc | dont_use_p | Undeliverable | |
| FullName | ||||
| CityName | city1 | City | ||
| DistrictName | city2 | District | ||
| CityNumber | city_code | Japan City Code | ||
| HomeCityName | home_city | Different City | ||
| PostalCode | post_code1 | Postal Code | ||
| CompanyPostalCode | post_code3 | Company Post Cd | ||
| StreetName | street | Street Code | ||
| StreetPrefixName | str_suppl1 | Street 2 | ||
| AdditionalStreetPrefixName | str_suppl2 | Street 3 | ||
| StreetSuffixName | str_suppl3 | Street 4 | ||
| HouseNumber | house_num1 | House Number | ||
| HouseNumberSupplementText | house_num2 | Supplement | ||
| Building | adrc | building | Building code | |
| Floor | adrc | floor | Floor | |
| RoomNumber | adrc | roomnumber | Room Number | |
| Country | country | Venue: Ctry/Reg | ||
| Region | region | Venue Region | ||
| BPCountyText | county | Wyoming County | ||
| CountyCode | county_code | County code | ||
| TownshipCode | township_code | Township code | ||
| TownshipName | township | Township | ||
| FormOfAddress | title | View Title | ||
| BusinessPartnerName1 | name1 | PA text | ||
| BusinessPartnerName2 | name2 | Name2/First nme | ||
| Nation | adrc | nation | Country/Region | |
| PhoneNumber | adrc | tel_number | Telephone | |
| AddressFaxNumber | adrc | fax_number | Fax Number | |
| SearchTerm1 | adrc | sort1 | Sort string 1 | |
| SearchTerm2 | adrc | sort2 | Sort string 2 | |
| StreetSearch | mc_street | Street | ||
| CitySearch | mc_city1 | City | ||
| BusinessPartnerName3 | name3 | Name 3 | ||
| BusinessPartnerName4 | name4 | Name 4 | ||
| TaxJurisdiction | taxjurcode | Tax Jurisdiction | ||
| TransportZone | transpzone | Transport Zone | ||
| AddressCityPostBoxCode | city_code2 | City Code | ||
| Person | adcp | persnumber | Person Number |
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_BusinessPartnerAddress_2.
-- 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: IBPADDRESS2
CREATE VIEW I_BusinessPartnerAddress_2 AS
SELECT
but020.client AS mandt,
but020.partner AS BusinessPartner,
but020.addrnumber AS AddressNumber,
but020.addr_valid_from AS ValidityStartDate,
but020.addr_valid_to AS ValidityEndDate,
but020.address_guid AS BusinessPartnerAddressUUID,
name_co AS CareOfName,
location AS AdditionalStreetSuffixName,
langu AS CorrespondenceLanguage,
adrc.deflt_comm AS PrfrdCommMediumType,
po_box AS POBox,
po_box_num AS POBoxIsWithoutNumber,
post_code2 AS POBoxPostalCode,
po_box_lobby AS POBoxLobbyName,
po_box_loc AS POBoxDeviatingCityName,
po_box_reg AS POBoxDeviatingRegion,
po_box_cty AS POBoxDeviatingCountry,
deli_serv_type AS DeliveryServiceTypeCode,
deli_serv_number AS DeliveryServiceNumber,
time_zone AS AddressTimeZone,
adrc.chckstatus AS CityFileTestStatus,
adrc.dont_use_s AS AddressStreetUnusable,
adrc.dont_use_p AS AddressPostBoxUnusable,
cast(substring(replace(concat(name1, concat(' &', name2)), '&', ''),1,80) as adfullname ) AS FullName,
city1 AS CityName,
city2 AS DistrictName,
city_code AS CityNumber,
home_city AS HomeCityName,
post_code1 AS PostalCode,
post_code3 AS CompanyPostalCode,
street AS StreetName,
str_suppl1 AS StreetPrefixName,
str_suppl2 AS AdditionalStreetPrefixName,
str_suppl3 AS StreetSuffixName,
house_num1 AS HouseNumber,
house_num2 AS HouseNumberSupplementText,
adrc.building AS Building,
adrc.floor AS Floor,
adrc.roomnumber AS RoomNumber,
Country,
Region,
county AS BPCountyText,
county_code AS CountyCode,
township_code AS TownshipCode,
township AS TownshipName,
title AS FormOfAddress,
name1 AS BusinessPartnerName1,
name2 AS BusinessPartnerName2,
adrc.nation AS Nation,
adrc.tel_number AS PhoneNumber,
adrc.fax_number AS AddressFaxNumber,
adrc.sort1 AS SearchTerm1,
adrc.sort2 AS SearchTerm2,
mc_street AS StreetSearch,
mc_city1 AS CitySearch,
name3 AS BusinessPartnerName3,
name4 AS BusinessPartnerName4,
taxjurcode AS TaxJurisdiction,
transpzone AS TransportZone,
city_code2 AS AddressCityPostBoxCode,
adcp.persnumber AS Person
FROM but020
;
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