P_SupplierInvoiceForAutomation
Supplier Invoice For Automation
P_SupplierInvoiceForAutomation is a Consumption CDS View that provides data about "Supplier Invoice For Automation" in SAP S/4HANA. It reads from 1 data source (I_SupplierInvoice) and exposes 10 fields with key fields SupplierInvoice, FiscalYear.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplierInvoice | I_SupplierInvoice | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | bedat | |
| P_EndDate | bedat |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSUPINVAUT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Supplier Invoice For Automation | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplierInvoice | SupplierInvoice | ||
| KEY | FiscalYear | FiscalYear | ||
| Supplier | InvoicingParty | |||
| CompanyCode | CompanyCode | |||
| CreationDate | CreationDate | |||
| SupplierInvoiceOrigin | SupplierInvoiceOrigin | |||
| SuplrInvcTransactionCategory | SuplrInvcTransactionCategory | |||
| _Supplier | _Supplier | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear |
@AbapCatalog.sqlViewName: 'PSUPINVAUT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.private: true
@VDM.viewType : #CONSUMPTION
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Supplier Invoice For Automation'
define view P_SupplierInvoiceForAutomation
with parameters
P_StartDate : bedat,
P_EndDate : bedat
as select from I_SupplierInvoice
// association [1..1] to C_InvoiceInboundStatusText as _SupplierInvoiceStatusTxt on $projection.SupplierInvoiceOrigin = _SupplierInvoiceStatus.supplierinvoicestatus
{
key SupplierInvoice,
key FiscalYear,
InvoicingParty as Supplier,
CompanyCode,
CreationDate,
// @ObjectModel.text.element: '_SupplierInvoiceStatusTxt'
SupplierInvoiceOrigin,
SuplrInvcTransactionCategory,
_Supplier,
_CompanyCode,
_FiscalYear
}
where
(
SuplrInvcTransactionCategory = 'RS'
or SuplrInvcTransactionCategory = 'RD'
)
and CreationDate <= $parameters.P_EndDate
and CreationDate >= $parameters.P_StartDate
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPPLIERINVOICE"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_SUPPLIER",
"I_SUPPLIERINVOICEFISCALYEAR"
],
"BASE":
[
"I_SUPPLIERINVOICE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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