I_BusPartScriptedGroupAddrTP
Business partner scripted addresses
I_BusPartScriptedGroupAddrTP is a Transactional CDS View that provides data about "Business partner scripted addresses" in SAP S/4HANA. It reads from 1 data source (I_BusPartScriptedGroupAddress) and exposes 68 fields with key fields BusinessPartner, AddressNumber, AddressRepresentationCode. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusPartScriptedGroupAddress | I_BusPartScriptedGroupAddress | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_AddressRepresentation | _AddressRepresentation | $projection.AddressRepresentationCode = _AddressRepresentation.AddressRepresentationCode |
| [0..1] | I_BusinessPartnerFormOfAddress | _FormOfAddress | $projection.FormOfAddress = _FormOfAddress.FormOfAddress |
| [1..1] | I_BusinessPartnerTP_2 | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Search.searchable | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Business partner scripted addresses | view |
Fields (68)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | BusinessPartner | Issuing Authority | |
| KEY | AddressNumber | AddressNumber | Src Address No | |
| KEY | AddressRepresentationCode | AddressRepresentationCode | Address Version | |
| AddrRepCodeForEditValue | AddressRepresentationCode | Address Version | ||
| ValidityStartDate | ||||
| ValidityEndDate | ||||
| BusinessPartnerAddressUUID | BusinessPartnerAddressUUID | UUID | ||
| CareOfName | CareOfName | c/o | ||
| AdditionalStreetSuffixName | AdditionalStreetSuffixName | Street 5 | ||
| CorrespondenceLanguage | CorrespondenceLanguage | Language | ||
| PrfrdCommMediumType | PrfrdCommMediumType | Comm. Method | ||
| POBox | POBox | PO Box | ||
| POBoxIsWithoutNumber | POBoxIsWithoutNumber | PO Box w/o No. | ||
| POBoxPostalCode | POBoxPostalCode | PO Box Postal Code | ||
| POBoxLobbyName | POBoxLobbyName | PO Box Lobby | ||
| POBoxDeviatingCityName | POBoxDeviatingCityName | PO Box City | ||
| POBoxDeviatingRegion | POBoxDeviatingRegion | PO Region | ||
| POBoxDeviatingCountry | POBoxDeviatingCountry | PO Box C/R | ||
| DeliveryServiceTypeCode | DeliveryServiceTypeCode | Delvry Serv Type | ||
| DeliveryServiceNumber | DeliveryServiceNumber | Delivery Service No. | ||
| AddressTimeZone | AddressTimeZone | Time Zone | ||
| FullName | FullName | Name | ||
| CityName | CityName | Name | ||
| District | District | District Court | ||
| DistrictName | DistrictName | District | ||
| HomeCityName | HomeCityName | Different City | ||
| PostalCode | PostalCode | Postal Code | ||
| CompanyPostalCode | CompanyPostalCode | Company Post Cd | ||
| StreetName | StreetName | Text | ||
| StreetPrefixName | StreetPrefixName | Street 2 | ||
| AdditionalStreetPrefixName | AdditionalStreetPrefixName | Street 3 | ||
| StreetSuffixName | StreetSuffixName | Street 4 | ||
| 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 | ||
| County | County | Wyoming County | ||
| BPCountyText | BPCountyText | County | ||
| BusinessPartnerName1 | BusinessPartnerName1 | Name | ||
| BusinessPartnerName2 | BusinessPartnerName2 | Name 2 | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| TransportZone | TransportZone | Transport Zone | ||
| FormOfAddress | FormOfAddress | Title Key | ||
| SearchTerm1 | SearchTerm1 | Search Term 1 | ||
| SearchTerm2 | SearchTerm2 | Search Term 2 | ||
| DataControllerSet | _BusinessPartner | DataControllerSet | Data Ctrlr. Set | |
| DataController1 | _BusinessPartner | DataController1 | Data Controller | |
| DataController2 | _BusinessPartner | DataController2 | Data Controller | |
| DataController3 | _BusinessPartner | DataController3 | Data Controller | |
| DataController4 | _BusinessPartner | DataController4 | Data Controller | |
| DataController5 | _BusinessPartner | DataController5 | Data Controller | |
| DataController6 | _BusinessPartner | DataController6 | Data Controller | |
| DataController7 | _BusinessPartner | DataController7 | Data Controller | |
| DataController8 | _BusinessPartner | DataController8 | Data Controller | |
| DataController9 | _BusinessPartner | DataController9 | Data Controller | |
| DataController10 | _BusinessPartner | DataController10 | Data Controller | |
| _AddressRepresentation | _AddressRepresentation | |||
| _FormOfAddress | _FormOfAddress | |||
| _BusinessPartnerAddress | _BusinessPartnerAddress | |||
| _BPProtectedAddress | _BPProtectedAddress | |||
| _BusinessPartner | _BusinessPartner | |||
| AuthorizationGroup | _BusinessPartner | AuthorizationGroup | AuthorizGroup | |
| IsBusinessPurposeCompleted | _BusinessPartner | IsBusinessPurposeCompleted | Purpose Completed | |
| BPAddressIsProtected | _BPProtectedAddress | BPAddressIsProtected | Sensitivity | |
| _AuthorizationGroup | _BusinessPartner | _AuthorizationGroup |
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_BusPartScriptedGroupAddrTP.
-- 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: IBPSCRPTGRPADTP
CREATE VIEW I_BusPartScriptedGroupAddrTP AS
SELECT
BusinessPartner,
AddressNumber,
AddressRepresentationCode,
AddressRepresentationCode AS AddrRepCodeForEditValue,
tstmp_to_dats(ValidityStartDateTime,'UTC', $session.client, 'NULL') AS ValidityStartDate,
tstmp_to_dats(ValidityEndDateTime,'UTC', $session.client, 'NULL') AS ValidityEndDate,
BusinessPartnerAddressUUID,
CareOfName,
AdditionalStreetSuffixName,
CorrespondenceLanguage,
PrfrdCommMediumType,
POBox,
POBoxIsWithoutNumber,
POBoxPostalCode,
POBoxLobbyName,
POBoxDeviatingCityName,
POBoxDeviatingRegion,
POBoxDeviatingCountry,
DeliveryServiceTypeCode,
DeliveryServiceNumber,
AddressTimeZone,
FullName,
CityName,
District,
DistrictName,
HomeCityName,
PostalCode,
CompanyPostalCode,
StreetName,
StreetPrefixName,
AdditionalStreetPrefixName,
StreetSuffixName,
HouseNumber,
HouseNumberSupplementText,
Building,
Floor,
RoomNumber,
Country,
Region,
County,
BPCountyText,
BusinessPartnerName1,
BusinessPartnerName2,
TaxJurisdiction,
TransportZone,
FormOfAddress,
SearchTerm1,
SearchTerm2,
_BusinessPartner.DataControllerSet AS DataControllerSet,
_BusinessPartner.DataController1 AS DataController1,
_BusinessPartner.DataController2 AS DataController2,
_BusinessPartner.DataController3 AS DataController3,
_BusinessPartner.DataController4 AS DataController4,
_BusinessPartner.DataController5 AS DataController5,
_BusinessPartner.DataController6 AS DataController6,
_BusinessPartner.DataController7 AS DataController7,
_BusinessPartner.DataController8 AS DataController8,
_BusinessPartner.DataController9 AS DataController9,
_BusinessPartner.DataController10 AS DataController10,
_BusinessPartner.AuthorizationGroup AS AuthorizationGroup,
_BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
_BPProtectedAddress.BPAddressIsProtected AS BPAddressIsProtected,
_BusinessPartner._AuthorizationGroup AS _AuthorizationGroup
FROM I_BusPartScriptedGroupAddress
LEFT OUTER JOIN I_AddressRepresentation AS _AddressRepresentation ON AddressRepresentationCode = _AddressRepresentation.AddressRepresentationCode -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerFormOfAddress AS _FormOfAddress ON FormOfAddress = _FormOfAddress.FormOfAddress -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerTP_2 AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
;
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