R_SbscrContrItmLockHistTP

DDL: R_SBSCRCONTRITMLOCKHISTTP Type: view_entity TRANSACTIONAL

Contract Item Lock History - TP

R_SbscrContrItmLockHistTP is a Transactional CDS View that provides data about "Contract Item Lock History - TP" in SAP S/4HANA. It reads from 1 data source (I_SubscrpnContrItmLockHist) and exposes 15 fields with key fields SubscriptionContract, SubscriptionContractItem, SubscrpnContrItmLockUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SubscrpnContrItmLockHist I_SubscrpnContrItmLockHist from

Associations (5)

CardinalityTargetAliasCondition
[1..1] R_SubscriptionContractTP _SubscriptionContract $projection.SubscriptionContract = _SubscriptionContract.SubscriptionContract
[0..1] I_SbscrContrItmLockRsn _SbscrContrItmLockRsn _SbscrContrItmLockRsn.SubscrpnContrItmLockRsn = $projection.SubscrpnContrItmLockRsn
[0..1] I_SbscrContrItmUnlkRsn _SbscrContrItmUnlkRsn _SbscrContrItmUnlkRsn.SubscrpnContrItmLockRsn = $projection.SubscrpnContrItmLockRsn and _SbscrContrItmUnlkRsn.SubscrpnContrItmUnlockRsn = $projection.SubscrpnContrItmUnlockRsn
[0..1] I_SbscrContrItmLockSts _SbscrContrItmLockSts _SbscrContrItmLockSts.SubscrpnContrItmLockSts = $projection.SubscrpnContrItmLockSts
[0..1] I_SbscrContrItmLockSrce _SbscrContrItmLockSrce _SbscrContrItmLockSrce.SubscrpnContrItmLockSrce = $projection.SubscrpnContrItmLockSrce

Annotations (8)

NameValueLevelField
EndUserText.label Contract Item Lock History - TP view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #MANDATORY view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SubscriptionContract SubscriptionContract Transaction ID
KEY SubscriptionContractItem SubscriptionContractItem Item Number in Doc.
KEY SubscrpnContrItmLockUUID SubscrpnContrItmLockUUID Object GUID
SubscrpnContrItmLockSrce SubscrpnContrItmLockSrce ViolationSource
SubscrpnContrItmLockRsn SubscrpnContrItmLockRsn Sp.Tax Code Reason
SbscrContrItmLockValdFrmDteTme SbscrContrItmLockValdFrmDteTme
SubscrpnContrItmUnlockRsn SubscrpnContrItmUnlockRsn Unlock Reason
SbscrContrItmLockValdToDteTme SbscrContrItmLockValdToDteTme
SubscrpnContrItmLockSts SubscrpnContrItmLockSts Workflow Status
_SubscriptionContract _SubscriptionContract
_SubscriptionContractItem _SubscriptionContractItem
_SbscrContrItmLockRsn _SbscrContrItmLockRsn
_SbscrContrItmUnlkRsn _SbscrContrItmUnlkRsn
_SbscrContrItmLockSts _SbscrContrItmLockSts
_SbscrContrItmLockSrce _SbscrContrItmLockSrce

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 R_SbscrContrItmLockHistTP.
-- 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 R_SbscrContrItmLockHistTP AS
SELECT
  SubscriptionContract,
  SubscriptionContractItem,
  SubscrpnContrItmLockUUID,
  SubscrpnContrItmLockSrce,
  SubscrpnContrItmLockRsn,
  SbscrContrItmLockValdFrmDteTme,
  SubscrpnContrItmUnlockRsn,
  SbscrContrItmLockValdToDteTme,
  SubscrpnContrItmLockSts
FROM I_SubscrpnContrItmLockHist
LEFT OUTER JOIN R_SubscriptionContractTP AS _SubscriptionContract ON SubscriptionContract = _SubscriptionContract.SubscriptionContract  -- association [1..1]
LEFT OUTER JOIN I_SbscrContrItmLockRsn AS _SbscrContrItmLockRsn ON _SbscrContrItmLockRsn.SubscrpnContrItmLockRsn = SubscrpnContrItmLockRsn  -- association [0..1]
LEFT OUTER JOIN I_SbscrContrItmUnlkRsn AS _SbscrContrItmUnlkRsn ON _SbscrContrItmUnlkRsn.SubscrpnContrItmLockRsn = SubscrpnContrItmLockRsn AND _SbscrContrItmUnlkRsn.SubscrpnContrItmUnlockRsn = SubscrpnContrItmUnlockRsn  -- association [0..1]
LEFT OUTER JOIN I_SbscrContrItmLockSts AS _SbscrContrItmLockSts ON _SbscrContrItmLockSts.SubscrpnContrItmLockSts = SubscrpnContrItmLockSts  -- association [0..1]
LEFT OUTER JOIN I_SbscrContrItmLockSrce AS _SbscrContrItmLockSrce ON _SbscrContrItmLockSrce.SubscrpnContrItmLockSrce = SubscrpnContrItmLockSrce  -- association [0..1]
;