I_CABusinessLockReason

DDL: I_CABUSINESSLOCKREASON Type: view_entity COMPOSITE

Business Lock Reason

I_CABusinessLockReason (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Contract Accounting Business Lock Reason · Contract Accounting

I_CABusinessLockReason is a Composite CDS View that provides data about "Business Lock Reason" in SAP S/4HANA. It reads from 6 data sources and exposes 19 fields with key fields CABusinessProcess, CABusinessLockReason, CABusinessLockReason, CABusinessLockReason, CABusinessLockReason. It has 2 associations to related views. It is exposed through 1 OData service (UI_CADOCUMENT_MNG).

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves business lock reasons representing business lock reason for a Contract Accounting business process. The business lock reason describes a lock within a business process more precisely. Example Dunning Lock , Dunning Lock with Limited Days , Payment Lock , Posting Lock , To be Clarified This CDS view provides the data to answer the business question: Which business lock reason values are available in the system? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Configuration You define dunning lock reasons in the Define Dunning Lock Reasons Customizing activity. You define payment lock reasons in the Define Payment Lock Reasons Customizing activity. You define interest lock reasons in the Define Interest Lock Reasons Customizing activity.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves business lock reasons representing business lock reason for a Contract Accounting business process. The business lock reason describes a lock within a business process more precisely.</p> Example <p>Dunning Lock, Dunning Lock with Limited Days, Payment Lock, Posting Lock, To be Clarified</p> <p>This CDS view provides the data to answer the business question: Which business lock reason values are available in the system?</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (6)

SourceAliasJoin Type
I_CACorrespncDunLockReason CorrespncDunLockRsn union_all
I_CADunningLockReason DunLockRsn from
I_CAInterestLockReason IntrstLockRsn union_all
I_CAInvcgLockReason InvocgLockRsn union_all
I_CAPaymentLockReason PaytLockRsn union_all
I_CAPostgAndClrgLockReason PostgAndClrgLockRsn union_all

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CABusinessProcess _BusProcess $projection.CABusinessProcess = _BusProcess.CABusinessProcess
[0..*] I_CABusinessLockReasonText _Text $projection.CABusinessProcess = _Text.CABusinessProcess and $projection.CABusinessLockReason = _Text.CABusinessLockReason

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Business Lock Reason view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CABusinessLockReason view
ObjectModel.sapObjectNodeType.name ContrAcctgBusinessLockReason view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #COMPOSITE view

OData Services (1)

ServiceBindingVersionContractRelease
UI_CADOCUMENT_MNG UI_CADOCUMENT_MNG V4 C1 NOT_RELEASED

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY CABusinessProcess BusProc CABusinessProcess Process Code (Example: Dunning, Payment)
KEY CABusinessLockReason I_CADunningLockReason CADunningLockReason Dunning Lock Reason
_BusProcess _BusProcess
CABusinessProcess Process Code (Example: Dunning, Payment)
KEY CABusinessLockReason I_CAPaymentLockReason CAPaymentLockReason Dunning Lock Reason
_BusProcess _BusProcess
CABusinessProcess Process Code (Example: Dunning, Payment)
KEY CABusinessLockReason I_CAInterestLockReason CAInterestLockReason Dunning Lock Reason
_BusProcess _BusProcess
CABusinessProcess Process Code (Example: Dunning, Payment)
KEY CABusinessLockReason I_CACorrespncDunLockReason CACorrespncDunLockReason Dunning Lock Reason
_BusProcess _BusProcess
CABusinessProcess Process Code (Example: Dunning, Payment)
KEY CABusinessLockReason I_CAPostgAndClrgLockReason CAPostgAndClrgLockReason Dunning Lock Reason
_BusProcess _BusProcess
CABusinessProcess Process Code (Example: Dunning, Payment)
KEY CABusinessLockReason I_CAInvcgLockReason CAInvcgLockReason Dunning Lock Reason
_BusProcess _BusProcess
_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_CABusinessLockReason.
-- 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_CABusinessLockReason AS
SELECT
  BusProc.CABusinessProcess AS CABusinessProcess,
  DunLockRsn.CADunningLockReason AS CABusinessLockReason
FROM I_CADunningLockReason AS DunLockRsn
LEFT OUTER JOIN I_CABusinessProcess AS _BusProcess ON CABusinessProcess = _BusProcess.CABusinessProcess  -- association [1..1]
LEFT OUTER JOIN I_CABusinessLockReasonText AS _Text ON CABusinessProcess = _Text.CABusinessProcess AND CABusinessLockReason = _Text.CABusinessLockReason  -- association [0..*]
-- UNION ALL with additional select branch(es): I_CAPaymentLockReason, I_CAInterestLockReason, I_CACorrespncDunLockReason, I_CAPostgAndClrgLockReason, I_CAInvcgLockReason
;