I_GHOPriorPeriodNotification
Prior Period Notification
I_GHOPriorPeriodNotification is a Composite CDS View that provides data about "Prior Period Notification" in SAP S/4HANA. It reads from 1 data source (gho_ppa_request) and exposes 34 fields with key fields PriorPeriodNotifReqUUID, PriorPeriodNotifUUID. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gho_ppa_request | gho_ppa_request | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_GhoMediumText | _MediumText | $projection.NetworkMedium = _MediumText.NetworkMedium and _MediumText.Language = $session.system_language |
| [0..1] | I_GhoFreqText | _FrequencyText | $projection.AllocationFrequencyCode = _FrequencyText.AllocationFrequencyCode and _FrequencyText.Language = $session.system_language |
| [0..1] | I_GHOAuditReasonCodeText | _PPNReasonCodeDesc | $projection.PriorPeriodNotifAudRsnCode = _PPNReasonCodeDesc.AuditObjectValue and _PPNReasonCodeDesc.AuditType = '95' and _PPNReasonCodeDesc.LanguageCode = $session.system_language |
| [0..1] | I_ReadDomainFixedValues | _ProcessTypeDesc | _ProcessTypeDesc.SAPDataDictionaryDomain = 'GHO_D_TYPE' and $projection.PriorPeriodNotifTypeOfData = _ProcessTypeDesc.DomainValue and _ProcessTypeDesc.LanguageCode = $session.system_language |
| [0..1] | I_ReadDomainFixedValues | _RequestStatusDesc | _RequestStatusDesc.SAPDataDictionaryDomain = 'GHO_D_PPA_REQ_STAT' and $projection.PriorPeriodNotifRequestStatus = _RequestStatusDesc.DomainValue and _RequestStatusDesc.LanguageCode = $session.system_language |
| [0..1] | I_ReadDomainFixedValues | _ActionDesc | _ActionDesc.SAPDataDictionaryDomain = 'GHO_DM_ACTION_TYPE' and $projection.PriorPeriodNotifActionType = _ActionDesc.DomainValue and _ActionDesc.LanguageCode = $session.system_language |
| [0..1] | I_GHOUserName | _RequestorFullName | $projection.PriorPeriodNotifRequestedBy = _RequestorFullName.UserID |
| [0..1] | I_GHOUserName | _ApproverFullName | $projection.PriorPeriodNotifApprovedBy = _ApproverFullName.UserID |
| [0..1] | I_SrvProInfUserSpecificData | _FavoriteNetwork | $projection.GHONetworkID = _FavoriteNetwork.SrvProInfObject and _FavoriteNetwork.SrvProInfObjectType = 'GHO_NET' and _FavoriteNetwork.PersonalAreaType = '03' and _FavoriteNetwork.UserID = $session.user |
| [1..1] | I_GHOProdnNtwkDetails | _ProdnNtwkDetails | $projection.GHONetworkID = _ProdnNtwkDetails.GHONetworkID |
| [0..1] | I_GHONtwkObjects | _NtwkObjDetails | $projection.GHONetworkObjectID = _NtwkObjDetails.GHONetworkObjectID |
| [0..1] | I_ReadDomainFixedValues | _FavoriteText | _FavoriteText.SAPDataDictionaryDomain = 'GHO_NETWORK_IS_FAVORITE' and $projection.ProductionNetworkIsFavorite = _FavoriteText.DomainValue and _FavoriteText.LanguageCode = $session.system_language |
| [0..1] | I_GHONetworkObjectLabel | _NetworkObjectLabel | _NetworkObjectLabel.GHONetworkObjectID = $projection.GHONetworkID and _NetworkObjectLabel.NetworkObjectType = 'GHO_PN' |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Prior Period Notification | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PriorPeriodNotifReqUUID | ppa_req_id | ID of Data for Audit | |
| KEY | PriorPeriodNotifUUID | data_guid | Genuine Unique Identifier | |
| PriorPeriodNotifTypeOfData | process_type | Type of Data | ||
| GHONetworkID | Production Flow NW | |||
| PriorPeriodNotifRequestedBy | requester | Requester | ||
| PriorPeriodNotifApprovedBy | approver | PPA Req Approver | ||
| PriorPeriodNotifRequestStatus | ppa_req_status | PPA Request Status | ||
| PriorPeriodNotifRequestReason | ppa_req_reason | PPA Req Rsn Descripn | ||
| PriorPeriodNotifAudRsnCode | audit_reaon_code | Audit Reason Code | ||
| PlanChangeDocumentNumber | Plan document number | |||
| ChangeDocument | cdoc_num | Document Number | ||
| PriorPeriodNotifCreatedDate | created_on | Variant created on | ||
| PriorPeriodNotifCreatedTime | created_tst | Req Created Time | ||
| NetworkMedium | medium | Medium ID | ||
| AllocationFrequencyCode | frequency | Reporting Frequency | ||
| PriorPeriodNotifActionType | ||||
| PriorPeriodNotifChangedDate | processed_on | Processed On | ||
| PriorPeriodNotifChangedTime | processed_at | Processed At | ||
| PriorPeriodNotifChgReasonText | processor_comment | Processor Comment | ||
| GHONetworkObjectID | Netwrk Obj ID | |||
| ProductionNetworkIsFavorite | ||||
| _MediumText | _MediumText | |||
| _FrequencyText | _FrequencyText | |||
| _PPNReasonCodeDesc | _PPNReasonCodeDesc | |||
| _RequestStatusDesc | _RequestStatusDesc | |||
| _ActionDesc | _ActionDesc | |||
| _ProcessTypeDesc | _ProcessTypeDesc | |||
| _RequestorFullName | _RequestorFullName | |||
| _ApproverFullName | _ApproverFullName | |||
| _FavoriteNetwork | _FavoriteNetwork | |||
| _ProdnNtwkDetails | _ProdnNtwkDetails | |||
| _NtwkObjDetails | _NtwkObjDetails | |||
| _FavoriteText | _FavoriteText | |||
| _NetworkObjectLabel | _NetworkObjectLabel |
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 I_GHOPriorPeriodNotification.
-- 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.
CREATE VIEW I_GHOPriorPeriodNotification AS
SELECT
ppa_req_id AS PriorPeriodNotifReqUUID,
data_guid AS PriorPeriodNotifUUID,
process_type AS PriorPeriodNotifTypeOfData,
cast (netid as tplnr_unconverted preserving type ) AS GHONetworkID,
requester AS PriorPeriodNotifRequestedBy,
approver AS PriorPeriodNotifApprovedBy,
ppa_req_status AS PriorPeriodNotifRequestStatus,
ppa_req_reason AS PriorPeriodNotifRequestReason,
audit_reaon_code AS PriorPeriodNotifAudRsnCode,
cast( planchngnr as gho_de_plan_document preserving type ) AS PlanChangeDocumentNumber,
cdoc_num AS ChangeDocument,
created_on AS PriorPeriodNotifCreatedDate,
created_tst AS PriorPeriodNotifCreatedTime,
medium AS NetworkMedium,
frequency AS AllocationFrequencyCode,
cast( case action when 'I' then 'C' else action end as gho_dm_action_type preserving type ) AS PriorPeriodNotifActionType,
processed_on AS PriorPeriodNotifChangedDate,
processed_at AS PriorPeriodNotifChangedTime,
processor_comment AS PriorPeriodNotifChgReasonText,
cast (net_obj_id as tplnr_unconverted preserving type ) AS GHONetworkObjectID,
cast(case _FavoriteNetwork.UserID when $session.user then 'Y' else 'N' end as gho_network_is_favorite preserving type ) AS ProductionNetworkIsFavorite
FROM gho_ppa_request
LEFT OUTER JOIN I_GhoMediumText AS _MediumText ON NetworkMedium = _MediumText.NetworkMedium AND _MediumText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_GhoFreqText AS _FrequencyText ON AllocationFrequencyCode = _FrequencyText.AllocationFrequencyCode AND _FrequencyText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_GHOAuditReasonCodeText AS _PPNReasonCodeDesc ON PriorPeriodNotifAudRsnCode = _PPNReasonCodeDesc.AuditObjectValue AND _PPNReasonCodeDesc.AuditType = '95' AND _PPNReasonCodeDesc.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ReadDomainFixedValues AS _ProcessTypeDesc ON _ProcessTypeDesc.SAPDataDictionaryDomain = 'GHO_D_TYPE' AND PriorPeriodNotifTypeOfData = _ProcessTypeDesc.DomainValue AND _ProcessTypeDesc.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ReadDomainFixedValues AS _RequestStatusDesc ON _RequestStatusDesc.SAPDataDictionaryDomain = 'GHO_D_PPA_REQ_STAT' AND PriorPeriodNotifRequestStatus = _RequestStatusDesc.DomainValue AND _RequestStatusDesc.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ReadDomainFixedValues AS _ActionDesc ON _ActionDesc.SAPDataDictionaryDomain = 'GHO_DM_ACTION_TYPE' AND PriorPeriodNotifActionType = _ActionDesc.DomainValue AND _ActionDesc.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_GHOUserName AS _RequestorFullName ON PriorPeriodNotifRequestedBy = _RequestorFullName.UserID -- association [0..1]
LEFT OUTER JOIN I_GHOUserName AS _ApproverFullName ON PriorPeriodNotifApprovedBy = _ApproverFullName.UserID -- association [0..1]
LEFT OUTER JOIN I_SrvProInfUserSpecificData AS _FavoriteNetwork ON GHONetworkID = _FavoriteNetwork.SrvProInfObject AND _FavoriteNetwork.SrvProInfObjectType = 'GHO_NET' AND _FavoriteNetwork.PersonalAreaType = '03' AND _FavoriteNetwork.UserID = $session.user -- association [0..1]
LEFT OUTER JOIN I_GHOProdnNtwkDetails AS _ProdnNtwkDetails ON GHONetworkID = _ProdnNtwkDetails.GHONetworkID -- association [1..1]
LEFT OUTER JOIN I_GHONtwkObjects AS _NtwkObjDetails ON GHONetworkObjectID = _NtwkObjDetails.GHONetworkObjectID -- association [0..1]
LEFT OUTER JOIN I_ReadDomainFixedValues AS _FavoriteText ON _FavoriteText.SAPDataDictionaryDomain = 'GHO_NETWORK_IS_FAVORITE' AND ProductionNetworkIsFavorite = _FavoriteText.DomainValue AND _FavoriteText.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_GHONetworkObjectLabel AS _NetworkObjectLabel ON _NetworkObjectLabel.GHONetworkObjectID = GHONetworkID AND _NetworkObjectLabel.NetworkObjectType = 'GHO_PN' -- association [0..1]
;
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