C_CAPostingLockAnalysis_2
Posting Lock Analyse v2
C_CAPostingLockAnalysis_2 is a Consumption CDS View that provides data about "Posting Lock Analyse v2" in SAP S/4HANA. It reads from 1 data source (P_CAPostingLockAnalysis_2) and exposes 39 fields with key fields CABusinessLockObject, CABusinessLockObjectCategory, CABusinessProcess, CABusinessLockReason, CABusinessLockValidFrom. It has 10 associations to related views. It is exposed through 2 OData services (ASQL_F1652A, UI_CAPOSTINGLOCK_ANALYSIS2). It is used in 1 Fiori application: Analyze Posting Locks (Version 2). Part of development package ODATA_O2C_FICA_POSTINGLOCK_ANA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CAPostingLockAnalysis_2 | P_CAPostingLockAnalysis_2 | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CalendarDate | _LastChangeDate | _LastChangeDate.CalendarDate = $projection.LastChangeDate |
| [0..1] | I_CalendarQuarterText | _ValidToDateQuarterText | _ValidToDateQuarterText.CalendarQuarter = $projection.CABusLockValidToDateQuarter |
| [0..1] | I_CalendarMonthText | _ValidToDateMonthText | _ValidToDateMonthText.CalendarMonth = $projection.CABusLockValidToDateMonth |
| [0..1] | I_CalendarQuarterText | _ValidFromDateQuarterText | _ValidFromDateQuarterText.CalendarQuarter = $projection.CABusLockValidFromDateQuarter |
| [0..1] | I_CalendarMonthText | _ValidFromDateMonthText | _ValidFromDateMonthText.CalendarMonth = $projection.CABusLockValidFromDateMonth |
| [0..1] | I_CalendarQuarterText | _LastChangeDateQuarterText | _LastChangeDateQuarterText.CalendarQuarter = $projection.LastChangeDateQuarter |
| [0..1] | I_CalendarMonthText | _LastChangeDateMonthText | _LastChangeDateMonthText.CalendarMonth = $projection.LastChangeDateMonth |
| [0..1] | I_CAPostgAndClrgLockRsnText | _LockReasonText | _LockReasonText.CAPostgAndClrgLockReason = $projection.CABusinessLockReason |
| [0..1] | I_CABusinessLockObjectLevelTxt | _LockObjectLevelText | _LockObjectLevelText.CABusinessLockObjectLevel = $projection.CABusinessLockObjectLevel |
| [1..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Posting Lock Analyse v2 | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F1652A | ASQL_F1652A | C2 | NOT_RELEASED | |
| UI_CAPOSTINGLOCK_ANALYSIS2 | UI_CAPOSTINGLOCK_ANALYSIS2 | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F1652A | Analyze Posting Locks (Version 2) | Analytical | Within this app an Accounts Payable/Receivable Manager (FI-CA) who among others might need to identify revenue leakages and improve cash-flow will be provided with the number of posting locks from SAP Contract Accounts Receivable and Payable (FI-CA ). This information can be displayed dependent on various grouping and filter criteria. |
Analyze Posting Locks (Version 2)
Business Role: Accounts Payable and Receivable Manager (FI-CA)
With the Analyze Posting Locks app, you display existing posting/clearing locks for contract accounts or receivables and payables. Using the app, you can display the amounts related to the selected locks in different currencies.As data volume in Contract Accounting can be very high, to improve performance, a new version of the app evaluates a system snapshot of receivables and payables instead of the current live data.
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CABusinessLockObject | CABusinessLockObject | ||
| KEY | CABusinessLockObjectCategory | CABusinessLockObjectCategory | ||
| KEY | CABusinessProcess | CABusinessProcess | Process | |
| KEY | CABusinessLockReason | CABusinessLockReason | Lock Reason | |
| KEY | CABusinessLockValidFrom | CABusinessLockValidFrom | From | |
| KEY | CABusinessLockValidTo | CABusinessLockValidTo | To | |
| KEY | BusinessPartner | BusinessPartner | Issuing Authority | |
| KEY | ContractAccount | ContractAccount | Contract Acct | |
| CABusinessLockValidFromDate | CABusinessLockValidFromDate | |||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| CABusinessLockDuration | CABusinessLockDuration | |||
| CABusinessLockSequenceNumber | CABusinessLockSequenceNumber | |||
| NumberOfCABusinessLocks | NumberOfCABusinessLocks | |||
| CABusLockValidToDateYear | CABusLockValidToDateYear | |||
| CABusLockValidToDateQuarter | _ValidToDate | CalendarQuarter | Calendar Quarter | |
| CABusLockValidToDateMonth | CABusLockValidToDateMonth | |||
| CABusLockValidToDateWeek | _ValidToDate | CalendarWeek | Calendar Week | |
| CABusLockValidFromDateYear | CABusLockValidFromDateYear | |||
| CABusLockValidFromDateQuarter | _ValidFromDate | CalendarQuarter | Calendar Quarter | |
| CABusLockValidFromDateMonth | CABusLockValidFromDateMonth | |||
| CABusLockValidFromDateWeek | _ValidFromDate | CalendarWeek | Calendar Week | |
| LastChangeDateYear | _LastChangeDate | CalendarYear | Year | |
| LastChangeDateQuarter | _LastChangeDate | CalendarQuarter | Calendar Quarter | |
| LastChangeDateMonth | _LastChangeDate | CalendarMonth | Calendar Month | |
| LastChangeDateWeek | _LastChangeDate | CalendarWeek | Calendar Week | |
| CAAuthorizationGroup | CAAuthorizationGroup | AuthorizGroup | ||
| _ValidToDateQuarterText | _ValidToDateQuarterText | |||
| _ValidToDateMonthText | _ValidToDateMonthText | |||
| _ValidFromDateQuarterText | _ValidFromDateQuarterText | |||
| _ValidFromDateMonthText | _ValidFromDateMonthText | |||
| _CalendarQuarter | _ValidFromDate | _CalendarQuarter | ||
| _CalendarWeek | _ValidFromDate | _CalendarWeek | ||
| _LastChangeDate | _LastChangeDate | |||
| _CalendarYear | _LastChangeDate | _CalendarYear | ||
| _LastChangeDateQuarterText | _LastChangeDateQuarterText | |||
| _LastChangeDateMonthText | _LastChangeDateMonthText | |||
| _LockReasonText | _LockReasonText | |||
| _LockObjectLevelText | _LockObjectLevelText | |||
| _BusinessPartner | _BusinessPartner |
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 C_CAPostingLockAnalysis_2.
-- 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 C_CAPostingLockAnalysis_2 AS
SELECT
CABusinessLockObject,
CABusinessLockObjectCategory,
CABusinessProcess,
CABusinessLockReason,
CABusinessLockValidFrom,
CABusinessLockValidTo,
BusinessPartner,
ContractAccount,
CABusinessLockValidFromDate,
LastChangeDate,
CABusinessLockDuration,
CABusinessLockSequenceNumber,
NumberOfCABusinessLocks,
CABusLockValidToDateYear,
_ValidToDate.CalendarQuarter AS CABusLockValidToDateQuarter,
CABusLockValidToDateMonth,
_ValidToDate.CalendarWeek AS CABusLockValidToDateWeek,
CABusLockValidFromDateYear,
_ValidFromDate.CalendarQuarter AS CABusLockValidFromDateQuarter,
CABusLockValidFromDateMonth,
_ValidFromDate.CalendarWeek AS CABusLockValidFromDateWeek,
_LastChangeDate.CalendarYear AS LastChangeDateYear,
_LastChangeDate.CalendarQuarter AS LastChangeDateQuarter,
_LastChangeDate.CalendarMonth AS LastChangeDateMonth,
_LastChangeDate.CalendarWeek AS LastChangeDateWeek,
CAAuthorizationGroup,
_ValidFromDate._CalendarQuarter AS _CalendarQuarter,
_ValidFromDate._CalendarWeek AS _CalendarWeek,
_LastChangeDate._CalendarYear AS _CalendarYear
FROM P_CAPostingLockAnalysis_2
LEFT OUTER JOIN I_CalendarDate AS _LastChangeDate ON _LastChangeDate.CalendarDate = LastChangeDate -- association [0..1]
LEFT OUTER JOIN I_CalendarQuarterText AS _ValidToDateQuarterText ON _ValidToDateQuarterText.CalendarQuarter = CABusLockValidToDateQuarter -- association [0..1]
LEFT OUTER JOIN I_CalendarMonthText AS _ValidToDateMonthText ON _ValidToDateMonthText.CalendarMonth = CABusLockValidToDateMonth -- association [0..1]
LEFT OUTER JOIN I_CalendarQuarterText AS _ValidFromDateQuarterText ON _ValidFromDateQuarterText.CalendarQuarter = CABusLockValidFromDateQuarter -- association [0..1]
LEFT OUTER JOIN I_CalendarMonthText AS _ValidFromDateMonthText ON _ValidFromDateMonthText.CalendarMonth = CABusLockValidFromDateMonth -- association [0..1]
LEFT OUTER JOIN I_CalendarQuarterText AS _LastChangeDateQuarterText ON _LastChangeDateQuarterText.CalendarQuarter = LastChangeDateQuarter -- association [0..1]
LEFT OUTER JOIN I_CalendarMonthText AS _LastChangeDateMonthText ON _LastChangeDateMonthText.CalendarMonth = LastChangeDateMonth -- association [0..1]
LEFT OUTER JOIN I_CAPostgAndClrgLockRsnText AS _LockReasonText ON _LockReasonText.CAPostgAndClrgLockReason = CABusinessLockReason -- association [0..1]
LEFT OUTER JOIN I_CABusinessLockObjectLevelTxt AS _LockObjectLevelText ON _LockObjectLevelText.CABusinessLockObjectLevel = CABusinessLockObjectLevel -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA