I_CABusinessPartnerLock
Zentrale Geschäftspartner-Sperre
I_CABusinessPartnerLock is a Basic CDS View that provides data about "Zentrale Geschäftspartner-Sperre" in SAP S/4HANA. It reads from 1 data source (dfkkbplock) and exposes 18 fields with key field BusinessPartner. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkbplock | dfkkbplock | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CAContractPartner | _ContractPartner | $projection.BusinessPartner = _ContractPartner.BusinessPartner |
| [1..1] | I_CAMasterDataLockReason | _MasterDataLockRsn | $projection.CAMasterDataLockReason = _MasterDataLockRsn.CAMasterDataLockReason |
| [1..1] | I_CAPostgAndClrgLockReason | _PostgAndClrgLockRsn | $projection.CAPostgAndClrgLockReason = _PostgAndClrgLockRsn.CAPostgAndClrgLockReason |
| [1..1] | I_CADunningLockReason | _DunningLockRsn | $projection.CADunningLockReason = _DunningLockRsn.CADunningLockReason |
| [1..1] | I_CAPaymentLockReason | _IncomingPaytLockRsn | $projection.CAIncomingPaymentLockReason = _IncomingPaytLockRsn.CAPaymentLockReason |
| [1..1] | I_CAPaymentLockReason | _OutgoingPaytLockRsn | $projection.CAOutgoingPaymentLockReason = _OutgoingPaytLockRsn.CAPaymentLockReason |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Zentrale Geschäftspartner-Sperre | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | Tech. BPartner | ||
| CAMasterDataLockReason | lockr_md | Mast.Data Lock | ||
| CAPostgAndClrgLockReason | lockr_dd | Posting Lock | ||
| CADunningLockReason | lockr_dunning | DunnLockReason | ||
| CAIncomingPaymentLockReason | lockr_inc_pay | Incoming Lock | ||
| CAOutgoingPaymentLockReason | lockr_out_pay | Outgoing Lock | ||
| CABusinessPartnerLockStartDate | fdate | Valid from | ||
| CABusinessPartnerLockEndDate | tdate | To | ||
| CABusinessPartnerLockComment | lockt | Comment | ||
| CreatedByUser | User Name | |||
| CreationDate | Entered On | |||
| CreationTime | Time | |||
| _ContractPartner | _ContractPartner | |||
| _MasterDataLockRsn | _MasterDataLockRsn | |||
| _PostgAndClrgLockRsn | _PostgAndClrgLockRsn | |||
| _DunningLockRsn | _DunningLockRsn | |||
| _IncomingPaytLockRsn | _IncomingPaytLockRsn | |||
| _OutgoingPaytLockRsn | _OutgoingPaytLockRsn |
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_CABusinessPartnerLock.
-- 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_CABusinessPartnerLock AS
SELECT
cast(gpart as bu_partner) AS BusinessPartner,
lockr_md AS CAMasterDataLockReason,
lockr_dd AS CAPostgAndClrgLockReason,
lockr_dunning AS CADunningLockReason,
lockr_inc_pay AS CAIncomingPaymentLockReason,
lockr_out_pay AS CAOutgoingPaymentLockReason,
fdate AS CABusinessPartnerLockStartDate,
tdate AS CABusinessPartnerLockEndDate,
lockt AS CABusinessPartnerLockComment,
cast(cast(ernam as abap.char(12)) as fclm_bam_created_by) AS CreatedByUser,
cast(cast(erdat as abap.dats) as fis_cpdat) AS CreationDate,
cast(cast(ertim as abap.tims) as ttet_dt_cr_time) AS CreationTime
FROM dfkkbplock
LEFT OUTER JOIN I_CAContractPartner AS _ContractPartner ON BusinessPartner = _ContractPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_CAMasterDataLockReason AS _MasterDataLockRsn ON CAMasterDataLockReason = _MasterDataLockRsn.CAMasterDataLockReason -- association [1..1]
LEFT OUTER JOIN I_CAPostgAndClrgLockReason AS _PostgAndClrgLockRsn ON CAPostgAndClrgLockReason = _PostgAndClrgLockRsn.CAPostgAndClrgLockReason -- association [1..1]
LEFT OUTER JOIN I_CADunningLockReason AS _DunningLockRsn ON CADunningLockReason = _DunningLockRsn.CADunningLockReason -- association [1..1]
LEFT OUTER JOIN I_CAPaymentLockReason AS _IncomingPaytLockRsn ON CAIncomingPaymentLockReason = _IncomingPaytLockRsn.CAPaymentLockReason -- association [1..1]
LEFT OUTER JOIN I_CAPaymentLockReason AS _OutgoingPaytLockRsn ON CAOutgoingPaymentLockReason = _OutgoingPaytLockRsn.CAPaymentLockReason -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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