I_EWA_WeighingProcessBilling
Billing data of weighing processes
I_EWA_WeighingProcessBilling is a Basic CDS View that provides data about "Billing data of weighing processes" in SAP S/4HANA. It reads from 1 data source (ewa_wa_weighpc_b) and exposes 17 fields with key fields EWAWeighingTransaction, EWAWeighingCashPaymentSequence. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ewa_wa_weighpc_b | ewa_wa_weighpc_b | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BillingDocument | _BillingDocument | $projection.BillingDocument = _BillingDocument.BillingDocument |
| [0..1] | I_EWA_WeighingProcess | _EWAWeighingTransaction | $projection.EWAWeighingTransaction = _EWAWeighingTransaction.EWAWeighingTransaction |
| [0..1] | I_BillingDocument | _ReversalBillingDocument | $projection.EWARevBillingDocument = _ReversalBillingDocument.BillingDocument |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Billing data of weighing processes | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWAWeighingTransaction | ewawa_weighingnr | Weighing Trans. | |
| KEY | EWAWeighingCashPaymentSequence | lnr | Sequential No. | |
| BillingDocument | vbeln_vf | Billing Doc. | ||
| CompanyCode | comp_code | Procuring Comp. Cde | ||
| CashJournal | cajo_number | Cash Journal Number | ||
| EWAFiscalYear | fisc_year | Year | ||
| CashJournalDocumentInternalID | cash_journal_doc_num | Internal doc. number | ||
| EWARevBillingDocument | vbeln_vf_reverse | CancelBilling | ||
| EWAReversalCompanyCode | comp_code_reverse | Company Code | ||
| EWAReversalCashJournal | cajo_number_reverse | Cash Journal Number | ||
| EWAReversalFiscalYear | fisc_year_reverse | Fiscal Year | ||
| EWAReversalCashJournalDocument | cash_journal_doc_reverse | CJDoc_OE | ||
| EWABillingDocumentCode | info_vbeln_vf | Info Field | ||
| EWAReversalBillingDocumentCode | info_vbeln_vf_reverse | InfoFldCancel. | ||
| _BillingDocument | _BillingDocument | |||
| _EWAWeighingTransaction | _EWAWeighingTransaction | |||
| _ReversalBillingDocument | _ReversalBillingDocument |
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_EWA_WeighingProcessBilling.
-- 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_EWA_WeighingProcessBilling AS
SELECT
ewawa_weighingnr AS EWAWeighingTransaction,
lnr AS EWAWeighingCashPaymentSequence,
vbeln_vf AS BillingDocument,
comp_code AS CompanyCode,
cajo_number AS CashJournal,
fisc_year AS EWAFiscalYear,
cash_journal_doc_num AS CashJournalDocumentInternalID,
vbeln_vf_reverse AS EWARevBillingDocument,
comp_code_reverse AS EWAReversalCompanyCode,
cajo_number_reverse AS EWAReversalCashJournal,
fisc_year_reverse AS EWAReversalFiscalYear,
cash_journal_doc_reverse AS EWAReversalCashJournalDocument,
info_vbeln_vf AS EWABillingDocumentCode,
info_vbeln_vf_reverse AS EWAReversalBillingDocumentCode
FROM ewa_wa_weighpc_b
LEFT OUTER JOIN I_BillingDocument AS _BillingDocument ON BillingDocument = _BillingDocument.BillingDocument -- association [0..1]
LEFT OUTER JOIN I_EWA_WeighingProcess AS _EWAWeighingTransaction ON EWAWeighingTransaction = _EWAWeighingTransaction.EWAWeighingTransaction -- association [0..1]
LEFT OUTER JOIN I_BillingDocument AS _ReversalBillingDocument ON EWARevBillingDocument = _ReversalBillingDocument.BillingDocument -- association [0..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