P_RU_ExtInvoiceTotalAmount2

DDL: P_RU_EXTINVOICETOTALAMOUNT2 SQL: PRUEXTINVTOTAMT2 Type: view CONSUMPTION

P_RU_ExtInvoiceTotalAmount2 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_RU_ExtInvoiceTotalAmount1) and exposes 7 fields.

Data Sources (1)

SourceAliasJoin Type
P_RU_ExtInvoiceTotalAmount1 P_RU_ExtInvoiceTotalAmount1 from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PRUEXTINVTOTAMT2 view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (7)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
AccountingDocument AccountingDocument Journal Entry
FiscalYear FiscalYear G/L Fiscal Year
ExternalAccountingDocument ExternalAccountingDocument External Number
ExternalAcctgDocumentDate ExternalAcctgDocumentDate Run On
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxBaseAmountInTransCrcy TaxBaseAmountInTransCrcy Value-Added Tax

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 P_RU_ExtInvoiceTotalAmount2.
-- 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: PRUEXTINVTOTAMT2

CREATE VIEW P_RU_ExtInvoiceTotalAmount2 AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  ExternalAccountingDocument,
  ExternalAcctgDocumentDate,
  TaxBaseAmountInCoCodeCrcy,
  TaxBaseAmountInTransCrcy
FROM P_RU_ExtInvoiceTotalAmount1
;