P_CABusinessLockValidToday

DDL: P_CABUSINESSLOCKVALIDTODAY SQL: PCABUSLOCKVLDTDY Type: view_entity CONSUMPTION

Heute gültige Sperren

P_CABusinessLockValidToday is a Consumption CDS View that provides data about "Heute gültige Sperren" in SAP S/4HANA. It reads from 1 data source (I_CABusinessLock) and exposes 22 fields with key fields CABusinessLockObject, CABusinessLockObjectCategory, CABusinessProcess, CABusinessLockReason, CABusinessLockValidFrom. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CABusinessLock I_CABusinessLock from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ContractAccountPartner _CAPartner $projection.BusinessPartner = _CAPartner.BusinessPartner and $projection.ContractAccount = _CAPartner.ContractAccount
[0..*] I_CABusinessLockReasonText _BusLockRsnText $projection.CABusinessProcess = _BusLockRsnText.CABusinessProcess and $projection.CABusinessLockReason = _BusLockRsnText.CABusinessLockReason

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Heute gültige Sperren view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY CABusinessLockObject CABusinessLockObject Lock object
KEY CABusinessLockObjectCategory CABusinessLockObjectCategory Lock Category
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
CAConditionalBusLockObject CAConditionalBusLockObject Lock object
CABusinessLockActivityCode CABusinessLockActivityCode Activity
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
CAProcLockWriteProtected CAProcLockWriteProtected Protected
CAMassRunDate CAMassRunDate Date ID
CAMassRunID CAMassRunID Run ID
_CAPartner _CAPartner
_BusLockRsnText _BusLockRsnText
_BusinessPartner _BusinessPartner
_BusinessProcess _BusinessProcess
_ContrAcc _ContrAcc
_BusLockObjCategory _BusLockObjCategory

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 P_CABusinessLockValidToday.
-- 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.
-- SQL view name: PCABUSLOCKVLDTDY

CREATE VIEW P_CABusinessLockValidToday AS
SELECT
  CABusinessLockObject,
  CABusinessLockObjectCategory,
  CABusinessProcess,
  CABusinessLockReason,
  CABusinessLockValidFrom,
  CABusinessLockValidTo,
  BusinessPartner,
  ContractAccount,
  CAConditionalBusLockObject,
  CABusinessLockActivityCode,
  LastChangedByUser,
  LastChangeDate,
  LastChangeTime,
  CAProcLockWriteProtected,
  CAMassRunDate,
  CAMassRunID
FROM I_CABusinessLock
LEFT OUTER JOIN I_ContractAccountPartner AS _CAPartner ON BusinessPartner = _CAPartner.BusinessPartner AND ContractAccount = _CAPartner.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_CABusinessLockReasonText AS _BusLockRsnText ON CABusinessProcess = _BusLockRsnText.CABusinessProcess AND CABusinessLockReason = _BusLockRsnText.CABusinessLockReason  -- association [0..*]
;