P_RejectedSalesOrder
Rejected Sales Order Date Calculation
P_RejectedSalesOrder is a Consumption CDS View that provides data about "Rejected Sales Order Date Calculation" in SAP S/4HANA. It reads from 1 data source (I_SalesOrder) and exposes 15 fields with key field SalesOrder. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesOrder | I_SalesOrder | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CalendarDate | _SalesOrderDate | _SalesOrderDate.CalendarDate = $projection.CreationDate |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PREJCTDSLSORD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Rejected Sales Order Date Calculation | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrder | SalesOrder | ||
| TodaysDate | ||||
| CreationDate | CreationDate | |||
| OverallSDDocumentRejectionSts | OverallSDDocumentRejectionSts | |||
| SoldToParty | SoldToParty | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| OrganizationDivision | OrganizationDivision | |||
| SalesOffice | SalesOffice | |||
| SalesGroup | SalesGroup | |||
| CreatedByUser | CreatedByUser | |||
| LastChangedByUser | LastChangedByUser | |||
| SalesOrderType | SalesOrderType | |||
| OvrlSDDocumentRejectionStsDesc | ||||
| _SalesOrderDate | _SalesOrderDate |
@AbapCatalog:{ sqlViewName: 'PREJCTDSLSORD',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl: { authorizationCheck: #PRIVILEGED_ONLY,
personalData.blocking: #NOT_REQUIRED
}
@VDM: {
viewType: #CONSUMPTION,
private: true
}
@ObjectModel.usageType.serviceQuality: #P
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Rejected Sales Order Date Calculation'
@Metadata.ignorePropagatedAnnotations: true
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: ''
define view P_RejectedSalesOrder
as select from I_SalesOrder
association [1..1] to I_CalendarDate as _SalesOrderDate on _SalesOrderDate.CalendarDate = $projection.CreationDate
{
key SalesOrder,
$session.system_date as TodaysDate,
CreationDate,
OverallSDDocumentRejectionSts,
/* Filters */
SoldToParty,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SalesOffice,
SalesGroup,
CreatedByUser,
LastChangedByUser,
SalesOrderType,
_OverallSDDocumentRejectionSts._Text[1: Language = $session.system_language ].OvrlSDDocumentRejectionStsDesc,
/* Associations */
_SalesOrderDate
}
where
SalesOrderProcessingType <> 'P'
and(
OverallSDDocumentRejectionSts = 'B'
or OverallSDDocumentRejectionSts = 'C'
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_OVERALLSDDOCUMENTRJCNSTATUS",
"I_OVERALLSDDOCUMENTRJCNSTATUST",
"I_SALESORDER"
],
"ASSOCIATED":
[
"I_CALENDARDATE"
],
"BASE":
[],
"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