R_GR_ElectronicDocInvoice
eDocument Greece: Country/Region Specific Data
R_GR_ElectronicDocInvoice is a Basic CDS View that provides data about "eDocument Greece: Country/Region Specific Data" in SAP S/4HANA. It reads from 1 data source (edogrinv) and exposes 22 fields with key field ElectronicDocUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| edogrinv | edogrinv | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | eDocument Greece: Country/Region Specific Data | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ElectronicDocUUID | edoc_guid | eDocument GUID | |
| GR_ElectronicDocRefDocNumber | legaldoc | Reference | ||
| GR_ElectronicDocPrintTaskCode | prntsk | Print Task Code | ||
| GR_ElectronicDocSeriesPrefix | stext | Text | ||
| GR_ElectronicDocumentSeries | series | Series ID | ||
| GR_ElectronicDocLegalNumber | numbr | Counter | ||
| GR_PrintDate | prdate | Approved on | ||
| GR_PrintTime | prtime | Time | ||
| GR_MovePurpose | move_purpose | |||
| GR_ElectronicDocUniqueID | inv_uid | UID | ||
| GR_ElectronicDocMarkID | inv_mark | MARK | ||
| GR_ElectronicDocClfnMarkID | classif_mark | Classifcation MARK | ||
| GR_ElectronicDocCancelMarkID | cancel_mark | Can Mark | ||
| GR_ElectronicDocCustVATID | customer_vat_reg_id | Customer VAT Id | ||
| GR_ElectronicDocIssueDate | invoice_date | Tax Inv Date | ||
| GR_ElectronicDocInvoiceType | invoice_type | SAF-T Document Type | ||
| GR_ElectronicDocSupplierVATID | vendor_vat_reg_id | Vendor VAT Id | ||
| GR_ElectronicDocBranchID | issuer_branch_id | branch id | ||
| GR_ElectronicDocGrossAmount | total_gross_amount | amount | ||
| GR_ElectronicDocPayableAmount | total_payable_amount | amount | ||
| GR_ElectronicDocNetAmount | total_net_amount | amount | ||
| GR_ElectronicDocFuelInvoice | fuel_invoice | Fuel Invoice |
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 R_GR_ElectronicDocInvoice.
-- 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 R_GR_ElectronicDocInvoice AS
SELECT
edoc_guid AS ElectronicDocUUID,
legaldoc AS GR_ElectronicDocRefDocNumber,
prntsk AS GR_ElectronicDocPrintTaskCode,
stext AS GR_ElectronicDocSeriesPrefix,
series AS GR_ElectronicDocumentSeries,
numbr AS GR_ElectronicDocLegalNumber,
prdate AS GR_PrintDate,
prtime AS GR_PrintTime,
move_purpose AS GR_MovePurpose,
inv_uid AS GR_ElectronicDocUniqueID,
inv_mark AS GR_ElectronicDocMarkID,
classif_mark AS GR_ElectronicDocClfnMarkID,
cancel_mark AS GR_ElectronicDocCancelMarkID,
customer_vat_reg_id AS GR_ElectronicDocCustVATID,
invoice_date AS GR_ElectronicDocIssueDate,
invoice_type AS GR_ElectronicDocInvoiceType,
vendor_vat_reg_id AS GR_ElectronicDocSupplierVATID,
issuer_branch_id AS GR_ElectronicDocBranchID,
total_gross_amount AS GR_ElectronicDocGrossAmount,
total_payable_amount AS GR_ElectronicDocPayableAmount,
total_net_amount AS GR_ElectronicDocNetAmount,
fuel_invoice AS GR_ElectronicDocFuelInvoice
FROM edogrinv
;
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