C_SlsDocItmNonStdPartner
Sls Doc Item Non Std Complete Partners
C_SlsDocItmNonStdPartner is a Consumption CDS View that provides data about "Sls Doc Item Non Std Complete Partners" in SAP S/4HANA. It reads from 1 data source (I_SalesDocItemCompletePartner) and exposes 19 fields with key fields SalesDocument, SalesDocumentItem, PartnerFunction. It has 2 associations to related views. Part of development package SD_CHANGE_COCKPIT_ODATA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocItemCompletePartner | ItemPartner | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_PersonWorkAgreement_1 | _WorkAgreement | $projection.Personnel = _WorkAgreement.PersonWorkAgreement |
| [1] | I_ContactPerson | _ContactPerson | $projection.ContactPerson = _ContactPerson.ContactPerson |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CSLSDOCITMNSPT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.representativeKey | PartnerFunction | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Sls Doc Item Non Std Complete Partners | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | I_SalesDocItemCompletePartner | SalesDocument | |
| KEY | SalesDocumentItem | I_SalesDocItemCompletePartner | SalesDocumentItem | |
| KEY | PartnerFunction | |||
| PartnerFunctionName | ||||
| SDDocumentPartnerType | _PartnerFunction | SDDocumentPartnerType | ||
| Customer | I_SalesDocItemCompletePartner | Customer | ||
| Supplier | I_SalesDocItemCompletePartner | Supplier | ||
| ContactPerson | I_SalesDocItemCompletePartner | ContactPerson | ||
| Personnel | I_SalesDocItemCompletePartner | Personnel | ||
| AddressID | I_SalesDocItemCompletePartner | AddressID | ||
| AddressPersonID | I_SalesDocItemCompletePartner | AddressPersonID | ||
| AddressObjectType | I_SalesDocItemCompletePartner | AddressObjectType | ||
| BusinessPartner | I_SalesDocItemCompletePartner | Partner | ||
| BusinessPartnerFullName | I_SalesDocItemCompletePartner | FullName | ||
| _DfltAddrRprstn | I_SalesDocItemCompletePartner | _DfltAddrRprstn | ||
| _SalesDocument | I_SalesDocItemCompletePartner | _SalesDocument | ||
| _SalesDocumentItem | I_SalesDocItemCompletePartner | _SalesDocumentItem | ||
| _PartnerFunction | I_SalesDocItemCompletePartner | _PartnerFunction | ||
| FormattedPostalAddressDesc |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: {
sqlViewName: 'CSLSDOCITMNSPT',
preserveKey: true,
compiler.compareFilter: true
}
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA'),
privilegedAssociations: [ '_DfltAddrRprstn' ]
}
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel: {
representativeKey: 'PartnerFunction',
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #XL
}
}
@Metadata.ignorePropagatedAnnotations:true
@EndUserText.label: 'Sls Doc Item Non Std Complete Partners'
@Consumption.dbHints: ['USE_HEX_PLAN']
define view C_SlsDocItmNonStdPartner
as select from I_SalesDocItemCompletePartner as ItemPartner
association [1] to I_PersonWorkAgreement_1 as _WorkAgreement on $projection.Personnel = _WorkAgreement.PersonWorkAgreement
association [1] to I_ContactPerson as _ContactPerson on $projection.ContactPerson = _ContactPerson.ContactPerson
{
@ObjectModel.foreignKey.association: '_SalesDocument'
key ItemPartner.SalesDocument,
@ObjectModel.foreignKey.association: '_SalesDocumentItem'
key ItemPartner.SalesDocumentItem,
@ObjectModel.foreignKey.association: '_PartnerFunction'
key cast(ItemPartner.PartnerFunction as parvw_unv preserving type ) as PartnerFunction,
_PartnerFunction._Text[1:Language = $session.system_language ].PartnerFunctionName as PartnerFunctionName,
_PartnerFunction.SDDocumentPartnerType,
ItemPartner.Customer,
ItemPartner.Supplier,
ItemPartner.ContactPerson,
ItemPartner.Personnel,
ItemPartner.AddressID,
ItemPartner.AddressPersonID,
ItemPartner.AddressObjectType,
ItemPartner.Partner as BusinessPartner,
@Semantics.name.fullName: true
@Semantics.text: true
ItemPartner.FullName as BusinessPartnerFullName,
ItemPartner._DfltAddrRprstn,
ItemPartner._SalesDocument,
ItemPartner._SalesDocumentItem,
ItemPartner._PartnerFunction,
//added for 2202 release : Fetch address info
@Semantics.text:true
@Consumption.filter.hidden: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_MCC_SLS_DOC_VE'
cast( ' ' as ad_line_s ) as FormattedPostalAddressDesc
}
where
PartnerFunction != 'AG'
and PartnerFunction != 'WE'
and PartnerFunction != 'RE'
and PartnerFunction != 'RG'
and PartnerFunction != 'VE'
and PartnerFunction != 'ZM'
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