C_GB_StRpAuditFileSlsDistrQ

DDL: C_GB_STRPAUDITFILESLSDISTRQ Type: view_entity CONSUMPTION

GB HRMC Audit File for SD Query

C_GB_StRpAuditFileSlsDistrQ is a Consumption CDS View that provides data about "GB HRMC Audit File for SD Query" in SAP S/4HANA. It reads from 1 data source (C_GB_StRpAuditFileSlsDistrC) and exposes 36 fields with key fields CompanyCode, VATRegistration, BillingDocumentType, BillingDocument, BillingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
C_GB_StRpAuditFileSlsDistrC C_GB_StRpAuditFileSlsDistrC from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label GB HRMC Audit File for SD Query view
Metadata.ignorePropagatedAnnotations true view
Analytics.query true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY VATRegistration VATRegistration VAT Registration No.
KEY BillingDocumentType BillingDocumentType Billing Type
KEY BillingDocument BillingDocument SD Document
KEY BillingDocumentItem BillingDocumentItem Item
BillingDocumentIsCancelled BillingDocumentIsCancelled Canceled
SDDocumentCategory SDDocumentCategory Document Cat.
TransactionCurrency TransactionCurrency Transaction Currency
AccountingExchangeRate AccountingExchangeRate Exch.Rate Acct.
BillingDocumentDate BillingDocumentDate Billing Date
ServicesRenderedDate ServicesRenderedDate Services Rendered Date
AccountingTransferStatus AccountingTransferStatus
AccountingDocument AccountingDocument Journal Entry
CancelledBillingDocument CancelledBillingDocument Canceld Bill.Dc
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SDPricingProcedure SDPricingProcedure Pric. Procedure
CustomerTaxClassification1 CustomerTaxClassification1
SoldToParty SoldToParty Sold-to Party
Country Country Venue: Ctry/Reg
TaxDepartureCountry TaxDepartureCountry Tx Dep Ctry/Reg
DepartureCountry DepartureCountry Departure Country / Region
Plant Plant Valuation Area
StorageLocation StorageLocation StorageLocation
TaxCode TaxCode Tax Code
Material Material Vehicle Model
ProductTaxClassification1 ProductTaxClassification1
InternationalArticleNumber InternationalArticleNumber EAN/UPC
BillingQuantity BillingQuantity Invoiced Qty
BillingQuantityUnit BillingQuantityUnit Sales Unit
NetAmount NetAmount Stated Amount
TaxAmount TaxAmount Tax Amt in Rptg Crcy
BillingDocumentItemText BillingDocumentItemText Item Descr.

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_GB_StRpAuditFileSlsDistrQ.
-- 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.

CREATE VIEW C_GB_StRpAuditFileSlsDistrQ AS
SELECT
  CompanyCode,
  VATRegistration,
  BillingDocumentType,
  BillingDocument,
  BillingDocumentItem,
  BillingDocumentIsCancelled,
  SDDocumentCategory,
  TransactionCurrency,
  AccountingExchangeRate,
  BillingDocumentDate,
  ServicesRenderedDate,
  AccountingTransferStatus,
  AccountingDocument,
  CancelledBillingDocument,
  FiscalYear,
  FiscalPeriod,
  SalesOrganization,
  DistributionChannel,
  Division,
  SDPricingProcedure,
  CustomerTaxClassification1,
  SoldToParty,
  Country,
  TaxDepartureCountry,
  DepartureCountry,
  Plant,
  StorageLocation,
  TaxCode,
  Material,
  ProductTaxClassification1,
  InternationalArticleNumber,
  BillingQuantity,
  BillingQuantityUnit,
  NetAmount,
  TaxAmount,
  BillingDocumentItemText
FROM C_GB_StRpAuditFileSlsDistrC
;