C_SlsDocNonStdPartner

DDL: C_SLSDOCNONSTDPARTNER Type: view CONSUMPTION Package: SD_CHANGE_COCKPIT_ODATA

SD Document Non Std Complete Partners

C_SlsDocNonStdPartner is a Consumption CDS View that provides data about "SD Document Non Std Complete Partners" in SAP S/4HANA. It reads from 1 data source (I_SDDocumentCompletePartners) and exposes 23 fields with key fields SDDocument, SDDocumentItem, PartnerFunction. It has 3 associations to related views. Part of development package SD_CHANGE_COCKPIT_ODATA.

Data Sources (1)

SourceAliasJoin Type
I_SDDocumentCompletePartners I_SDDocumentCompletePartners from

Associations (3)

CardinalityTargetAliasCondition
[1] I_SalesDocument _SalesDocument $projection.SDDocument = _SalesDocument.SalesDocument
[1] I_SalesDocumentItem _SalesDocumentItem $projection.SDDocument = _SalesDocumentItem.SalesDocument and $projection.SDDocumentItem = _SalesDocumentItem.SalesDocumentItem
[1] I_SalesDocumentPartner _AdditionalPartners $projection.SDDocument = _AdditionalPartners.SalesDocument and $projection.PartnerFunction = _AdditionalPartners.PartnerFunction

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CSLSDOCNSTDPT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey 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
EndUserText.label SD Document Non Std Complete Partners view
Metadata.ignorePropagatedAnnotations true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY SDDocument SDDocument SD Document
KEY SDDocumentItem SDDocumentItem WBS Element
KEY PartnerFunction Partner Functn
PartnerFunctionName
SDDocumentPartnerType _PartnerFunction SDDocumentPartnerType Partner Type
Customer Customer Sold-to Party
Supplier Supplier Supplier
BusinessPartner _AdditionalPartners Partner With Partner
BusinessPartnerFullName _AdditionalPartners FullName Name
Personnel Personnel Personnel No.
AddressID AddressID Ship-to address
AddressPersonID AddressPersonID Person Number
AddressObjectType AddressObjectType Address Type
ContactPerson ContactPerson Contact Person Key
PartnerIsOneTimeAccount PartnerIsOneTimeAccount One-time acct
VATRegistration VATRegistration VAT Registration No.
_PartnerFunction _PartnerFunction
_DfltAddrRprstn _DfltAddrRprstn
_ContactPerson _ContactPerson
_SalesDocument _SalesDocument
_SalesDocumentItem _SalesDocumentItem
_AdditionalPartners _AdditionalPartners
FormattedPostalAddressDesc

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 C_SlsDocNonStdPartner.
-- 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 C_SlsDocNonStdPartner AS
SELECT
  SDDocument,
  SDDocumentItem,
  cast(PartnerFunction as parvw_unv preserving type ) AS PartnerFunction,
  _PartnerFunction._Text[1:Language = $session.system_language ].PartnerFunctionName AS PartnerFunctionName,
  _PartnerFunction.SDDocumentPartnerType AS SDDocumentPartnerType,
  Customer,
  Supplier,
  _AdditionalPartners.Partner AS BusinessPartner,
  _AdditionalPartners.FullName AS BusinessPartnerFullName,
  Personnel,
  AddressID,
  AddressPersonID,
  AddressObjectType,
  ContactPerson,
  PartnerIsOneTimeAccount,
  VATRegistration,
  cast( ' ' as ad_line_s ) AS FormattedPostalAddressDesc
FROM I_SDDocumentCompletePartners
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SDDocument = _SalesDocument.SalesDocument  -- association [1]
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON SDDocument = _SalesDocumentItem.SalesDocument AND SDDocumentItem = _SalesDocumentItem.SalesDocumentItem  -- association [1]
LEFT OUTER JOIN I_SalesDocumentPartner AS _AdditionalPartners ON SDDocument = _AdditionalPartners.SalesDocument AND PartnerFunction = _AdditionalPartners.PartnerFunction  -- association [1]
;