C_InspLotDocument
Inspection Lot Document of DMS
C_InspLotDocument is a Consumption CDS View that provides data about "Inspection Lot Document of DMS" in SAP S/4HANA. It reads from 4 data sources (I_DocumentInfoRecordObjectLink, I_DocumentInfoRecordAttachment, I_DocumentInfoRecord, I_DocumentInfoRecordDocStatus) and exposes 18 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocPart, DocumentInfoRecordDocVersion, LinkedSAPObjectKey.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_DocumentInfoRecordObjectLink | _DirObjectLinks | from |
| I_DocumentInfoRecordAttachment | _DirOriginals | left_outer |
| I_DocumentInfoRecord | _DocInfoRecd | left_outer |
| I_DocumentInfoRecordDocStatus | _DocInfoRecdDocumentStatus | left_outer |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CINSPLOTDOC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Inspection Lot Document of DMS | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DocumentInfoRecordDocType | I_DocumentInfoRecordObjectLink | DocumentInfoRecordDocType | Document Type |
| KEY | DocumentInfoRecordDocNumber | I_DocumentInfoRecordObjectLink | DocumentInfoRecordDocNumber | Document |
| KEY | DocumentInfoRecordDocPart | I_DocumentInfoRecordObjectLink | DocumentInfoRecordDocPart | Document Part |
| KEY | DocumentInfoRecordDocVersion | I_DocumentInfoRecordObjectLink | DocumentInfoRecordDocVersion | Doc. Version |
| KEY | LinkedSAPObjectKey | I_DocumentInfoRecordObjectLink | LinkedSAPObjectKey | SAP Object Key |
| LinkedSAPObject | I_DocumentInfoRecordObjectLink | LinkedSAPObject | Object | |
| FileName | I_DocumentInfoRecordAttachment | FileName | URL or Filenam Path | |
| WorkstationApplication | I_DocumentInfoRecordAttachment | WorkstationApplication | Applic. | |
| FileSize | I_DocumentInfoRecordAttachment | FileSize | Safety Data Sheet File Size | |
| StorageCategory | I_DocumentInfoRecordAttachment | StorageCategory | Category | |
| PhysicalDocument | I_DocumentInfoRecordAttachment | PhysicalDocument | Phys. Document | |
| CreatedByUser | I_DocumentInfoRecord | CreatedByUser | User Name | |
| CreationDateTime | I_DocumentInfoRecord | CreationDateTime | Timestamp | |
| LastChangedByUser | I_DocumentInfoRecord | LastChangedByUser | User Name | |
| ChangedDateTime | I_DocumentInfoRecord | ChangedDateTime | Time Stamp | |
| InternalDocumentStatus | I_DocumentInfoRecord | InternalDocumentStatus | Status | |
| ExternalDocumentStatus | ||||
| DocumentStatusName |
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_InspLotDocument.
-- 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: CINSPLOTDOC
CREATE VIEW C_InspLotDocument AS
SELECT
_DirObjectLinks.DocumentInfoRecordDocType AS DocumentInfoRecordDocType,
_DirObjectLinks.DocumentInfoRecordDocNumber AS DocumentInfoRecordDocNumber,
_DirObjectLinks.DocumentInfoRecordDocPart AS DocumentInfoRecordDocPart,
_DirObjectLinks.DocumentInfoRecordDocVersion AS DocumentInfoRecordDocVersion,
_DirObjectLinks.LinkedSAPObjectKey AS LinkedSAPObjectKey,
_DirObjectLinks.LinkedSAPObject AS LinkedSAPObject,
_DirOriginals.FileName AS FileName,
_DirOriginals.WorkstationApplication AS WorkstationApplication,
_DirOriginals.FileSize AS FileSize,
_DirOriginals.StorageCategory AS StorageCategory,
_DirOriginals.PhysicalDocument AS PhysicalDocument,
_DocInfoRecd.CreatedByUser AS CreatedByUser,
_DocInfoRecd.CreationDateTime AS CreationDateTime,
_DocInfoRecd.LastChangedByUser AS LastChangedByUser,
_DocInfoRecd.ChangedDateTime AS ChangedDateTime,
_DocInfoRecd.InternalDocumentStatus AS InternalDocumentStatus,
_DocInfoRecdDocumentStatus._Text[1:Language = $session.system_language].ExternalDocumentStatus AS ExternalDocumentStatus,
_DocInfoRecdDocumentStatus._Text[1:Language = $session.system_language].DocumentStatusName AS DocumentStatusName
FROM I_DocumentInfoRecordObjectLink AS _DirObjectLinks
LEFT OUTER JOIN I_DocumentInfoRecordAttachment AS _DirOriginals ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DocumentInfoRecord AS _DocInfoRecd ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DocumentInfoRecordDocStatus AS _DocInfoRecdDocumentStatus ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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