I_UserAddressLink
Benutzer: Verknüpfung zur Adresse
I_UserAddressLink is a Basic CDS View that provides data about "Benutzer: Verknüpfung zur Adresse" in SAP S/4HANA. It reads from 1 data source (usr21) and exposes 14 fields with key field UserID. It has 4 associations to related views. Part of development package SUSR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| usr21 | usr21 | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UserBasic | _User | _User.UserID = $projection.UserID |
| [1..1] | I_AddressPersonName | _AddressPersonName | _AddressPersonName.AddressPersonID = $projection.UserAddressPersonIdentifier and _AddressPersonName.AddressRepresentationCode = '' |
| [1..1] | I_OrganizationAddress | _AddressOrganization | _AddressOrganization.AddressPersonID = '' and _AddressOrganization.AddressID = $projection.UserAddressIdentifier and _AddressOrganization.AddressRepresentationCode = '' |
| [0..*] | I_UserCompany | _TemplateCompany | _TemplateCompany.UserAddressIdentifier = $projection.UserTemplateAddressIdentifier and $projection.UserTemplateOrgType = 'C' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Benutzer: Verknüpfung zur Adresse | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | UserID | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.allowExtensions | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserID | |||
| UserAddressPersonIdentifier | usr21 | persnumber | Person Number | |
| UserAddressIdentifier | usr21 | addrnumber | Address Number | |
| IdentityAddressType | usr21 | idadtype | Identity Add. Type | |
| UserIdentityUUID | usr21 | identity_guid | Identity GUID | |
| BusinessPartnerUUID | usr21 | bpperson | BP GUID | |
| ResponsibleUser | usr21 | responsible | User Name | |
| UserDescription | ||||
| UserTemplateOrgType | ||||
| UserTemplateAddressIdentifier | ||||
| _User | _User | |||
| _AddressPersonName | _AddressPersonName | |||
| _AddressOrganization | _AddressOrganization | |||
| _TemplateCompany | _TemplateCompany |
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_UserAddressLink.
-- 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_UserAddressLink AS
SELECT
cast( usr21.bname as vdm_userid preserving type ) AS UserID,
usr21.persnumber AS UserAddressPersonIdentifier,
usr21.addrnumber AS UserAddressIdentifier,
usr21.idadtype AS IdentityAddressType,
usr21.identity_guid AS UserIdentityUUID,
usr21.bpperson AS BusinessPartnerUUID,
usr21.responsible AS ResponsibleUser,
cast( usr21.techdesc as vdm_userdescription preserving type ) AS UserDescription,
cast( usr21.template_orgtype as vdm_usertemplateorgtype preserving type ) AS UserTemplateOrgType,
cast( usr21.template_orgaddr as vdm_usertemplateorgaddrid preserving type ) AS UserTemplateAddressIdentifier
FROM usr21
LEFT OUTER JOIN I_UserBasic AS _User ON _User.UserID = UserID -- association [1..1]
LEFT OUTER JOIN I_AddressPersonName AS _AddressPersonName ON _AddressPersonName.AddressPersonID = UserAddressPersonIdentifier AND _AddressPersonName.AddressRepresentationCode = '' -- association [1..1]
LEFT OUTER JOIN I_OrganizationAddress AS _AddressOrganization ON _AddressOrganization.AddressPersonID = '' AND _AddressOrganization.AddressID = UserAddressIdentifier AND _AddressOrganization.AddressRepresentationCode = '' -- association [1..1]
LEFT OUTER JOIN I_UserCompany AS _TemplateCompany ON _TemplateCompany.UserAddressIdentifier = UserTemplateAddressIdentifier AND UserTemplateOrgType = 'C' -- 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