C_IN_InputServiceDistrCube

DDL: C_IN_INPUTSERVICEDISTRCUBE SQL: CINISDCUBE Type: view CONSUMPTION

Cube View for ISD Documents in India

C_IN_InputServiceDistrCube is a Consumption CDS View (Cube) that provides data about "Cube View for ISD Documents in India" in SAP S/4HANA. It reads from 1 data source (I_IN_InptSrvcDistr) and exposes 26 fields with key fields AccountingDocument, DocumentType, AccountingDocumentItem, FiscalYear, CompanyCode. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_IN_InptSrvcDistr I_IN_InptSrvcDistr from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompCode _CompCode.CompanyCode = $projection.CompanyCode
[0..1] I_IN_BusinessPlace _SendingBusinessPlace _SendingBusinessPlace.Branch = $projection.InputServiceDistrBusPlace and _SendingBusinessPlace.CompanyCode = $projection.CompanyCode
[0..1] I_IN_BusinessPlace _ReceivingBusinessPlace _ReceivingBusinessPlace.Branch = $projection.ReceivingBusPlace and _ReceivingBusinessPlace.CompanyCode = $projection.CompanyCode

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CINISDCUBE 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 ISD Documents in India view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY AccountingDocument AccountingDocument Journal Entry
KEY DocumentType DocumentType Order Type
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY CompanyCode CompanyCode Receiver Company Code
InputServiceDistrBusPlace InputServiceDistrBusPlace
ReceivingBusPlace ReceivingBusPlace
CntrlGST CntrlGST CGST Due
StateGST StateGST SGST Due
UnionTerritoryGST UnionTerritoryGST UGST Due
IntegratedGST IntegratedGST IGST Due
InputServiceDistrTaxCESS InputServiceDistrTaxCESS CESS Due
TotalTaxAmount TotalTaxAmount Total
Currency Currency Valuation Crcy
PostingDate PostingDate Posting Date for GR
NumberOfDocuments 1
ReceivingBusPlaceCentralGST ReceivingBusPlaceCentralGST
ReceivingBusPlaceStateGST ReceivingBusPlaceStateGST
ReceivingBusPlaceUnionGST ReceivingBusPlaceUnionGST
ReceivingBusPlaceIntegratedGST ReceivingBusPlaceIntegratedGST
ReceivingBusPlaceCESS ReceivingBusPlaceCESS
TaxAmountDue TaxAmountDue Total Due
TaxAmountDistributed TaxAmountDistributed Total Paid
_CompCode _CompCode
_SendingBusinessPlace _SendingBusinessPlace
_ReceivingBusinessPlace _ReceivingBusinessPlace

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_InputServiceDistrCube.
-- 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: CINISDCUBE

CREATE VIEW C_IN_InputServiceDistrCube AS
SELECT
  AccountingDocument,
  DocumentType,
  AccountingDocumentItem,
  FiscalYear,
  CompanyCode,
  InputServiceDistrBusPlace,
  ReceivingBusPlace,
  CntrlGST,
  StateGST,
  UnionTerritoryGST,
  IntegratedGST,
  InputServiceDistrTaxCESS,
  TotalTaxAmount,
  Currency,
  PostingDate,
  1 AS NumberOfDocuments,
  ReceivingBusPlaceCentralGST,
  ReceivingBusPlaceStateGST,
  ReceivingBusPlaceUnionGST,
  ReceivingBusPlaceIntegratedGST,
  ReceivingBusPlaceCESS,
  TaxAmountDue,
  TaxAmountDistributed
FROM I_IN_InptSrvcDistr
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON _CompCode.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_IN_BusinessPlace AS _SendingBusinessPlace ON _SendingBusinessPlace.Branch = InputServiceDistrBusPlace AND _SendingBusinessPlace.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_IN_BusinessPlace AS _ReceivingBusinessPlace ON _ReceivingBusinessPlace.Branch = ReceivingBusPlace AND _ReceivingBusinessPlace.CompanyCode = CompanyCode  -- association [0..1]
;