C_APProcessFlowSupplierInvoice
AP Process Flow Supplier Invoice
C_APProcessFlowSupplierInvoice is a Consumption CDS View that provides data about "AP Process Flow Supplier Invoice" in SAP S/4HANA. It reads from 3 data sources (I_SupplierInvoice, I_APProcFlwRstrcdSuplrInvc, I_SuplrInvcItemLogsUnion) and exposes 59 fields with key fields SupplierInvoice, FiscalYear, SupplierInvoiceItem, FiscalYear, SupplierInvoiceItem. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F2691). Part of development package ODATA_PROCESS_FLOW_AP.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplierInvoice | _SupplierInvoice | union_all |
| I_APProcFlwRstrcdSuplrInvc | _SupplierInvoice | union_all |
| I_SuplrInvcItemLogsUnion | I_SuplrInvcItemLogsUnion | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UserContactCard | _UserContactCard | _UserContactCard.ContactCardID = $projection.CreatedByUser |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CAPPFLWSINV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| DataAging.noAgingRestriction | false | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | AP Process Flow Supplier Invoice | view | |
| AbapCatalog.preserveKey | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2691 | ASQL_F2691 | C2 | NOT_RELEASED |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplierInvoice | SupplierInvoice | SD Document | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | SupplierInvoiceItem | SupplierInvoiceItem | ||
| ProcessFlowNodeDocument | SupplierInvoice | SD Document | ||
| ProcessFlowNodeDocCategory | ||||
| ProcessFlowNode | ||||
| Supplier | I_APProcFlwRstrcdSuplrInvc | InvoicingParty | Supplier | |
| SupplierName | Supplier Name | |||
| PostingDate | I_APProcFlwRstrcdSuplrInvc | PostingDate | Posting Date for GR | |
| DocumentDate | I_APProcFlwRstrcdSuplrInvc | DocumentDate | Journal Entry Date | |
| PaymentBlockingReason | I_APProcFlwRstrcdSuplrInvc | PaymentBlockingReason | Pmnt block | |
| SupplierInvoiceIDByInvcgParty | I_APProcFlwRstrcdSuplrInvc | SupplierInvoiceIDByInvcgParty | Reference | |
| DocumentCurrency | I_APProcFlwRstrcdSuplrInvc | DocumentCurrency | Document Currency | |
| CreatedByUser | I_APProcFlwRstrcdSuplrInvc | CreatedByUser | User Name | |
| SupplierInvoiceStatus | I_APProcFlwRstrcdSuplrInvc | SupplierInvoiceStatus | Inv. status | |
| FullName | Name | |||
| CompanyCode | I_APProcFlwRstrcdSuplrInvc | CompanyCode | Receiver Company Code | |
| CompanyCodeName | ||||
| IsEndOfPurposeBlocked | I_APProcFlwRstrcdSuplrInvc | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | |
| AuthorizationGroup | AuthorizGroup | |||
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | SupplierInvoiceItem | |||
| ProcessFlowNodeDocument | SupplierInvoice | SD Document | ||
| ProcessFlowNodeDocCategory | ||||
| ProcessFlowNode | ||||
| Supplier | InvoicingParty | Supplier | ||
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| PaymentBlockingReason | PaymentBlockingReason | Pmnt block | ||
| SupplierInvoiceIDByInvcgParty | SupplierInvoiceIDByInvcgParty | Reference | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| CreatedByUser | CreatedByUser | User Name | ||
| SupplierInvoiceStatus | SupplierInvoiceStatus | Inv. status | ||
| FullName | _UserContactCard | FullName | Name | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | ||||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| AuthorizationGroup | _Supplier | AuthorizationGroup | AuthorizGroup | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | SupplierInvoiceItem | SupplierInvoiceItem | ||
| ProcessFlowNodeDocument | SupplierInvoice | SD Document | ||
| ProcessFlowNodeDocCategory | ||||
| ProcessFlowNode | ||||
| Supplier | InvoicingParty | Supplier | ||
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| PaymentBlockingReason | PaymentBlockingReason | Pmnt block | ||
| SupplierInvoiceIDByInvcgParty | SupplierInvoiceIDByInvcgParty | Reference | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| CreatedByUser | CreatedByUser | User Name | ||
| SupplierInvoiceStatus | SupplierInvoiceStatus | Inv. status | ||
| FullName | _UserContactCard | FullName | Name | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | ||||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| AuthorizationGroup | _Supplier | AuthorizationGroup | AuthorizGroup | |
| Plant |
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_APProcessFlowSupplierInvoice.
-- 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: CAPPFLWSINV
CREATE VIEW C_APProcessFlowSupplierInvoice AS
SELECT
SupplierInvoice,
FiscalYear,
SupplierInvoiceItem,
SupplierInvoice AS ProcessFlowNodeDocument,
cast( '2' as vgabe ) AS ProcessFlowNodeDocCategory,
concat(SupplierInvoice,concat('00000____',concat(FiscalYear,'1'))) AS ProcessFlowNode,
_SupplierInvoice.InvoicingParty AS Supplier,
_SupplierInvoice._Supplier.SupplierName AS SupplierName,
_SupplierInvoice.PostingDate AS PostingDate,
_SupplierInvoice.DocumentDate AS DocumentDate,
_SupplierInvoice.PaymentBlockingReason AS PaymentBlockingReason,
_SupplierInvoice.SupplierInvoiceIDByInvcgParty AS SupplierInvoiceIDByInvcgParty,
_SupplierInvoice.DocumentCurrency AS DocumentCurrency,
_SupplierInvoice.CreatedByUser AS CreatedByUser,
_SupplierInvoice.SupplierInvoiceStatus AS SupplierInvoiceStatus,
_SupplierInvoice._CreatedByUser.UserDescription AS FullName,
_SupplierInvoice.CompanyCode AS CompanyCode,
_SupplierInvoice._CompanyCode.CompanyCodeName AS CompanyCodeName,
_SupplierInvoice.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
_SupplierInvoice._Supplier.AuthorizationGroup AS AuthorizationGroup,
'' AS Plant
FROM I_SuplrInvcItemLogsUnion
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON _UserContactCard.ContactCardID = CreatedByUser -- association [1..1]
-- UNION ALL with additional select branch(es): I_SupplierInvoice, I_APProcFlwRstrcdSuplrInvc
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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