I_SubscrpnContrItmPredecessor

DDL: I_SUBSCRPNCONTRITMPREDECESSOR Type: view_entity COMPOSITE

Predecessor of Subscription Contract Item

I_SubscrpnContrItmPredecessor is a Composite CDS View that provides data about "Predecessor of Subscription Contract Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemPrdcssr) and exposes 13 fields with key fields SubscriptionContract, SubscriptionContractItem, ServiceDocumentItmRelationUUID, ServiceDocItmRltnSqncNumber. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItemPrdcssr I_ServiceDocumentItemPrdcssr from

Associations (3)

CardinalityTargetAliasCondition
[1] I_ServiceDocumentItemEnhcd _ContractItem $projection.ServiceDocItmSuccssrCharUUID = _ContractItem.ServiceDocumentItemCharUUID
[1] I_ServiceDocumentItemEnhcd _ServiceDocPredecessorItm $projection.ServiceDocumentItemCharUUID = _ServiceDocPredecessorItm.ServiceDocumentItemCharUUID
[1] I_SubscriptionContract _SubscriptionContract $projection.SubscriptionContract = _SubscriptionContract.SubscriptionContract

Annotations (7)

NameValueLevelField
EndUserText.label Predecessor of Subscription Contract Item view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SubscriptionContract _ContractItem ServiceDocument Transaction ID
KEY SubscriptionContractItem _ContractItem ServiceDocumentItem Service Document
KEY ServiceDocumentItmRelationUUID ServiceDocumentItmRelationUUID GUID link
KEY ServiceDocItmRltnSqncNumber ServiceDocItmRltnSqncNumber Sequential no.
ServiceDocumentItemCharUUID Object ID
ServiceDocItmSuccssrCharUUID Object ID
ServiceDocumentItmRelationType ServiceDocumentItmRelationType Rel. Type
ServiceDocumentItemObjectType ServiceDocItmPrdcssrBusObjType Object Type
ServiceDocumentItmRelationKind ServiceDocumentItmRelationKind Type VONA
ServiceDocItmSuccssrBusObjType ServiceDocumentItemObjectType Object Type
_ContractItem _ContractItem
_ServiceDocPredecessorItm _ServiceDocPredecessorItm
_SubscriptionContract _SubscriptionContract

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_SubscrpnContrItmPredecessor.
-- 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_SubscrpnContrItmPredecessor AS
SELECT
  _ContractItem.ServiceDocument AS SubscriptionContract,
  _ContractItem.ServiceDocumentItem AS SubscriptionContractItem,
  ServiceDocumentItmRelationUUID,
  ServiceDocItmRltnSqncNumber,
  cast(ServiceDocItmPrdcssrCharUUID as crms4_object_charguid32 preserving type ) AS ServiceDocumentItemCharUUID,
  cast(ServiceDocumentItemCharUUID as crms4_object_charguid32 preserving type ) AS ServiceDocItmSuccssrCharUUID,
  ServiceDocumentItmRelationType,
  ServiceDocItmPrdcssrBusObjType AS ServiceDocumentItemObjectType,
  ServiceDocumentItmRelationKind,
  ServiceDocumentItemObjectType AS ServiceDocItmSuccssrBusObjType
FROM I_ServiceDocumentItemPrdcssr
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _ContractItem ON ServiceDocItmSuccssrCharUUID = _ContractItem.ServiceDocumentItemCharUUID  -- association [1]
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _ServiceDocPredecessorItm ON ServiceDocumentItemCharUUID = _ServiceDocPredecessorItm.ServiceDocumentItemCharUUID  -- association [1]
LEFT OUTER JOIN I_SubscriptionContract AS _SubscriptionContract ON SubscriptionContract = _SubscriptionContract.SubscriptionContract  -- association [1]
;