P_LatestGIRltdMatDocDateTime
Latest Goods Issue Related Material Document Date and Time
P_LatestGIRltdMatDocDateTime is a Basic CDS View that provides data about "Latest Goods Issue Related Material Document Date and Time" in SAP S/4HANA. It reads from 2 data sources (I_SDDocumentProcessFlow, P_LatestGIRltdMatDocDate) and exposes 4 fields with key fields PrecedingDocument, PrecedingDocumentCategory. Part of development package ODATA_LE_PROCESSFLOW.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SDDocumentProcessFlow | Flow | from |
| P_LatestGIRltdMatDocDate | MaxDate | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PLTSTGIRLTDTIME | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrecedingDocument | I_SDDocumentProcessFlow | PrecedingDocument | |
| KEY | PrecedingDocumentCategory | I_SDDocumentProcessFlow | PrecedingDocumentCategory | |
| MaxCreationDate | P_LatestGIRltdMatDocDate | MaxCreationDate | ||
| MaxCreationTime |
@AbapCatalog.sqlViewName: 'PLTSTGIRLTDTIME'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #BASIC
define view P_LatestGIRltdMatDocDateTime
as select from I_SDDocumentProcessFlow as Flow
inner join P_LatestGIRltdMatDocDate as MaxDate
on Flow.CreationDate = MaxDate.MaxCreationDate
{
key Flow.PrecedingDocument,
key Flow.PrecedingDocumentCategory,
MaxDate.MaxCreationDate as MaxCreationDate,
max(CreationTime) as MaxCreationTime
}
where Flow.SubsequentDocumentCategory = 'R'
or Flow.SubsequentDocumentCategory = 'h'
group by Flow.PrecedingDocument,
Flow.PrecedingDocumentCategory,
MaxDate.MaxCreationDate
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