I_SDDocumentCompletePartners
SD Document Complete Partners
I_SDDocumentCompletePartners is a Basic CDS View that provides data about "SD Document Complete Partners" in SAP S/4HANA. It reads from 1 data source (P_SDDocumentCompletePartners) and exposes 32 fields with key fields SDDocument, SDDocumentItem, PartnerFunction. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SDDocumentCompletePartners | P_SDDocumentCompletePartners | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PartnerFunction | _PartnerFunction | $projection.PartnerFunction = _PartnerFunction.PartnerFunction |
| [0..1] | I_ContactPerson | _ContactPerson | $projection.ContactPerson = _ContactPerson.ContactPerson |
| [0..1] | I_Address | _Address | $projection.AddressID = _Address.AddressID |
| [0..1] | I_Address_2 | _DfltAddrRprstn | $projection.AddressID = _DfltAddrRprstn.AddressID and $projection.AddressPersonID = _DfltAddrRprstn.AddressPersonID and _DfltAddrRprstn.AddressRepresentationCode is initial |
| [0..1] | I_BusPartAddress | _BusinessPartnerAddress | $projection.ReferenceBusinessPartner = _BusinessPartnerAddress.BusinessPartner and $projection.AddressID = _BusinessPartnerAddress.AddressID and $projection.SDDocPartnerAddressRefType = 'H' |
| [0..1] | I_BusPartAddress | _BPRefAddressForDocSpcfcAddr | $projection.ReferenceBusinessPartner = _BPRefAddressForDocSpcfcAddr.BusinessPartner and $projection.BPRefAddressIDForDocSpcfcAddr = _BPRefAddressForDocSpcfcAddr.AddressID |
| [0..1] | I_PersonWorkplaceAddress | _PersonWorkplaceAddrDfltRprstn | $projection.AddressID = _PersonWorkplaceAddrDfltRprstn.AddressID and $projection.AddressPersonID = _PersonWorkplaceAddrDfltRprstn.AddressPersonID and _PersonWorkplaceAddrDfltRprstn.AddressRepresentationCode is initial |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | SD Document Complete Partners | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ISDDOCCMPLTPART | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SDDocument | SDDocument | ||
| KEY | SDDocumentItem | SDDocumentItem | ||
| KEY | PartnerFunction | PartnerFunction | ||
| Customer | Customer | |||
| Supplier | Supplier | |||
| Personnel | Personnel | |||
| ContactPerson | ContactPerson | |||
| ReferenceBusinessPartner | ReferenceBusinessPartner | |||
| AddressID | AddressID | |||
| AddressPersonID | AddressPersonID | |||
| SDDocPartnerAddressRefType | SDDocPartnerAddressRefType | |||
| AddressObjectType | AddressObjectType | |||
| BPAddrDeterminationTransaction | BPAddrDeterminationTransaction | |||
| BPRefAddressIDForDocSpcfcAddr | BPRefAddressIDForDocSpcfcAddr | |||
| SDDocPartnerAddrIsDocSpecific | SDDocPartnerAddrIsDocSpecific | |||
| PartnerIsOneTimeAccount | PartnerIsOneTimeAccount | |||
| VATRegistration | VATRegistration | |||
| UnloadingPointName | UnloadingPointName | |||
| CountryCode | CountryCode | |||
| CustomerHierarchyType | CustomerHierarchyType | |||
| CustIsPrcDetnRlvt | CustIsPrcDetnRlvt | |||
| CustomerIsRebateRelevant | CustomerIsRebateRelevant | |||
| CustomerHierarchyLevel | CustomerHierarchyLevel | |||
| CustomerHierarchyFixedLevel | CustomerHierarchyFixedLevel | |||
| TransportZone | TransportZone | |||
| _PartnerFunction | _PartnerFunction | |||
| _ContactPerson | _ContactPerson | |||
| _Address | _Address | |||
| _DfltAddrRprstn | _DfltAddrRprstn | |||
| _BusinessPartnerAddress | _BusinessPartnerAddress | |||
| _PersonWorkplaceAddrDfltRprstn | _PersonWorkplaceAddrDfltRprstn | |||
| _BPRefAddressForDocSpcfcAddr | _BPRefAddressForDocSpcfcAddr |
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'SD Document Complete Partners'
@VDM.viewType: #BASIC
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #NOT_REQUIRED,
privilegedAssociations: [ '_Address', '_DfltAddrRprstn','_PersonWorkplaceAddrDfltRprstn' ]
}
@AbapCatalog: {
sqlViewName: 'ISDDOCCMPLTPART',
compiler.compareFilter: true,
preserveKey: true
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #A,
sizeCategory: #XL
}
}
define view I_SDDocumentCompletePartners
as select from P_SDDocumentCompletePartners
association [0..1] to I_PartnerFunction as _PartnerFunction on $projection.PartnerFunction = _PartnerFunction.PartnerFunction
association [0..1] to I_ContactPerson as _ContactPerson on $projection.ContactPerson = _ContactPerson.ContactPerson
association [0..1] to I_Address as _Address on $projection.AddressID = _Address.AddressID
// The address IDs from I_Address_2 are for customers and suppliers
association [0..1] to I_Address_2 as _DfltAddrRprstn on $projection.AddressID = _DfltAddrRprstn.AddressID
and $projection.AddressPersonID = _DfltAddrRprstn.AddressPersonID
and _DfltAddrRprstn.AddressRepresentationCode is initial
association [0..1] to I_BusPartAddress as _BusinessPartnerAddress on $projection.ReferenceBusinessPartner = _BusinessPartnerAddress.BusinessPartner
and $projection.AddressID = _BusinessPartnerAddress.AddressID
and $projection.SDDocPartnerAddressRefType = 'H'
association [0..1] to I_BusPartAddress as _BPRefAddressForDocSpcfcAddr on $projection.ReferenceBusinessPartner = _BPRefAddressForDocSpcfcAddr.BusinessPartner
and $projection.BPRefAddressIDForDocSpcfcAddr = _BPRefAddressForDocSpcfcAddr.AddressID
// The address IDs from I_PersonWorkplaceAddress are for contact persons
association [0..1] to I_PersonWorkplaceAddress as _PersonWorkplaceAddrDfltRprstn on $projection.AddressID = _PersonWorkplaceAddrDfltRprstn.AddressID
and $projection.AddressPersonID = _PersonWorkplaceAddrDfltRprstn.AddressPersonID
and _PersonWorkplaceAddrDfltRprstn.AddressRepresentationCode is initial
{
key SDDocument,
key SDDocumentItem,
@ObjectModel.foreignKey.association: '_PartnerFunction'
key PartnerFunction,
Customer,
Supplier,
Personnel,
@ObjectModel.foreignKey.association: '_ContactPerson'
ContactPerson,
ReferenceBusinessPartner,
@ObjectModel.foreignKey.association: '_Address'
AddressID,
AddressPersonID,
SDDocPartnerAddressRefType,
AddressObjectType,
BPAddrDeterminationTransaction,
BPRefAddressIDForDocSpcfcAddr,
SDDocPartnerAddrIsDocSpecific,
PartnerIsOneTimeAccount,
VATRegistration,
@Semantics.text: true
UnloadingPointName,
CountryCode,
CustomerHierarchyType,
CustIsPrcDetnRlvt,
CustomerIsRebateRelevant,
CustomerHierarchyLevel,
CustomerHierarchyFixedLevel,
TransportZone,
_PartnerFunction,
_ContactPerson,
// Address related associations
_Address,
_DfltAddrRprstn,
_BusinessPartnerAddress,
_PersonWorkplaceAddrDfltRprstn,
_BPRefAddressForDocSpcfcAddr
};
Learn More
- 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 Annotations — A Complete Guide
- 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