I_IN_SubcontrgDocument

DDL: I_IN_SUBCONTRGDOCUMENT SQL: IINSUBCONTRG Type: view BASIC Package: GLO_LOG_IN

Consumption View for Subcon documents

I_IN_SubcontrgDocument is a Basic CDS View that provides data about "Consumption View for Subcon documents" in SAP S/4HANA. It reads from 1 data source (j_1ig_subcon) and exposes 12 fields with key fields CompanyCode, MaterialDocument, MaterialDocumentYear, MaterialDocumentItem, SubcontrgChallan. Part of development package GLO_LOG_IN.

Data Sources (1)

SourceAliasJoin Type
j_1ig_subcon j_1ig_subcon from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IINSUBCONTRG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption View for Subcon documents view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY MaterialDocument mblnr Material Doc.
KEY MaterialDocumentYear mjahr Mat. Doc. Year
KEY MaterialDocumentItem zeile Mat. Doc.Item
KEY SubcontrgChallan chln_inv Challan or Inv. No.
KEY BillingDocumentItem item Task ID
SequenceNumber
Material matnr Vehicle Model
Plant werks Receiving Plant
Status status Workflow Status
PostingDate budat Posting Date
CreationDate erdat Entered On

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_IN_SubcontrgDocument.
-- 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: IINSUBCONTRG

CREATE VIEW I_IN_SubcontrgDocument AS
SELECT
  bukrs AS CompanyCode,
  mblnr AS MaterialDocument,
  mjahr AS MaterialDocumentYear,
  zeile AS MaterialDocumentItem,
  chln_inv AS SubcontrgChallan,
  item AS BillingDocumentItem,
  max(seq_no) AS SequenceNumber,
  matnr AS Material,
  werks AS Plant,
  Status,
  budat AS PostingDate,
  erdat AS CreationDate
FROM j_1ig_subcon
;