I_SalesContractImportHistory

DDL: I_SALESCONTRACTIMPORTHISTORY Type: view_entity COMPOSITE Package: VDM_SD_SLS_IMPORT_CONTR

Sales Contract Import History

I_SalesContractImportHistory is a Composite CDS View that provides data about "Sales Contract Import History" in SAP S/4HANA. It reads from 1 data source (I_SalesDocImportHistory) and exposes 17 fields with key field SalesDocumentImportID. It has 1 association to related views. Part of development package VDM_SD_SLS_IMPORT_CONTR.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocImportHistory _ImportHist from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_SlsContrImportHistoryItem _ImportHistItem _ImportHistItem.SalesDocumentImportID = $projection.SalesDocumentImportID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Sales Contract Import History view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY SalesDocumentImportID SalesDocumentImportID Import ID
SalesDocumentImportName SalesDocumentImportName Import Name
CreatedByUser CreatedByUser User Name
SalesDocumentImportStatus SalesDocumentImportStatus Import Status
SlsDocImprtProcessingStatus SlsDocImprtProcessingStatus Processing Status
SalesDocumentImportDate SalesDocumentImportDate Imported On
SalesDocumentImportDateTime SalesDocumentImportDateTime
SDDocumentCategory SDDocumentCategory Document Cat.
LastChangeByUser LastChangeByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
SlsDocImprtdFileContentHash SlsDocImprtdFileContentHash Hash
FileShareSupplierType FileShareSupplierType File Share Vend Type
_ImportHistItem _ImportHistItem
_CreatedByUser _CreatedByUser
_LastChangeByUser _LastChangeByUser
_SlsDocImportStatus _SlsDocImportStatus
_ProcessingStatus _ProcessingStatus

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_SalesContractImportHistory.
-- 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_SalesContractImportHistory AS
SELECT
  SalesDocumentImportID,
  SalesDocumentImportName,
  CreatedByUser,
  SalesDocumentImportStatus,
  SlsDocImprtProcessingStatus,
  SalesDocumentImportDate,
  SalesDocumentImportDateTime,
  SDDocumentCategory,
  LastChangeByUser,
  LastChangeDateTime,
  SlsDocImprtdFileContentHash,
  FileShareSupplierType
FROM I_SalesDocImportHistory AS _ImportHist
LEFT OUTER JOIN I_SlsContrImportHistoryItem AS _ImportHistItem ON _ImportHistItem.SalesDocumentImportID = SalesDocumentImportID  -- association [1..*]
;