C_SameUsrCrteSuplrProcInvc
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplierInvoice | I_SupplierInvoice | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_ComparisonDurationInDays | grcfc_days |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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