I_InspectionLotLongText

DDL: I_INSPECTIONLOTLONGTEXT Type: view_entity BASIC Package: VDM_QM_INSPECTION

Inspection Lot Long Text

I_InspectionLotLongText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_InspectionLotLongText is a Basic CDS View that provides data about "Inspection Lot Long Text" in SAP S/4HANA. It reads from 1 data source (I_InspectionLotAllLongText) and exposes 9 fields with key fields InspectionLot, Language. It has 2 associations to related views. Part of development package VDM_QM_INSPECTION.

SAP Help Documentation

CategoryCDS Views for Quality Inspection
Purpose
This CDS view provides access to the long text of an inspection lot. This CDS view provides the data to answer the following business questions: Which long text was recorded during processing of an inspection lot in its original language? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: QM - Inspection Lots ( SAP_QM_BC_INSPECTION_LOT_PC ) QM - Results Recording ( SAP_QM_BC_RESULT_RECG_PC ) QM - Usage Decisions ( SAP_QM_BC_USAGE_DECISION_PC ) QM - Incoming Quality Certificates ( SAP_QM_BC_INCG_QLTY_CERT_PC )

Structure
Fields used for filtering The main filters are as follows: InspectionLot : Key field used to filter the long texts by the inspection lot number Language : Key field used to filter the long texts by the language LongTextLastChangedAt : Used to filter long texts changed after a certain date Further important fields Important fields in this view include the following: Field Name Description LongTextCreatedAt Long Text Created At (UTC Time Stamp in Short Form (YYYYMMDDhhmmss) LongTextCreatedBy User Name of Person Responsible for Creating the Object

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-IM-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides access to the long text of an inspection lot.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>Which long text was recorded during processing of an inspection lot in its original language?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_InspectionLotAllLongText I_InspectionLotAllLongText from

Associations (2)

CardinalityTargetAliasCondition
[1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[1..1] I_Language _Language $projection.Language = _Language.Language

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Lot Long Text view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey InspectionLot view
Analytics.technicalName IINSPLOTLTXT view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot InspectionLot Inspection Lot Number
KEY Language Language Report Text Language
InspectionLotLongText InspectionLotLongText Trusted Site Content
LongTextCreatedByUser LongTextCreatedByUser Name of Person Responsible for Creating the Object
LongTextCreatedAt LongTextCreatedAt UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
LongTextLastChangedByUser LongTextLastChangedByUser Name of Person Who Changed Object
LongTextLastChangedAt LongTextLastChangedAt UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
_InspectionLot _InspectionLot
_Language _Language

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_InspectionLotLongText.
-- 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_InspectionLotLongText AS
SELECT
  InspectionLot,
  Language,
  InspectionLotLongText,
  LongTextCreatedByUser,
  LongTextCreatedAt,
  LongTextLastChangedByUser,
  LongTextLastChangedAt
FROM I_InspectionLotAllLongText
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot  -- association [1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [1..1]
;