I_IN_EDCTaxAuthEInvcHdr
India eInvoice Auto Population Header
I_IN_EDCTaxAuthEInvcHdr is a Basic CDS View that provides data about "India eInvoice Auto Population Header" in SAP S/4HANA. It reads from 1 data source (edcineinvh) and exposes 27 fields with key field EDCTaxAuthRecordUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| edcineinvh | edcineinvh | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_IN_EDCTaxAuthEInvcItem | _EDCTaxAuthEInvcItem | $projection.EDCTaxAuthRecordUUID = _EDCTaxAuthEInvcItem.EDCTaxAuthRecordUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | India eInvoice Auto Population Header | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EDCTaxAuthRecordUUID | record_guid | UUID | |
| IN_EDCTaxAuthTaxPayerGSTIN | tp_gstin | Taxpayer GSTIN | ||
| IN_EDCTaxAuthReportingPeriod | Reporting Period | |||
| IN_EDCTaxAuthDocSectionCode | doc_section | GSTR2A/2B Doc Sec | ||
| IN_EDCTaxAuthEDocInvcNmbr | doc_no | Posted Doc. No. | ||
| IN_EDCTaxAuthBusinessPrtnGSTIN | cp_gstin | Counter Party GSTIN | ||
| IN_EDCTaxAuthBusinessPrtnName | cp_name | Counterparty Name | ||
| IN_EDCTaxAuthDocumentDate | doc_date | Document Date | ||
| IN_EDCTaxAuthGSTPlaceOfSupply | pos | Table position | ||
| IN_EDCTaxAuthInvoiceType | inv_type | SAF-T Inv. Type | ||
| IN_EDCTaxAuthIsReverseCharged | is_reverse_charge | Rev Chrg Indicator | ||
| IN_EDCTaxAuthDocumentAmount | doc_amount | Document Amount | ||
| Currency | currency_code | Currency Code | ||
| IN_EDCTaxAuthEInvcSrceType | irn_src_type | IRN Source Type | ||
| IN_EDCTaxAuthInvcRefNmbr | irn | Invoice Ref. Number | ||
| IN_EDCTaxAuthEInvcGnrtnDate | irn_gendate | IRN Genaration Date | ||
| IN_EDCTaxAuthEInvcStatus | einv_status | e-Invoice Status | ||
| IN_EDCTaxAuthAutoDraftStatus | auto_draft_status | Auto Draft Status | ||
| IN_EDCTaxAuthAutoDraftDate | auto_draft_date | Auto Draft Date | ||
| IN_EDCTaxAuthNoteType | note_type | Type of Note | ||
| IN_EDCTaxAuthShipgBillNumber | ship_bill_number | Shipping Bill Number | ||
| IN_EDCTaxAuthShipgBillDate | ship_bill_date | Shipping Bill Date | ||
| IN_EDCTaxAuthShipgPortCode | ship_port_code | Port Code | ||
| IN_EDCTaxAuthEcommerceGSTIN | ecom_gstin | eCommerce GSTIN | ||
| IN_EDCTaxAuthErrorCode | error_code | INT4 | ||
| IN_EDCTaxAuthErrorDescription | error_desciption | Error Description | ||
| _EDCTaxAuthEInvcItem | _EDCTaxAuthEInvcItem |
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_EDCTaxAuthEInvcHdr.
-- 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_EDCTaxAuthEInvcHdr AS
SELECT
record_guid AS EDCTaxAuthRecordUUID,
tp_gstin AS IN_EDCTaxAuthTaxPayerGSTIN,
cast(ret_period as abap.numc( 6 )) AS IN_EDCTaxAuthReportingPeriod,
doc_section AS IN_EDCTaxAuthDocSectionCode,
doc_no AS IN_EDCTaxAuthEDocInvcNmbr,
cp_gstin AS IN_EDCTaxAuthBusinessPrtnGSTIN,
cp_name AS IN_EDCTaxAuthBusinessPrtnName,
doc_date AS IN_EDCTaxAuthDocumentDate,
pos AS IN_EDCTaxAuthGSTPlaceOfSupply,
inv_type AS IN_EDCTaxAuthInvoiceType,
is_reverse_charge AS IN_EDCTaxAuthIsReverseCharged,
doc_amount AS IN_EDCTaxAuthDocumentAmount,
currency_code AS Currency,
irn_src_type AS IN_EDCTaxAuthEInvcSrceType,
irn AS IN_EDCTaxAuthInvcRefNmbr,
irn_gendate AS IN_EDCTaxAuthEInvcGnrtnDate,
einv_status AS IN_EDCTaxAuthEInvcStatus,
auto_draft_status AS IN_EDCTaxAuthAutoDraftStatus,
auto_draft_date AS IN_EDCTaxAuthAutoDraftDate,
note_type AS IN_EDCTaxAuthNoteType,
ship_bill_number AS IN_EDCTaxAuthShipgBillNumber,
ship_bill_date AS IN_EDCTaxAuthShipgBillDate,
ship_port_code AS IN_EDCTaxAuthShipgPortCode,
ecom_gstin AS IN_EDCTaxAuthEcommerceGSTIN,
error_code AS IN_EDCTaxAuthErrorCode,
error_desciption AS IN_EDCTaxAuthErrorDescription
FROM edcineinvh
LEFT OUTER JOIN I_IN_EDCTaxAuthEInvcItem AS _EDCTaxAuthEInvcItem ON EDCTaxAuthRecordUUID = _EDCTaxAuthEInvcItem.EDCTaxAuthRecordUUID -- association [1..*]
;
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