Deprecated
This CDS view is deprecated in S/4HANA. Use <C_AE_StRpTaxItemAuditQuery> instead. View all deprecated CDS views →

C_StRpBillgDocSuplrInvcItmQry

DDL: C_STRPBILLGDOCSUPLRINVCITMQRY SQL: CSRBILSUPINVITMQ Type: view CONSUMPTION

Sales, Purchase Invoice Item with Tax

C_StRpBillgDocSuplrInvcItmQry is a Consumption CDS View that provides data about "Sales, Purchase Invoice Item with Tax" in SAP S/4HANA. It reads from 1 data source (I_StRpBillgDocSuplrInvcItmCube) and exposes 38 fields with key fields CompanyCode, AccountingDocument, FiscalYear, BillingDocumentItem, TransactionTypeDetermination.

Data Sources (1)

SourceAliasJoin Type
I_StRpBillgDocSuplrInvcItmCube I_StRpBillgDocSuplrInvcItmCube from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (12)

NameValueLevelField
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor <C_AE_StRpTaxItemAuditQuery> view
AbapCatalog.sqlViewName CSRBILSUPINVITMQ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
Analytics.query true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales, Purchase Invoice Item with Tax view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY BillingDocumentItem BillingDocumentItem Item
KEY TransactionTypeDetermination TransactionTypeDetermination Transaction Key
BillingDocument BillingDocument SD Document
BillingDocumentDate BillingDocumentDate Billing Date
AccountingTransferStatus AccountingTransferStatus
SalesDocumentCondition SalesDocumentCondition
BusinessPartnerCountry BusinessPartnerCountry BP Ctry/Reg.
BusinessPartnerName BusinessPartnerName Extracted Customer Name
VATRegistration VATRegistration VAT Registration No.
ShipToPartyCountry ShipToPartyCountry Country/Region
Material Material Vehicle Model
TaxCode TaxCode Tax Code
CompanyCodeCurrency CompanyCodeCurrency Local Currency
DocumentCurrency DocumentCurrency Document Currency
AdditionalCurrency1 AdditionalCurrency1 Local curr. 2
AdditionalCurrency2 AdditionalCurrency2 Local curr. 3
GLAccount GLAccount General Ledger
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxBaseAmountInTransCrcy TaxBaseAmountInTransCrcy Value-Added Tax
TaxAmountInTransCrcy TaxAmountInTransCrcy TaxAmt in Tran. Crcy
TaxBaseAmtInAdditionalCrcy1 TaxBaseAmtInAdditionalCrcy1 LC 2 Base
TaxAmountInAdditionalCurrency1 TaxAmountInAdditionalCurrency1 LC 2 Tax
TaxBaseAmtInAdditionalCrcy2 TaxBaseAmtInAdditionalCrcy2 LC 3 Base
TaxAmountInAdditionalCurrency2 TaxAmountInAdditionalCurrency2 LC 3 Tax
TaxReportingDate TaxReportingDate Tax Reporting Date
DocumentDate DocumentDate Journal Entry Date
PostingDate PostingDate Posting Date for GR
ReportingDate ReportingDate
FinancialAccountType FinancialAccountType Fin. Account Type
ReferenceDocumentType ReferenceDocumentType Reference Document Type
MaterialName MaterialName Material Description
OriginRefDocBusObjTypeName OriginRefDocBusObjTypeName
BusinessPartnerCountryName BusinessPartnerCountryName
DocumentReferenceID DocumentReferenceID Reference

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_StRpBillgDocSuplrInvcItmQry.
-- 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: CSRBILSUPINVITMQ
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW C_StRpBillgDocSuplrInvcItmQry AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  BillingDocumentItem,
  TransactionTypeDetermination,
  BillingDocument,
  BillingDocumentDate,
  AccountingTransferStatus,
  SalesDocumentCondition,
  BusinessPartnerCountry,
  BusinessPartnerName,
  VATRegistration,
  ShipToPartyCountry,
  Material,
  TaxCode,
  CompanyCodeCurrency,
  DocumentCurrency,
  AdditionalCurrency1,
  AdditionalCurrency2,
  GLAccount,
  TaxBaseAmountInCoCodeCrcy,
  TaxAmountInCoCodeCrcy,
  TaxBaseAmountInTransCrcy,
  TaxAmountInTransCrcy,
  TaxBaseAmtInAdditionalCrcy1,
  TaxAmountInAdditionalCurrency1,
  TaxBaseAmtInAdditionalCrcy2,
  TaxAmountInAdditionalCurrency2,
  TaxReportingDate,
  DocumentDate,
  PostingDate,
  ReportingDate,
  FinancialAccountType,
  ReferenceDocumentType,
  MaterialName,
  OriginRefDocBusObjTypeName,
  BusinessPartnerCountryName,
  DocumentReferenceID
FROM I_StRpBillgDocSuplrInvcItmCube
;