R_SI_ImportFileTP

DDL: R_SI_IMPORTFILETP Type: view_entity TRANSACTIONAL Package: GLO_FIN_IS_SI_CBR_PRTN

Slovenian CBR Import file - TP

R_SI_ImportFileTP is a Transactional CDS View that provides data about "Slovenian CBR Import file - TP" in SAP S/4HANA. It reads from 1 data source (I_SI_ImportFile) and exposes 22 fields with key fields DocumentDate, Type, CompanyCode. It has 4 associations to related views. Part of development package GLO_FIN_IS_SI_CBR_PRTN.

Data Sources (1)

SourceAliasJoin Type
I_SI_ImportFile ImportFile from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_SI_FileTypeText _FileTypeText _FileTypeText.Type = ImportFile.Type and _FileTypeText.Language = $session.system_language
[0..1] I_User _ChangedBy _ChangedBy.UserID = $projection.LastChangedByUser
[0..1] I_CompanyCode _CompanyCode _CompanyCode.CompanyCode = ImportFile.CompanyCode
[0..*] R_SI_ImportFileLogTP _Log

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.sapObjectNodeType.name BusinessPartner view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Slovenian CBR Import file - TP view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY DocumentDate DocumentDate Journal Entry Date
KEY Type Type Worklist Type
KEY CompanyCode CompanyCode Receiver Company Code
Status Status Workflow Status
Note Note TradeRequest Comment
OutputBinaryData OutputBinaryData X Flag
MimeType MimeType MIMETYPE
FileName FileName URL or Filenam Path
CreatedByUser CreatedByUser User Name
CreatedOnDateTime CreatedOnDateTime Created On
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
TextTypeDescription _FileTypeText TextTypeDescription
UserDescription _ChangedBy UserDescription Full Name
LastChangedByUserName
FiscalYear
FiscalMonth
StatryRptgEntity
ExecutedTransaction
CompanyCodeName _CompanyCode CompanyCodeName Company Name
_CompanyCode _CompanyCode
_Log _Log

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 R_SI_ImportFileTP.
-- 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 R_SI_ImportFileTP AS
SELECT
  DocumentDate,
  Type,
  CompanyCode,
  Status,
  Note,
  OutputBinaryData,
  MimeType,
  FileName,
  CreatedByUser,
  CreatedOnDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  _FileTypeText.TextTypeDescription AS TextTypeDescription,
  _ChangedBy.UserDescription AS UserDescription,
  cast ( ( coalesce( _ChangedBy.UserDescription, LastChangedByUser) ) as glo_fin_si_changed_by ) AS LastChangedByUserName,
  cast ( '' as fiscal_y_in ) AS FiscalYear,
  cast ( '' as fiscalmonthcurrentperiod ) AS FiscalMonth,
  cast ( '' as srf_reporting_entity ) AS StatryRptgEntity,
  cast ( '' as tcode ) AS ExecutedTransaction,
  _CompanyCode.CompanyCodeName AS CompanyCodeName
FROM I_SI_ImportFile AS ImportFile
LEFT OUTER JOIN I_SI_FileTypeText AS _FileTypeText ON _FileTypeText.Type = ImportFile.Type AND _FileTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedBy ON _ChangedBy.UserID = LastChangedByUser  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.CompanyCode = ImportFile.CompanyCode  -- association [0..1]
LEFT OUTER JOIN R_SI_ImportFileLogTP AS _Log ON /* condition not available in parsed metadata */  -- association [0..*]
;