I_CABusinessPartnerLock

DDL: I_CABUSINESSPARTNERLOCK Type: view_entity BASIC

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)

SourceAliasJoin Type
dfkkbplock dfkkbplock from

Associations (6)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;