P_SbscrContrSqncPhasedLastItm

DDL: P_SBSCRCONTRSQNCPHASEDLASTITM Type: view_entity BASIC

Phased Last Item of Contract Sequence

P_SbscrContrSqncPhasedLastItm is a Basic CDS View that provides data about "Phased Last Item of Contract Sequence" in SAP S/4HANA. It reads from 1 data source (P_SbscrContrMainItm) and exposes 3 fields with key fields SbscrContrPrecdgItmUUID, SbscrContrSubsqntItmUUID.

Data Sources (1)

SourceAliasJoin Type
P_SbscrContrMainItm Item from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Phased Last Item of Contract Sequence view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SbscrContrPrecdgItmUUID PrecedingItem SubscrpnContrItmCharUUID
KEY SbscrContrSubsqntItmUUID P_SbscrContrMainItm SubscrpnContrItmCharUUID
SubscriptionContractExternalID P_SbscrContrMainItm SubscriptionContractExternalID Contract Number

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 P_SbscrContrSqncPhasedLastItm.
-- 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 P_SbscrContrSqncPhasedLastItm AS
SELECT
  PrecedingItem.SubscrpnContrItmCharUUID AS SbscrContrPrecdgItmUUID,
  Item.SubscrpnContrItmCharUUID AS SbscrContrSubsqntItmUUID,
  Item.SubscriptionContractExternalID AS SubscriptionContractExternalID
FROM P_SbscrContrMainItm AS Item
;