C_IN_SubcontrgDocCube

DDL: C_IN_SUBCONTRGDOCCUBE SQL: CINSUBCONQRY Type: view CONSUMPTION Package: GLO_LOG_IN

Cube View for Subcon Documents in India

C_IN_SubcontrgDocCube is a Consumption CDS View (Cube) that provides data about "Cube View for Subcon Documents in India" in SAP S/4HANA. It reads from 1 data source (I_IN_SubcontrgList) and exposes 20 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem. It has 5 associations to related views. Part of development package GLO_LOG_IN.

Data Sources (1)

SourceAliasJoin Type
I_IN_SubcontrgList I_IN_SubcontrgList from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompCode _CompCode.CompanyCode = $projection.CompanyCode
[0..1] I_Material _MaterialStdVH _MaterialStdVH.Material = $projection.Material
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_Supplier _Subcontractor $projection.Subcontractor = _Subcontractor.Supplier
[0..1] I_MaterialDocumentItem _MatDoc $projection.MaterialDocument = _MatDoc.MaterialDocument and $projection.MaterialDocumentItem = _MatDoc.MaterialDocumentItem and $projection.MaterialDocumentYear = _MatDoc.MaterialDocumentYear

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CINSUBCONQRY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #CONSUMPTION view
Analytics.dataCategory #CUBE view
EndUserText.label Cube View for Subcon Documents in India view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocument MaterialDocument Material Doc.
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocumentItem MaterialDocumentItem Material Document Item
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
Subcontractor _MatDoc Supplier Supplier
Material Material Vehicle Model
PostingDate PostingDate Posting Date for GR
CreationDate CreationDate Time Stamp
MaterialBaseUnit _MatDoc MaterialBaseUnit Valuation Unit
GoodsMovementType _MatDoc GoodsMovementType Movement Type
InventorySpecialStockType _MatDoc InventorySpecialStockType Special Stock Type
DebitCreditCode _MatDoc DebitCreditCode Single-Character Flag
SubcontrgChallan SubcontrgChallan
DueDays DueDays Processing Time
NumberOfDocuments 1
_MaterialStdVH _MaterialStdVH
_CompCode _CompCode
_Subcontractor _Subcontractor
_Plant _Plant

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_IN_SubcontrgDocCube.
-- 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.
-- SQL view name: CINSUBCONQRY

CREATE VIEW C_IN_SubcontrgDocCube AS
SELECT
  MaterialDocument,
  MaterialDocumentYear,
  MaterialDocumentItem,
  CompanyCode,
  Plant,
  _MatDoc.Supplier AS Subcontractor,
  Material,
  PostingDate,
  CreationDate,
  _MatDoc.MaterialBaseUnit AS MaterialBaseUnit,
  _MatDoc.GoodsMovementType AS GoodsMovementType,
  _MatDoc.InventorySpecialStockType AS InventorySpecialStockType,
  _MatDoc.DebitCreditCode AS DebitCreditCode,
  SubcontrgChallan,
  DueDays,
  1 AS NumberOfDocuments
FROM I_IN_SubcontrgList
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON _CompCode.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Material AS _MaterialStdVH ON _MaterialStdVH.Material = Material  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Subcontractor ON Subcontractor = _Subcontractor.Supplier  -- association [0..1]
LEFT OUTER JOIN I_MaterialDocumentItem AS _MatDoc ON MaterialDocument = _MatDoc.MaterialDocument AND MaterialDocumentItem = _MatDoc.MaterialDocumentItem AND MaterialDocumentYear = _MatDoc.MaterialDocumentYear  -- association [0..1]
;