C_MX_JrnlEntrItmInvcDetailsQ
Journal Entries Items with Invoice Query
C_MX_JrnlEntrItmInvcDetailsQ is a Consumption CDS View that provides data about "Journal Entries Items with Invoice Query" in SAP S/4HANA. It reads from 1 data source (C_MX_JrnlEntrItmInvcDetailsC) and exposes 18 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, CompanyCode, AccountingDocument. Part of development package GLO_FIN_IS_GL_MX_JE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_MX_JrnlEntrItmInvcDetailsC | C_MX_JrnlEntrItmInvcDetailsC | from |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_AlternativeGLAccount | figlmx_prim | |
| P_Ledger | fins_ledger | |
| P_FiscalYear | fis_gjahr_no_conv | |
| P_FromPostingDate | fis_budat_from | |
| P_ToPostingDate | fis_budat_to |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMXJEINVDETQ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Journal Entries Items with Invoice Query | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| PostingDate | PostingDate | Posting Date for GR | ||
| ElectronicInvoiceUUID | ElectronicInvoiceUUID | Mexico UUID | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| TaxNumber1 | TaxNumber1 | VAT Reg. No. | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ExchangeRate | Exchange rate | |||
| Country | Country | Venue: Ctry/Reg | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| CompensationType | CompensationType |
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_MX_JrnlEntrItmInvcDetailsQ.
-- 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: CMXJEINVDETQ
-- Parameters: P_AlternativeGLAccount : figlmx_prim, P_Ledger : fins_ledger, P_FiscalYear : fis_gjahr_no_conv, P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to
CREATE VIEW C_MX_JrnlEntrItmInvcDetailsQ AS
SELECT
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
CompanyCode,
AccountingDocument,
FiscalYear,
PostingDate,
ElectronicInvoiceUUID,
DocumentReferenceID,
TaxNumber1,
AmountInTransactionCurrency,
TransactionCurrency,
cast(ExchangeRate as abap.dec(9,5)) AS ExchangeRate,
Country,
Supplier,
Customer,
FinancialAccountType,
CompensationType
FROM C_MX_JrnlEntrItmInvcDetailsC
;
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