I_MasterDataImportTP_2

DDL: I_MASTERDATAIMPORTTP_2 Type: view_entity TRANSACTIONAL Package: MDC_LOAD

Master Data Import

I_MasterDataImportTP_2 is a Transactional CDS View that provides data about "Master Data Import" in SAP S/4HANA. It reads from 1 data source (I_MasterDataImport_2) and exposes 24 fields with key field MasterDataImportUUID. It has 6 associations to related views. Part of development package MDC_LOAD.

Data Sources (1)

SourceAliasJoin Type
I_MasterDataImport_2 I_MasterDataImport_2 from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_MasterDataImportFileTP _ImportFile $projection.MasterDataImportUUID = _ImportFile.MasterDataImportUUID
[0..1] I_MasterDataImportUserVH _ImportUserVH $projection.MasterDataImportCreator = _ImportUserVH.MasterDataImportCreator
[0..1] I_MDImportStatus_2 _ImportStatusVH $projection.MasterDataImportStatus = _ImportStatusVH.MasterDataImportStatus
[0..1] I_MDImportSourceSystemVH _ImportSystemVH $projection.MasterDataImportSourceSystem = _ImportSystemVH.MasterDataImportSourceSystem
[0..1] I_MDCloudUserContactCard _RequestorContactCard $projection.MasterDataImportCreator = _RequestorContactCard.ContactCardID
[0..*] I_MasterDataImportFileTP _File

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Master Data Import view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY MasterDataImportUUID MasterDataImportUUID NodeID
MasterDataImportStatus MasterDataImportStatus Status
MDImportStatusCriticality _ImportStatusVH MDImportStatusCriticality
MasterDataImportSourceSystem MasterDataImportSourceSystem Source System
MasterDataImportSourceFilter MasterDataImportSourceFilter Source Filtering
MasterDataImportObjectTypeCode MasterDataImportObjectTypeCode Bus. Obj. Type
MDChgProcessGoal MDChgProcessGoal Process Goal
MDImprtIsSkipConflictRecdReqd MDImprtIsSkipConflictRecdReqd Skip Records
MasterDataImportCreator MasterDataImportCreator Import Creator
MDImportCreationDateTime MDImportCreationDateTime Creation Date Time
MDImportCreationDate
MDImprtNmbrOfRecordsImported MDImprtNmbrOfRecordsImported Nmbr of rec imported
MDImportFileTemplateName
MDImportFileTemplateMimeType
MDImportFileTemplateBinary MDImportFileTemplateBinary File Content
MDImportFileIsUploaded
MDImportSourceSystemIsOmitted
MasterDataChangeProcess MasterDataChangeProcess Process ID
_File _File
_ImportFile _ImportFile
_ImportUserVH _ImportUserVH
_ImportStatusVH _ImportStatusVH
_ImportSystemVH _ImportSystemVH
_RequestorContactCard _RequestorContactCard

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_MasterDataImportTP_2.
-- 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_MasterDataImportTP_2 AS
SELECT
  MasterDataImportUUID,
  MasterDataImportStatus,
  _ImportStatusVH.MDImportStatusCriticality AS MDImportStatusCriticality,
  MasterDataImportSourceSystem,
  MasterDataImportSourceFilter,
  MasterDataImportObjectTypeCode,
  MDChgProcessGoal,
  MDImprtIsSkipConflictRecdReqd,
  MasterDataImportCreator,
  MDImportCreationDateTime,
  tstmp_to_dats( MDImportCreationDateTime, 'UTC', $session.client, 'NULL' ) AS MDImportCreationDate,
  MDImprtNmbrOfRecordsImported,
  cast( '' as mdc_import_file_name ) AS MDImportFileTemplateName,
  cast( '' as w3conttype ) AS MDImportFileTemplateMimeType,
  MDImportFileTemplateBinary,
  cast( '' as boolean ) AS MDImportFileIsUploaded,
  cast( case MasterDataImportSourceSystem when '-/-' then 'X' else ' ' end as boolean ) AS MDImportSourceSystemIsOmitted,
  MasterDataChangeProcess
FROM I_MasterDataImport_2
LEFT OUTER JOIN I_MasterDataImportFileTP AS _ImportFile ON MasterDataImportUUID = _ImportFile.MasterDataImportUUID  -- association [0..1]
LEFT OUTER JOIN I_MasterDataImportUserVH AS _ImportUserVH ON MasterDataImportCreator = _ImportUserVH.MasterDataImportCreator  -- association [0..1]
LEFT OUTER JOIN I_MDImportStatus_2 AS _ImportStatusVH ON MasterDataImportStatus = _ImportStatusVH.MasterDataImportStatus  -- association [0..1]
LEFT OUTER JOIN I_MDImportSourceSystemVH AS _ImportSystemVH ON MasterDataImportSourceSystem = _ImportSystemVH.MasterDataImportSourceSystem  -- association [0..1]
LEFT OUTER JOIN I_MDCloudUserContactCard AS _RequestorContactCard ON MasterDataImportCreator = _RequestorContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_MasterDataImportFileTP AS _File ON /* condition not available in parsed metadata */  -- association [0..*]
;