C_StRpBillgDocSuplrInvcItmQry
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)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpBillgDocSuplrInvcItmCube | I_StRpBillgDocSuplrInvcItmCube | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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