I_EWA_WeighingProcessBilling

DDL: I_EWA_WEIGHINGPROCESSBILLING Type: view_entity BASIC

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)

SourceAliasJoin Type
ewa_wa_weighpc_b ewa_wa_weighpc_b from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;