I_SlsDocumentItemRelatedObject

DDL: I_SLSDOCUMENTITEMRELATEDOBJECT Type: view_entity BASIC

Sales Document Item Related Object

I_SlsDocumentItemRelatedObject is a Basic CDS View that provides data about "Sales Document Item Related Object" in SAP S/4HANA. It reads from 3 data sources (I_SDDocumentItemRelatedObject, I_SalesDocumentBasic, I_SalesDocumentItemBasic) and exposes 16 fields with key fields SalesDocument, SalesDocumentItem, SDDocumentCategory, SDDocRelatedObjectSequenceNmbr.

Data Sources (3)

SourceAliasJoin Type
I_SDDocumentItemRelatedObject RelatedObject from
I_SalesDocumentBasic SalesDocument inner
I_SalesDocumentItemBasic SalesDocumentItem inner

Annotations (8)

NameValueLevelField
EndUserText.label Sales Document Item Related Object view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument
KEY SalesDocumentItem I_SDDocumentItemRelatedObject SalesDocumentItem Sales Document Item
KEY SDDocumentCategory I_SDDocumentItemRelatedObject SDDocumentCategory Document Cat.
KEY SDDocRelatedObjectSequenceNmbr I_SDDocumentItemRelatedObject SDDocRelatedObjectSequenceNmbr Sequence Number
SDDocumentRelatedObjectType I_SDDocumentItemRelatedObject SDDocumentRelatedObjectType Related Object Type
SDDocRelatedObjectSystem I_SDDocumentItemRelatedObject SDDocRelatedObjectSystem System of Reltd Obj.
SDDocRelatedObjectReference1 I_SDDocumentItemRelatedObject SDDocRelatedObjectReference1 Reltd Obj Ref
SDDocRelatedObjectReference2 I_SDDocumentItemRelatedObject SDDocRelatedObjectReference2 Reltd Obj Ref
SalesDocumentType I_SalesDocumentBasic SalesDocumentType Sales Doc. Type
OrganizationDivision I_SalesDocumentBasic OrganizationDivision Org. Division
SalesOrganization I_SalesDocumentBasic SalesOrganization Sales Organization
DistributionChannel I_SalesDocumentBasic DistributionChannel RefDistCh-Cust/Mat.
_SalesDocument _SalesDocument
_SalesDocumentItem _SalesDocumentItem
_SDDocumentCategory _SDDocumentCategory
_SDDocumentRelatedObjectType I_SDDocumentItemRelatedObject _SDDocumentRelatedObjectType

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_SlsDocumentItemRelatedObject.
-- 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_SlsDocumentItemRelatedObject AS
SELECT
  cast(RelatedObject.SalesDocument as vbeln_va preserving type) AS SalesDocument,
  RelatedObject.SalesDocumentItem AS SalesDocumentItem,
  RelatedObject.SDDocumentCategory AS SDDocumentCategory,
  RelatedObject.SDDocRelatedObjectSequenceNmbr AS SDDocRelatedObjectSequenceNmbr,
  RelatedObject.SDDocumentRelatedObjectType AS SDDocumentRelatedObjectType,
  RelatedObject.SDDocRelatedObjectSystem AS SDDocRelatedObjectSystem,
  RelatedObject.SDDocRelatedObjectReference1 AS SDDocRelatedObjectReference1,
  RelatedObject.SDDocRelatedObjectReference2 AS SDDocRelatedObjectReference2,
  SalesDocument.SalesDocumentType AS SalesDocumentType,
  SalesDocument.OrganizationDivision AS OrganizationDivision,
  SalesDocument.SalesOrganization AS SalesOrganization,
  SalesDocument.DistributionChannel AS DistributionChannel,
  RelatedObject._SDDocumentRelatedObjectType AS _SDDocumentRelatedObjectType
FROM I_SDDocumentItemRelatedObject AS RelatedObject
INNER JOIN I_SalesDocumentItemBasic AS SalesDocumentItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_SalesDocumentBasic AS SalesDocument ON /* join condition not captured in parsed metadata */
;