I_CABusinessPartnerLock

DDL: I_CABUSINESSPARTNERLOCK Type: view_entity BASIC Package: FKKBPLOCK

Business Partner Lock

I_CABusinessPartnerLock is a Basic CDS View that provides data about "Business Partner Lock" 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. Part of development package FKKBPLOCK.

Data Sources (1)

SourceAliasJoin Type
dfkkbplock dfkkbplock from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_CAContractPartner _ContractPartner $projection.BusinessPartner = _ContractPartner.BusinessPartner
[1..1] I_CAMasterDataLockReason _CAMasterDataLockReason $projection.CAMasterDataLockReason = _CAMasterDataLockReason.CAMasterDataLockReason
[1..1] I_CAPostgAndClrgLockReason _CAPostgAndClrgLockReason $projection.CAPostgAndClrgLockReason = _CAPostgAndClrgLockReason.CAPostgAndClrgLockReason
[1..1] I_CADunningLockReason _CADunningLockReason $projection.CADunningLockReason = _CADunningLockReason.CADunningLockReason
[1..1] I_CAPaymentLockReason _CAIncomingPaymentLockReason $projection.CAIncomingPaymentLockReason = _CAIncomingPaymentLockReason.CAPaymentLockReason
[1..1] I_CAPaymentLockReason _CAOutgoingPaymentLockReason $projection.CAOutgoingPaymentLockReason = _CAOutgoingPaymentLockReason.CAPaymentLockReason

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Business Partner Lock view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner gpart 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 ernam User Name
CreationDate erdat Entered On
CreationTime ertim Time
_CADunningLockReason _CADunningLockReason
_CAIncomingPaymentLockReason _CAIncomingPaymentLockReason
_CAMasterDataLockReason _CAMasterDataLockReason
_CAOutgoingPaymentLockReason _CAOutgoingPaymentLockReason
_CAPostgAndClrgLockReason _CAPostgAndClrgLockReason
_ContractPartner _ContractPartner

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
  gpart 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,
  ernam AS CreatedByUser,
  erdat AS CreationDate,
  ertim AS CreationTime
FROM dfkkbplock
LEFT OUTER JOIN I_CAContractPartner AS _ContractPartner ON BusinessPartner = _ContractPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CAMasterDataLockReason AS _CAMasterDataLockReason ON CAMasterDataLockReason = _CAMasterDataLockReason.CAMasterDataLockReason  -- association [1..1]
LEFT OUTER JOIN I_CAPostgAndClrgLockReason AS _CAPostgAndClrgLockReason ON CAPostgAndClrgLockReason = _CAPostgAndClrgLockReason.CAPostgAndClrgLockReason  -- association [1..1]
LEFT OUTER JOIN I_CADunningLockReason AS _CADunningLockReason ON CADunningLockReason = _CADunningLockReason.CADunningLockReason  -- association [1..1]
LEFT OUTER JOIN I_CAPaymentLockReason AS _CAIncomingPaymentLockReason ON CAIncomingPaymentLockReason = _CAIncomingPaymentLockReason.CAPaymentLockReason  -- association [1..1]
LEFT OUTER JOIN I_CAPaymentLockReason AS _CAOutgoingPaymentLockReason ON CAOutgoingPaymentLockReason = _CAOutgoingPaymentLockReason.CAPaymentLockReason  -- association [1..1]
;