C_EHSInspectionTP
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)
| Source | Alias | Join Type |
|---|---|---|
| R_EHSInspectionTP | R_EHSInspectionTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA