CustomerClearedItems_BSAD
Source SQL File - Google Cloud Cortex Data Foundation
Google Cloud Cortex Foudantion - Cortex Reporting - (ecc) - CustomerClearedItems_BSAD
Overview
This view is a reporting view for SAP systems that provides detailed information about accounting documents and their line items. It combines data from the BKPF and BSEG tables to provide a comprehensive view of accounting transactions.
Data Sources
Source Table/View | Description |
---|---|
BKPF | Accounting Document Header Table |
BSEG | Accounting Document Line Item Table |
Key Use Cases
- Analyze accounting transactions and identify trends
- Reconcile accounting data with other financial systems
- Generate reports for financial analysis and auditing purposes
- Provide detailed information for tax and regulatory compliance
Query Logic
The view combines data from the BKPF and BSEG tables using a LEFT OUTER JOIN on the MANDT, BUKRS, GJAHR, and BELNR fields. The view filters the BSEG table to include only line items with the KOART field set to 'D' and the AUGBL field set to NULL.
Possible relation with SAP Transactions
Transaction Code | Transaction Description |
---|---|
FB03 | Display Document |
FB50 | Post Document |
FBL1N | Document List |
FBL3N | Line Item List |
Data Lineage
Under Development
Table/View Fields
Field | Field Description | Description in SAP Dictionary (Comming soon) |
---|---|---|
Client_MANDT | Client ID | |
PurchasingDocumentDate_BEDAT | Purchasing Document Date | |
YearOfPurchasingDocumentDate_BEDAT | Year of Purchasing Document Date | |
MonthOfPurchasingDocumentDate_BEDAT | Month of Purchasing Document Date | |
WeekOfPurchasingDocumentDate_BEDAT | Week of Purchasing Document Date | |
Company_BUKRS | Company Code | |
Company | Company Name | |
PurchasingOrganization_EKORG | Purchasing Organization | |
PurchasingOrganization | Purchasing Organization Name | |
PurchasingGroup_EKGRP | Purchasing Group | |
PurchasingGroup | Purchasing Group Name | |
VendorAccountNumber_LIFNR | Vendor Account Number | |
VendorName | Vendor Name | |
VendorCountry | Vendor Country | |
FiscalyearVariant_PERIV | Fiscal Year Variant | |
MaterialNumber_MATNR | Material Number | |
Plant_WERKS | Plant | |
MaterialType_MTART | Material Type | |
POQuantity_MENGE | PO Quantity | |
FiscalYear | Fiscal Year | |
FiscalPeriod | Fiscal Period | |
InvoiceDate | Invoice Date | |
TotalSpend | Total Spend | |
ClearedInvoices | Cleared Invoices | |
YearOfInvoiceDate | Year of Invoice Date | |
MonthOfInvoiceDate | Month of Invoice Date | |
WeekOfInvoiceDate | Week of Invoice Date | |
AverageNetPrice | Average Net Price | |
TargetCurrency_TCURR | Target Currency | |
AverageNetPriceInTargetCurrency | Average Net Price in Target Currency | |
TotalSpendInTargetCurrency | Total Spend in Target Currency | |
CountRejectedOrders | Count of Rejected Orders | |
CountNotRejectedOrders | Count of Not Rejected Orders | |
CountNotDelayedOrders | Count of Not Delayed Orders | |
CountDelayedOrders | Count of Delayed Orders | |
CountInFullOrders | Count of In Full Orders | |
CountNotInFullOrders | Count of Not In Full Orders | |
CountAccurateInvoices | Count of Accurate Invoices | |
CountInaccurateInvoices | Count of Inaccurate Invoices | |
CountPastDueOrders | Count of Past Due Orders | |
CountOpenOrders | Count of Open Orders | |
Material | Material Description | |
MaterialType | Material Type Description | |
LanguageKey_SPRAS | Language Key | |
ValuationPrice | Valuation Price | |
ValuationPriceInTargetCurrency | Valuation Price in Target Currency | |
PurchasePriceVariance | Purchase Price Variance | |
PurchasePriceVarianceInTargetCurrency | Purchase Price Variance in Target Currency |