C_LglCntntMAvgTimeTo1stDocDrft

DDL: C_LGLCNTNTMAVGTIMETO1STDOCDRFT SQL: CLCMTIMEDOCDRFT Type: view CONSUMPTION Package: ODATA_LCM_COMMON

Average Time To First Document Draft

C_LglCntntMAvgTimeTo1stDocDrft is a Consumption CDS View that provides data about "Average Time To First Document Draft" in SAP S/4HANA. It reads from 1 data source (C_LglCntntMTimeTo1stDoc) and exposes 17 fields with key fields LglCntntMDocumentUUID, LegalTransactionUUID. Part of development package ODATA_LCM_COMMON.

Data Sources (1)

SourceAliasJoin Type
C_LglCntntMTimeTo1stDoc C_LglCntntMTimeTo1stDoc from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CLCMTIMEDOCDRFT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
UI.headerInfo.typeName Average Document Creation Time view
UI.headerInfo.title.label Average Document Creation Time view
Consumption.semanticObject LegalDocument view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Average Time To First Document Draft view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMDocumentUUID LglCntntMDocumentUUID Universal Unique ID
KEY LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LglCntntMCalendarQuarter LglCntntMCalendarQuarter
LglCntntMAvgNmbrOfDays LglCntntMTimeToFirstDoc Average Time in Days
CurrentYear CurrentYear Year
LglCntntMProfile LglCntntMProfile Profile
LglTransAccessLvl LglTransAccessLvl Acs. Level
LglCntntMMainOrgCoCode LglCntntMMainOrgCoCode Entity ID
LglCntntMMainOrgSalesOrg LglCntntMMainOrgSalesOrg Entity ID
LglCntntMMainOrgPurOrg LglCntntMMainOrgPurOrg Entity ID
LegalTransaction LegalTransaction Legal Transaction ID
LegalContext LglCntntMContext Context ID
LglCntntMContextVersion LglCntntMContextVersion Context Version
LglCntntMEntity LglCntntMEntity Entity ID
LglCntntMEntityType LglCntntMEntityType Entity Type
LglCntntMCreatedUTCDateTime LglCntntMCreatedUTCDateTime Created On
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.

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_LglCntntMAvgTimeTo1stDocDrft.
-- 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: CLCMTIMEDOCDRFT

CREATE VIEW C_LglCntntMAvgTimeTo1stDocDrft AS
SELECT
  LglCntntMDocumentUUID,
  LegalTransactionUUID,
  LglCntntMCalendarQuarter,
  LglCntntMTimeToFirstDoc AS LglCntntMAvgNmbrOfDays,
  CurrentYear,
  LglCntntMProfile,
  LglTransAccessLvl,
  LglCntntMMainOrgCoCode,
  LglCntntMMainOrgSalesOrg,
  LglCntntMMainOrgPurOrg,
  LegalTransaction,
  LglCntntMContext AS LegalContext,
  LglCntntMContextVersion,
  LglCntntMEntity,
  LglCntntMEntityType,
  LglCntntMCreatedUTCDateTime,
  IsEndOfPurposeBlocked
FROM C_LglCntntMTimeTo1stDoc
;