R_SI_ImportFileTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SI_ImportFile | ImportFile | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
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