I_StRpCustomerSupplierLineItem

DDL: I_STRPCUSTOMERSUPPLIERLINEITEM SQL: ISRCUSTSUPITM Type: view COMPOSITE Package: GLO_FIN_IS_VAT_GEN

Customer Supplier Line Item

I_StRpCustomerSupplierLineItem is a Composite CDS View that provides data about "Customer Supplier Line Item" in SAP S/4HANA. It reads from 1 data source (P_CustomerVendorLineItem) and exposes 17 fields with key fields CompanyCode, AccountingDocument, FiscalYear. Part of development package GLO_FIN_IS_VAT_GEN.

Data Sources (1)

SourceAliasJoin Type
P_CustomerVendorLineItem I_OperationalAcctgDocItem from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISRCUSTSUPITM view
EndUserText.label Customer Supplier Line Item view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_CustomerVendorLineItem CompanyCode Receiver Company Code
KEY AccountingDocument P_CustomerVendorLineItem AccountingDocument Journal Entry
KEY FiscalYear P_CustomerVendorLineItem FiscalYear G/L Fiscal Year
AccountingDocumentItem P_CustomerVendorLineItem AccountingDocumentItem Posting View Item
TaxReportingDateendasReportingDate
PostingDate P_CustomerVendorLineItem PostingDate Posting Date for GR
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry
Customer Customer Sold-to Party
Supplier Supplier Supplier
VATRegistration VATRegistration VAT Registration No.
FinancialAccountType FinancialAccountType Fin. Account Type
InvoiceReference InvoiceReference Invoice Reference
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
IsNegativePosting IsNegativePosting Negative Posting
_Supplier _Supplier
_Customer _Customer
_OneTimeAccountBP _OneTimeAccountBP

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_StRpCustomerSupplierLineItem.
-- 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: ISRCUSTSUPITM

CREATE VIEW I_StRpCustomerSupplierLineItem AS
SELECT
  I_OperationalAcctgDocItem.CompanyCode AS CompanyCode,
  I_OperationalAcctgDocItem.AccountingDocument AS AccountingDocument,
  I_OperationalAcctgDocItem.FiscalYear AS FiscalYear,
  I_OperationalAcctgDocItem.AccountingDocumentItem AS AccountingDocumentItem,
  case when I_OperationalAcctgDocItem.TaxReportingDate = '00000000' then I_OperationalAcctgDocItem.PostingDate else I_OperationalAcctgDocItem.TaxReportingDate end as ReportingDate AS TaxReportingDateendasReportingDate,
  I_OperationalAcctgDocItem.PostingDate AS PostingDate,
  ClearingAccountingDocument,
  Customer,
  Supplier,
  VATRegistration,
  FinancialAccountType,
  InvoiceReference,
  InvoiceReferenceFiscalYear,
  IsNegativePosting
FROM P_CustomerVendorLineItem AS I_OperationalAcctgDocItem
;