C_SameUsrCrteSuplrProcInvc

DDL: C_SAMEUSRCRTESUPLRPROCINVC SQL: CGRCUSRCRESUPINV Type: view CONSUMPTION

Same User Create Supplier Manage Invoice

C_SameUsrCrteSuplrProcInvc is a Consumption CDS View that provides data about "Same User Create Supplier Manage Invoice" in SAP S/4HANA. It reads from 1 data source (I_SupplierInvoice) and exposes 32 fields with key fields SupplierInvoice, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_SupplierInvoice I_SupplierInvoice from

Parameters (1)

NameTypeDefault
P_ComparisonDurationInDays grcfc_days

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CGRCUSRCRESUPINV view
EndUserText.label Same User Create Supplier Manage Invoice view
VDM.viewType #CONSUMPTION view
OData.publish true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice SupplierInvoice SD Document
KEY FiscalYear FiscalYear G/L Fiscal Year
CompanyCode CompanyCode Receiver Company Code
InvoicingParty InvoicingParty Supplier ID
SupplierName _Supplier SupplierName Supplier Name
SupplierCreatedByUser _Supplier CreatedByUser Supplier Created By User
InvoiceCreationDate CreationDate Invoice Creation Date
InvoiceGrossAmount InvoiceGrossAmount Gross Invoice Amount
SuplrInvcTransactionCategory SuplrInvcTransactionCategory Transactn Type
SupplierCreationDate _Supplier CreationDate Time Stamp
InvoiceCreatedByUser CreatedByUser Invoice Created By User
LastChangedByUser Last Changed By User
SuplrInvcExtCreatedByUser SuplrInvcExtCreatedByUser Created by
DocumentDate DocumentDate Journal Entry Date
PostingDate PostingDate Posting Date for GR
CompanyCodeName _CompanyCode CompanyCodeName Company Name
DocumentHeaderText DocumentHeaderText Doc.Header Text
AccountingDocumentType AccountingDocumentType Journal Entry Type
SupplierInvoiceStatus SupplierInvoiceStatus Inv. status
SupplierInvoiceOrigin SupplierInvoiceOrigin IV category
ReverseDocument ReverseDocument Reversed With
ReverseDocumentFiscalYear ReverseDocumentFiscalYear Year
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
SuplrInvcManuallyReducedAmount SuplrInvcManuallyReducedAmount Supplier Error
SuplrInvcManualReductionTaxAmt SuplrInvcManualReductionTaxAmt Tax in Suppl. Error
SuplrInvcAutomReducedAmount SuplrInvcAutomReducedAmount Reduced Amount
SuplrInvcAutomReductionTaxAmt SuplrInvcAutomReductionTaxAmt Tax Inv. Reduction
DocumentCurrency DocumentCurrency Document Currency
_FiscalYear _FiscalYear
_CompanyCode _CompanyCode
_Currency _Currency
_CreatedByUser _CreatedByUser

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_SameUsrCrteSuplrProcInvc.
-- 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: CGRCUSRCRESUPINV
-- Parameters: P_ComparisonDurationInDays : grcfc_days

CREATE VIEW C_SameUsrCrteSuplrProcInvc AS
SELECT
  SupplierInvoice,
  FiscalYear,
  CompanyCode,
  InvoicingParty,
  _Supplier.SupplierName AS SupplierName,
  _Supplier.CreatedByUser AS SupplierCreatedByUser,
  CreationDate AS InvoiceCreationDate,
  InvoiceGrossAmount,
  SuplrInvcTransactionCategory,
  _Supplier.CreationDate AS SupplierCreationDate,
  CreatedByUser AS InvoiceCreatedByUser,
  cast(LastChangedByUser as last_user) AS LastChangedByUser,
  SuplrInvcExtCreatedByUser,
  DocumentDate,
  PostingDate,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  DocumentHeaderText,
  AccountingDocumentType,
  SupplierInvoiceStatus,
  SupplierInvoiceOrigin,
  ReverseDocument,
  ReverseDocumentFiscalYear,
  IsEndOfPurposeBlocked,
  SuplrInvcManuallyReducedAmount,
  SuplrInvcManualReductionTaxAmt,
  SuplrInvcAutomReducedAmount,
  SuplrInvcAutomReductionTaxAmt,
  DocumentCurrency
FROM I_SupplierInvoice
;