I_CAPaymentLockReason

DDL: I_CAPAYMENTLOCKREASON Type: view_entity BASIC

Payment Lock Reason

I_CAPaymentLockReason is a Basic CDS View that provides data about "Payment Lock Reason" in SAP S/4HANA. It reads from 1 data source (tfk008) and exposes 7 fields with key field CAPaymentLockReason. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
tfk008 tfk008 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CAPaymentLockReasonText _Text $projection.CAPaymentLockReason = _Text.CAPaymentLockReason

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Payment Lock Reason view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey CAPaymentLockReason view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CAPaymentLockReason zahls Pymt Lock Rsn
CAIsIncludedInClrfctnWorklist xclar For clarificat.
CAAuthorizationGroup AuthorizGroup
CATimeUnitForLockDuration tdate_period Period
CANumberOfUnitsForLockDuration tdate_value Number
CAValidityForPrepaidAccount ppval Validity
_Text _Text

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_CAPaymentLockReason.
-- 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_CAPaymentLockReason AS
SELECT
  zahls AS CAPaymentLockReason,
  xclar AS CAIsIncludedInClrfctnWorklist,
  cast( begru as begru preserving type ) AS CAAuthorizationGroup,
  tdate_period AS CATimeUnitForLockDuration,
  tdate_value AS CANumberOfUnitsForLockDuration,
  ppval AS CAValidityForPrepaidAccount
FROM tfk008
LEFT OUTER JOIN I_CAPaymentLockReasonText AS _Text ON CAPaymentLockReason = _Text.CAPaymentLockReason  -- association [0..*]
;