I_BankOrganizationAddress
Address of an Organization used for Bank
I_BankOrganizationAddress is a CDS View that provides data about "Address of an Organization used for Bank" in SAP S/4HANA. It reads from 1 data source (I_AddrOrgNamePostalAddress) and exposes 90 fields with key fields AddressID, AddressPersonID, AddressRepresentationCode. It has 31 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AddrOrgNamePostalAddress | I_AddrOrgNamePostalAddress | from |
Associations (31)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_AddressEmailAddress_2 | _EmailAddress | _EmailAddress.AddressID = $projection.AddressID and _EmailAddress.AddressPersonID = $projection.AddressPersonID |
| [0..1] | I_AddrCurDefaultEmailAddress | _CurrentDfltEmailAddress | _CurrentDfltEmailAddress.AddressID = $projection.AddressID and _CurrentDfltEmailAddress.AddressPersonID = $projection.AddressPersonID |
| [0..*] | I_AddressPhoneNumber_2 | _PhoneNumber | _PhoneNumber.AddressID = $projection.AddressID and _PhoneNumber.AddressPersonID = $projection.AddressPersonID |
| [0..1] | I_AddrCurDfltLandlinePhoneNmbr | _CurrentDfltLandlinePhoneNmbr | _CurrentDfltLandlinePhoneNmbr.AddressID = $projection.AddressID and _CurrentDfltLandlinePhoneNmbr.AddressPersonID = $projection.AddressPersonID |
| [0..1] | I_AddrCurDfltMobilePhoneNumber | _CurrentDfltMobilePhoneNumber | _CurrentDfltMobilePhoneNumber.AddressID = $projection.AddressID and _CurrentDfltMobilePhoneNumber.AddressPersonID = $projection.AddressPersonID |
| [0..*] | I_AddressFaxNumber_2 | _FaxNumber | _FaxNumber.AddressID = $projection.AddressID and _FaxNumber.AddressPersonID = $projection.AddressPersonID |
| [0..1] | I_AddrCurDefaultFaxNumber | _CurrentDfltFaxNumber | _CurrentDfltFaxNumber.AddressID = $projection.AddressID and _CurrentDfltFaxNumber.AddressPersonID = $projection.AddressPersonID |
| [0..*] | I_AddressURI | _UniformResourceIdentifier | _UniformResourceIdentifier.AddressID = $projection.AddressID and _UniformResourceIdentifier.AddressPersonID = $projection.AddressPersonID |
| [0..1] | I_AddressMainWebsiteURL | _MainWebsiteURL | _MainWebsiteURL.AddressID = $projection.AddressID and _MainWebsiteURL.AddressPersonID = $projection.AddressPersonID |
| [0..1] | I_Region | _Region | $projection.Region = _Region.Region and $projection.Country = _Region.Country |
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
| [0..1] | I_FormOfAddress | _FormOfAddress | $projection.FormOfAddress = _FormOfAddress.FormOfAddress |
| [0..1] | I_AddressNonDeliverableReason | _POBoxAddrNonDeliverableReason | $projection.POBoxAddrNonDeliverableReason = _POBoxAddrNonDeliverableReason.AddressNonDeliverableReason |
| [0..1] | I_AddressNonDeliverableReason | _StreetAddrNonDeliverableRsn | $projection.StreetAddrNonDeliverableReason = _StreetAddrNonDeliverableRsn.AddressNonDeliverableReason |
| [0..1] | I_TransportationZone | _TransportationZone | $projection.TransportZone = _TransportationZone.TransportZone and $projection.Country = _TransportationZone.CountryCode |
| [0..1] | I_Region | _POBoxDeviatingRegion | $projection.POBoxDeviatingRegion = _POBoxDeviatingRegion.Region and $projection.POBoxDeviatingCountry = _POBoxDeviatingRegion.Country |
| [0..1] | I_Country | _POBoxDeviatingCountry | $projection.POBoxDeviatingCountry = _POBoxDeviatingCountry.Country |
| [0..1] | I_AddressCommunicationMethod | _PrfrdCommMediumType | $projection.PrfrdCommMediumType = _PrfrdCommMediumType.CommunicationMediumType |
| [0..1] | I_AddressDeliveryServiceType | _DeliveryServiceTypeCode | $projection.DeliveryServiceTypeCode = _DeliveryServiceTypeCode.DeliveryServiceTypeCode |
| [0..1] | I_Language | _CorrespondenceLanguage | $projection.CorrespondenceLanguage = _CorrespondenceLanguage.Language |
| [0..1] | I_AddressRepresentation | _AddressRepresentationCode | $projection.AddressRepresentationCode = _AddressRepresentationCode.AddressRepresentationCode |
| [0..1] | I_AddressObjectType | _AddressObjectType | $projection.AddressObjectType = _AddressObjectType.AddressObjectType |
| [0..1] | I_TimeZone | _TimeZone | $projection.AddressTimeZone = _TimeZone.TimeZoneID |
| [0..1] | I_SecondaryRegion | _SecondaryRegion | $projection.SecondaryRegion = _SecondaryRegion.SecondaryRegion and $projection.Country = _SecondaryRegion.Country and $projection.Region = _SecondaryRegion.Region |
| [0..1] | I_TertiaryRegion | _TertiaryRegion | $projection.TertiaryRegion = _TertiaryRegion.TertiaryRegion and $projection.SecondaryRegion = _TertiaryRegion.SecondaryRegion and $projection.Country = _TertiaryRegion.Country and $projection.Region = _TertiaryRegion.Region |
| [0..1] | I_PostalCity | _PostalCity | $projection.CityNumber = _PostalCity.CityNumber and $projection.Country = _PostalCity.Country |
| [0..1] | I_PostalCity | _POBoxDeviatingCityCode | $projection.POBoxDeviatingCityCode = _POBoxDeviatingCityCode.CityNumber and $projection.Country = _POBoxDeviatingCityCode.Country |
| [0..1] | I_RegionalStructureCheckStatus | _RegionalStructureCheckStatus | $projection.RegionalStructureCheckStatus = _RegionalStructureCheckStatus.RegionalStructureCheckStatus |
| [0..1] | I_Street | _Street | $projection.Country = _Street.Country and $projection.Street = _Street.Street |
| [0..1] | I_AddressGroup | _AddressGroup | $projection.AddressGroup = _AddressGroup.AddressGroup |
| [0..1] | I_AddressPersonName | _AddressPersonName | $projection.AddressPersonID = _AddressPersonName.AddressPersonID and $projection.AddressRepresentationCode = _AddressPersonName.AddressRepresentationCode |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Address of an Organization used for Bank | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | AddressID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (90)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressID | AddressID | Ship-to address | |
| KEY | AddressPersonID | |||
| KEY | AddressRepresentationCode | AddressRepresentationCode | Address Version | |
| AddressObjectType | ||||
| CorrespondenceLanguage | CorrespondenceLanguage | Language | ||
| PrfrdCommMediumType | PrfrdCommMediumType | Comm. Method | ||
| AddresseeFullName | ||||
| CityNumber | CityNumber | City Code | ||
| CityName | CityName | Name | ||
| DistrictName | DistrictName | District | ||
| VillageName | VillageName | Different City | ||
| PostalCode | PostalCode | Postal Code | ||
| CompanyPostalCode | CompanyPostalCode | Company Post Cd | ||
| Street | Street | Street Code | ||
| StreetName | StreetName | Text | ||
| StreetAddrNonDeliverableReason | StreetAddrNonDeliverableReason | Street Address Non-Deliverable Reason | ||
| StreetPrefixName1 | StreetPrefixName1 | Street 2 | ||
| StreetPrefixName2 | StreetPrefixName2 | Street 3 | ||
| StreetSuffixName1 | StreetSuffixName1 | Street 4 | ||
| StreetSuffixName2 | StreetSuffixName2 | Street 5 | ||
| HouseNumber | HouseNumber | House Number | ||
| HouseNumberSupplementText | HouseNumberSupplementText | Supplement | ||
| Building | Building | Building code | ||
| Floor | Floor | Floor | ||
| RoomNumber | RoomNumber | Room Number | ||
| Country | Country | Venue: Ctry/Reg | ||
| Region | Region | Venue Region | ||
| FormOfAddress | FormOfAddress | Title Key | ||
| AddresseeName1 | AddresseeName1 | PA text | ||
| AddresseeName2 | AddresseeName2 | Name2/First nme | ||
| AddresseeName3 | AddresseeName3 | Name 3 | ||
| AddresseeName4 | AddresseeName4 | Name 4 | ||
| AddressSearchTerm1 | AddressSearchTerm1 | Search Term 1 | ||
| AddressSearchTerm2 | AddressSearchTerm2 | Search Term 2 | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| TransportZone | TransportZone | Transport Zone | ||
| POBox | POBox | PO Box | ||
| POBoxAddrNonDeliverableReason | POBoxAddrNonDeliverableReason | PO Box Address Non-Deliverable Reason | ||
| POBoxIsWithoutNumber | POBoxIsWithoutNumber | PO Box w/o No. | ||
| POBoxPostalCode | POBoxPostalCode | PO Box Postal Code | ||
| POBoxLobbyName | POBoxLobbyName | PO Box Lobby | ||
| POBoxDeviatingCityName | POBoxDeviatingCityName | PO Box City | ||
| POBoxDeviatingCityCode | POBoxDeviatingCityCode | City Code | ||
| POBoxDeviatingRegion | POBoxDeviatingRegion | PO Region | ||
| POBoxDeviatingCountry | POBoxDeviatingCountry | PO Box C/R | ||
| CareOfName | CareOfName | c/o | ||
| DeliveryServiceTypeCode | DeliveryServiceTypeCode | Delvry Serv Type | ||
| DeliveryServiceNumber | DeliveryServiceNumber | Delivery Service No. | ||
| AddressTimeZone | AddressTimeZone | Time Zone | ||
| SecondaryRegion | SecondaryRegion | County code | ||
| SecondaryRegionName | SecondaryRegionName | County | ||
| TertiaryRegion | TertiaryRegion | Township code | ||
| TertiaryRegionName | TertiaryRegionName | Township | ||
| RegionalStructureCheckStatus | RegionalStructureCheckStatus | Check Status | ||
| AddressGroup | AddressGroup | Address group | ||
| AddressCreatedByUser | AddressCreatedByUser | Created By | ||
| AddressCreatedOnDateTime | AddressCreatedOnDateTime | Created On | ||
| AddressChangedByUser | AddressChangedByUser | Changed By | ||
| AddressChangedOnDateTime | AddressChangedOnDateTime | Changed On | ||
| _EmailAddress | _EmailAddress | |||
| _PhoneNumber | _PhoneNumber | |||
| _FaxNumber | _FaxNumber | |||
| _UniformResourceIdentifier | _UniformResourceIdentifier | |||
| _CurrentDfltEmailAddress | _CurrentDfltEmailAddress | |||
| _CurrentDfltMobilePhoneNumber | _CurrentDfltMobilePhoneNumber | |||
| _CurrentDfltLandlinePhoneNmbr | _CurrentDfltLandlinePhoneNmbr | |||
| _CurrentDfltFaxNumber | _CurrentDfltFaxNumber | |||
| _MainWebsiteURL | _MainWebsiteURL | |||
| _Region | _Region | |||
| _Country | _Country | |||
| _FormOfAddress | _FormOfAddress | |||
| _StreetAddrNonDeliverableRsn | _StreetAddrNonDeliverableRsn | |||
| _POBoxAddrNonDeliverableReason | _POBoxAddrNonDeliverableReason | |||
| _TransportationZone | _TransportationZone | |||
| _POBoxDeviatingRegion | _POBoxDeviatingRegion | |||
| _POBoxDeviatingCountry | _POBoxDeviatingCountry | |||
| _PrfrdCommMediumType | _PrfrdCommMediumType | |||
| _DeliveryServiceTypeCode | _DeliveryServiceTypeCode | |||
| _CorrespondenceLanguage | _CorrespondenceLanguage | |||
| _AddressObjectType | _AddressObjectType | |||
| _AddressRepresentationCode | _AddressRepresentationCode | |||
| _TimeZone | _TimeZone | |||
| _SecondaryRegion | _SecondaryRegion | |||
| _TertiaryRegion | _TertiaryRegion | |||
| _PostalCity | _PostalCity | |||
| _RegionalStructureCheckStatus | _RegionalStructureCheckStatus | |||
| _Street | _Street | |||
| _AddressGroup | _AddressGroup | |||
| _AddressPersonName | _AddressPersonName | |||
| _POBoxDeviatingCityCode | _POBoxDeviatingCityCode |
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_BankOrganizationAddress.
-- 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.
CREATE VIEW I_BankOrganizationAddress AS
SELECT
AddressID,
case when AddressID is not initial then cast('' as ad_persnum ) end AS AddressPersonID,
AddressRepresentationCode,
case when AddressID is not initial then cast('1' as ad_adrtype) end AS AddressObjectType,
CorrespondenceLanguage,
PrfrdCommMediumType,
cast(concat_with_space(AddresseeName1, AddresseeName2, 1) as ad_namtext ) AS AddresseeFullName,
CityNumber,
CityName,
DistrictName,
VillageName,
PostalCode,
CompanyPostalCode,
Street,
StreetName,
StreetAddrNonDeliverableReason,
StreetPrefixName1,
StreetPrefixName2,
StreetSuffixName1,
StreetSuffixName2,
HouseNumber,
HouseNumberSupplementText,
Building,
Floor,
RoomNumber,
Country,
Region,
FormOfAddress,
AddresseeName1,
AddresseeName2,
AddresseeName3,
AddresseeName4,
AddressSearchTerm1,
AddressSearchTerm2,
TaxJurisdiction,
TransportZone,
POBox,
POBoxAddrNonDeliverableReason,
POBoxIsWithoutNumber,
POBoxPostalCode,
POBoxLobbyName,
POBoxDeviatingCityName,
POBoxDeviatingCityCode,
POBoxDeviatingRegion,
POBoxDeviatingCountry,
CareOfName,
DeliveryServiceTypeCode,
DeliveryServiceNumber,
AddressTimeZone,
SecondaryRegion,
SecondaryRegionName,
TertiaryRegion,
TertiaryRegionName,
RegionalStructureCheckStatus,
AddressGroup,
AddressCreatedByUser,
AddressCreatedOnDateTime,
AddressChangedByUser,
AddressChangedOnDateTime
FROM I_AddrOrgNamePostalAddress
LEFT OUTER JOIN I_AddressEmailAddress_2 AS _EmailAddress ON _EmailAddress.AddressID = AddressID AND _EmailAddress.AddressPersonID = AddressPersonID -- association [0..*]
LEFT OUTER JOIN I_AddrCurDefaultEmailAddress AS _CurrentDfltEmailAddress ON _CurrentDfltEmailAddress.AddressID = AddressID AND _CurrentDfltEmailAddress.AddressPersonID = AddressPersonID -- association [0..1]
LEFT OUTER JOIN I_AddressPhoneNumber_2 AS _PhoneNumber ON _PhoneNumber.AddressID = AddressID AND _PhoneNumber.AddressPersonID = AddressPersonID -- association [0..*]
LEFT OUTER JOIN I_AddrCurDfltLandlinePhoneNmbr AS _CurrentDfltLandlinePhoneNmbr ON _CurrentDfltLandlinePhoneNmbr.AddressID = AddressID AND _CurrentDfltLandlinePhoneNmbr.AddressPersonID = AddressPersonID -- association [0..1]
LEFT OUTER JOIN I_AddrCurDfltMobilePhoneNumber AS _CurrentDfltMobilePhoneNumber ON _CurrentDfltMobilePhoneNumber.AddressID = AddressID AND _CurrentDfltMobilePhoneNumber.AddressPersonID = AddressPersonID -- association [0..1]
LEFT OUTER JOIN I_AddressFaxNumber_2 AS _FaxNumber ON _FaxNumber.AddressID = AddressID AND _FaxNumber.AddressPersonID = AddressPersonID -- association [0..*]
LEFT OUTER JOIN I_AddrCurDefaultFaxNumber AS _CurrentDfltFaxNumber ON _CurrentDfltFaxNumber.AddressID = AddressID AND _CurrentDfltFaxNumber.AddressPersonID = AddressPersonID -- association [0..1]
LEFT OUTER JOIN I_AddressURI AS _UniformResourceIdentifier ON _UniformResourceIdentifier.AddressID = AddressID AND _UniformResourceIdentifier.AddressPersonID = AddressPersonID -- association [0..*]
LEFT OUTER JOIN I_AddressMainWebsiteURL AS _MainWebsiteURL ON _MainWebsiteURL.AddressID = AddressID AND _MainWebsiteURL.AddressPersonID = AddressPersonID -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Region = _Region.Region AND Country = _Region.Country -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_FormOfAddress AS _FormOfAddress ON FormOfAddress = _FormOfAddress.FormOfAddress -- association [0..1]
LEFT OUTER JOIN I_AddressNonDeliverableReason AS _POBoxAddrNonDeliverableReason ON POBoxAddrNonDeliverableReason = _POBoxAddrNonDeliverableReason.AddressNonDeliverableReason -- association [0..1]
LEFT OUTER JOIN I_AddressNonDeliverableReason AS _StreetAddrNonDeliverableRsn ON StreetAddrNonDeliverableReason = _StreetAddrNonDeliverableRsn.AddressNonDeliverableReason -- association [0..1]
LEFT OUTER JOIN I_TransportationZone AS _TransportationZone ON TransportZone = _TransportationZone.TransportZone AND Country = _TransportationZone.CountryCode -- association [0..1]
LEFT OUTER JOIN I_Region AS _POBoxDeviatingRegion ON POBoxDeviatingRegion = _POBoxDeviatingRegion.Region AND POBoxDeviatingCountry = _POBoxDeviatingRegion.Country -- association [0..1]
LEFT OUTER JOIN I_Country AS _POBoxDeviatingCountry ON POBoxDeviatingCountry = _POBoxDeviatingCountry.Country -- association [0..1]
LEFT OUTER JOIN I_AddressCommunicationMethod AS _PrfrdCommMediumType ON PrfrdCommMediumType = _PrfrdCommMediumType.CommunicationMediumType -- association [0..1]
LEFT OUTER JOIN I_AddressDeliveryServiceType AS _DeliveryServiceTypeCode ON DeliveryServiceTypeCode = _DeliveryServiceTypeCode.DeliveryServiceTypeCode -- association [0..1]
LEFT OUTER JOIN I_Language AS _CorrespondenceLanguage ON CorrespondenceLanguage = _CorrespondenceLanguage.Language -- association [0..1]
LEFT OUTER JOIN I_AddressRepresentation AS _AddressRepresentationCode ON AddressRepresentationCode = _AddressRepresentationCode.AddressRepresentationCode -- association [0..1]
LEFT OUTER JOIN I_AddressObjectType AS _AddressObjectType ON AddressObjectType = _AddressObjectType.AddressObjectType -- association [0..1]
LEFT OUTER JOIN I_TimeZone AS _TimeZone ON AddressTimeZone = _TimeZone.TimeZoneID -- association [0..1]
LEFT OUTER JOIN I_SecondaryRegion AS _SecondaryRegion ON SecondaryRegion = _SecondaryRegion.SecondaryRegion AND Country = _SecondaryRegion.Country AND Region = _SecondaryRegion.Region -- association [0..1]
LEFT OUTER JOIN I_TertiaryRegion AS _TertiaryRegion ON TertiaryRegion = _TertiaryRegion.TertiaryRegion AND SecondaryRegion = _TertiaryRegion.SecondaryRegion AND Country = _TertiaryRegion.Country AND Region = _TertiaryRegion.Region -- association [0..1]
LEFT OUTER JOIN I_PostalCity AS _PostalCity ON CityNumber = _PostalCity.CityNumber AND Country = _PostalCity.Country -- association [0..1]
LEFT OUTER JOIN I_PostalCity AS _POBoxDeviatingCityCode ON POBoxDeviatingCityCode = _POBoxDeviatingCityCode.CityNumber AND Country = _POBoxDeviatingCityCode.Country -- association [0..1]
LEFT OUTER JOIN I_RegionalStructureCheckStatus AS _RegionalStructureCheckStatus ON RegionalStructureCheckStatus = _RegionalStructureCheckStatus.RegionalStructureCheckStatus -- association [0..1]
LEFT OUTER JOIN I_Street AS _Street ON Country = _Street.Country AND Street = _Street.Street -- association [0..1]
LEFT OUTER JOIN I_AddressGroup AS _AddressGroup ON AddressGroup = _AddressGroup.AddressGroup -- association [0..1]
LEFT OUTER JOIN I_AddressPersonName AS _AddressPersonName ON AddressPersonID = _AddressPersonName.AddressPersonID AND AddressRepresentationCode = _AddressPersonName.AddressRepresentationCode -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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