I_IN_GSTR6CalcDistrAmtCube
Calculate Distr Credit Amt - Cube
I_IN_GSTR6CalcDistrAmtCube is a Composite CDS View (Cube) that provides data about "Calculate Distr Credit Amt - Cube" in SAP S/4HANA. It reads from 1 data source (I_IN_GSTR6DistrInvoiceCube) and exposes 8 fields with key fields ElectronicDocUUID, ElectronicDocCompanyCode, InputServiceDistrBusPlace.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_IN_GSTR6DistrInvoiceCube | _DistrInv | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Calculate Distr Credit Amt - Cube | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Analytics.internalName | #LOCAL | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ElectronicDocUUID | I_IN_GSTR6DistrInvoiceCube | ElectronicDocUUID | |
| KEY | ElectronicDocCompanyCode | I_IN_GSTR6DistrInvoiceCube | ElectronicDocCompanyCode | |
| KEY | InputServiceDistrBusPlace | I_IN_GSTR6DistrInvoiceCube | InputServiceDistrBusPlace | |
| PostingDate | I_IN_GSTR6DistrInvoiceCube | PostingDate | Posting Date for GR | |
| IN_EDocGSTRetsTaxReportingDate | I_IN_GSTR6DistrInvoiceCube | IN_EDocGSTRetsTaxReportingDate | ||
| IN_EDocInptTaxCrdtAccptdDate | I_IN_GSTR6DistrInvoiceCube | IN_EDocInptTaxCrdtAccptdDate | ||
| Currency | I_IN_GSTR6DistrInvoiceCube | CompanyCodeCurrency | Local Currency | |
| EDCDocumentPeriod |
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_IN_GSTR6CalcDistrAmtCube.
-- 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_IN_GSTR6CalcDistrAmtCube AS
SELECT
_DistrInv.ElectronicDocUUID AS ElectronicDocUUID,
_DistrInv.ElectronicDocCompanyCode AS ElectronicDocCompanyCode,
_DistrInv.InputServiceDistrBusPlace AS InputServiceDistrBusPlace,
_DistrInv.PostingDate AS PostingDate,
_DistrInv.IN_EDocGSTRetsTaxReportingDate AS IN_EDocGSTRetsTaxReportingDate,
_DistrInv.IN_EDocInptTaxCrdtAccptdDate AS IN_EDocInptTaxCrdtAccptdDate,
_DistrInv.CompanyCodeCurrency AS Currency,
cast( substring( _DistrInv.IN_EDocInptTaxCrdtAccptdDate, 1, 6 ) as edc_document_period ) AS EDCDocumentPeriod
FROM I_IN_GSTR6DistrInvoiceCube AS _DistrInv
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA