P_SDDocumentCompletePartners_1
P_SDDocumentCompletePartners_1 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (vbpa) and exposes 24 fields with key fields SDDocument, SDDocumentItem, PartnerFunction.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vbpa | vbpa | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSDDOCCMPLTPART1 | 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 | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SDDocument | vbpa | vbeln | |
| KEY | SDDocumentItem | vbpa | posnr | |
| KEY | PartnerFunction | vbpa | parvw | |
| Customer | vbpa | kunnr | ||
| Supplier | vbpa | lifnr | ||
| Personnel | vbpa | pernr | ||
| ContactPerson | vbpa | parnr | ||
| ReferenceBusinessPartner | vbpa | assigned_bp | ||
| AddressID | vbpa | adrnr | ||
| AddressPersonID | vbpa | adrnp | ||
| SDDocPartnerAddressRefType | vbpa | adrda | ||
| AddressObjectType | vbpa | addr_type | ||
| BPAddrDeterminationTransaction | vbpa | addr_operation | ||
| BPRefAddressIDForDocSpcfcAddr | vbpa | bp_ref_adrnr | ||
| PartnerIsOneTimeAccount | vbpa | xcpdk | ||
| VATRegistration | vbpa | stceg | ||
| UnloadingPointName | vbpa | ablad | ||
| CountryCode | vbpa | land1 | ||
| CustomerHierarchyType | vbpa | hityp | ||
| CustIsPrcDetnRlvt | vbpa | prfre | ||
| CustomerIsRebateRelevant | vbpa | bokre | ||
| CustomerHierarchyLevel | vbpa | histunr | ||
| CustomerHierarchyFixedLevel | vbpa | hzuor | ||
| TransportZone | vbpa | lzone |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #NOT_REQUIRED
}
@AbapCatalog: {
sqlViewName: 'PSDDOCCMPLTPART1',
compiler.compareFilter: true,
preserveKey: true
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #A,
sizeCategory: #XL
}
}
@VDM.private: true
@VDM.viewType: #BASIC
define view P_SDDocumentCompletePartners_1
as
select from vbpa
{
key vbpa.vbeln as SDDocument,
key vbpa.posnr as SDDocumentItem,
key vbpa.parvw as PartnerFunction,
vbpa.kunnr as Customer,
vbpa.lifnr as Supplier,
vbpa.pernr as Personnel,
vbpa.parnr as ContactPerson,
vbpa.assigned_bp as ReferenceBusinessPartner,
vbpa.adrnr as AddressID,
vbpa.adrnp as AddressPersonID,
vbpa.adrda as SDDocPartnerAddressRefType,
vbpa.addr_type as AddressObjectType,
vbpa.addr_operation as BPAddrDeterminationTransaction,
vbpa.bp_ref_adrnr as BPRefAddressIDForDocSpcfcAddr,
cast(
case vbpa.adrda
when 'E' then 'X'
when 'F' then 'X'
else ' '
end as sd_pd_doc_spec_addr_flag) as SDDocPartnerAddrIsDocSpecific,
vbpa.xcpdk as PartnerIsOneTimeAccount,
vbpa.stceg as VATRegistration,
vbpa.ablad as UnloadingPointName,
vbpa.land1 as CountryCode,
vbpa.hityp as CustomerHierarchyType,
vbpa.prfre as CustIsPrcDetnRlvt,
vbpa.bokre as CustomerIsRebateRelevant,
vbpa.histunr as CustomerHierarchyLevel,
vbpa.hzuor as CustomerHierarchyFixedLevel,
vbpa.lzone as TransportZone
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"VBPA"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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