C_EHSInspectionTP

DDL: C_EHSINSPECTIONTP Type: view_entity CONSUMPTION Package: EHAIM_CNS_AUDIT_INSPECTION

EHS Inspection

C_EHSInspectionTP is a Consumption CDS View that provides data about "EHS Inspection" in SAP S/4HANA. It reads from 1 data source (R_EHSInspectionTP) and exposes 31 fields with key field EHSInspectionUUID. It is exposed through 4 OData services (ASQL_F9071, ASQL_F9073, UI_EHSFINDING_MANAGE, ...). Part of development package EHAIM_CNS_AUDIT_INSPECTION.

Data Sources (1)

SourceAliasJoin Type
R_EHSInspectionTP R_EHSInspectionTP projection

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label EHS Inspection view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Search.searchable true view
AccessControl.personalData.blocking #REQUIRED view

OData Services (4)

ServiceBindingVersionContractRelease
ASQL_F9071 ASQL_F9071 C2 NOT_RELEASED
ASQL_F9073 ASQL_F9073 C2 NOT_RELEASED
UI_EHSFINDING_MANAGE UI_EHSFINDING_MANAGE V4 C1 NOT_RELEASED
UI_EHSINSPECTION_MANAGE UI_EHSINSPECTION_MANAGE V4 C1 NOT_RELEASED

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY EHSInspectionUUID EHSInspectionUUID
EHSInspectionId EHSInspectionId
EHSInspectionName EHSInspectionName
EHSInspectionLatitudeText EHSInspectionLatitudeText
EHSInspectionLongitudeText EHSInspectionLongitudeText
EHSInspectionStatus EHSInspectionStatus
EHSInspectionNmbrOfFindings EHSInspectionNmbrOfFindings
dec52
dec52
EHSQuestionnaireUUID EHSQuestionnaireUUID
EHSQuestionnaireName EHSQuestionnaireName
EHSInspAdditionalCommentsText EHSInspAdditionalCommentsText
EHSLocationUUID EHSLocationUUID NodeID
char1024
EHSLocationID EHSLocationID
EHSInspectionLocation EHSInspectionLocation
StatusCriticality StatusCriticality
int1 Progressbar Inspection Criticalty
int1 Progressbar Finding Criticalty
char1
virtualABAPBooleanIndicatorabap_boolean Hide ProgressBar
EHSInspectionInspectorId EHSInspectionInspectorId
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
UnitOfMeasure UnitOfMeasure Unit Protected Qty
BusinessPartnerName BusinessPartnerName Extracted Customer Name
EHSQuestionnaireValidityArea EHSQuestionnaireValidityArea
Country Country Venue: Ctry/Reg
EHSInspectionStatusTextlocalized

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_EHSInspectionTP.
-- 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 C_EHSInspectionTP AS
SELECT
  EHSInspectionUUID,
  EHSInspectionId,
  EHSInspectionName,
  EHSInspectionLatitudeText,
  EHSInspectionLongitudeText,
  EHSInspectionStatus,
  EHSInspectionNmbrOfFindings,
  virtual EHSInspectionProgressBarRatio : abap.dec( 5, 2 ) AS dec52,
  EHSQuestionnaireUUID,
  EHSQuestionnaireName,
  EHSInspAdditionalCommentsText,
  EHSLocationUUID,
  virtual EHSLocationURL : abap.char( 1024 ) AS char1024,
  EHSLocationID,
  EHSInspectionLocation,
  StatusCriticality,
  virtual EHSProgressBarCriticality : abap.int1 AS int1,
  virtual EHSInspectionFilterValue : abap.char( 1 ) AS char1,
  virtual ABAPBooleanIndicator : abap_boolean AS virtualABAPBooleanIndicatorabap_boolean,
  EHSInspectionInspectorId,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  UnitOfMeasure,
  BusinessPartnerName,
  EHSQuestionnaireValidityArea,
  Country,
  _InspectionStatus._Text.EHSInspectionStatusText : localized AS EHSInspectionStatusTextlocalized
FROM R_EHSInspectionTP
;