/SAM4U/BTL_L_FILE
Raw File Storage
/SAM4U/BTL_L_FILE is a CDS View that provides data about "Raw File Storage" in SAP S/4HANA. It reads from 5 data sources (/SAM4U/BTL_L_USER, /SAM4U/BTL_L_USER, /sam4u/btl_dfile, /SAM4U/BTL_L_FILE_TYPE_TEXT, /SAM4U/BTL_L_USE_STATUS_TEXT) and exposes 18 fields with key fields FileGUID, FileTypeId.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| /SAM4U/BTL_L_USER | ChangedUser | left_outer |
| /SAM4U/BTL_L_USER | CreatedUser | left_outer |
| /sam4u/btl_dfile | File | from |
| /SAM4U/BTL_L_FILE_TYPE_TEXT | FileType | left_outer |
| /SAM4U/BTL_L_USE_STATUS_TEXT | Status | left_outer |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /SAM4U/BTLQFILE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Raw File Storage | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FileGUID | /sam4u/btl_dfile | file_id | UUID |
| KEY | FileTypeId | /sam4u/btl_dfile | file_type_id | File Type ID |
| FileTypeText | /SAM4U/BTL_L_FILE_TYPE_TEXT | FileTypeText | Short text | |
| FileName | /sam4u/btl_dfile | file_name | Uploaded File Name | |
| StatusId | /sam4u/btl_dfile | status_id | Trans Doc Status | |
| StatusText | /SAM4U/BTL_L_USE_STATUS_TEXT | StatusText | Short text | |
| CreatedAt | /sam4u/btl_dfile | created_at | Uploaded On | |
| CreatedById | /sam4u/btl_dfile | created_by_id | User Name | |
| CreatedByName | /SAM4U/BTL_L_USER | UserFullName | ||
| ChangedAt | /sam4u/btl_dfile | changed_at | Timestamp | |
| ChangedById | /sam4u/btl_dfile | changed_by_id | User Name | |
| ChangedByName | /SAM4U/BTL_L_USER | UserFullName | ||
| IsArchived | /sam4u/btl_dfile | is_archived | Archived | |
| IsDeleted | /sam4u/btl_dfile | is_deleted | Truth Value | |
| IsFavorite | /sam4u/btl_dfile | is_favorite | Favorite | |
| FileValue | /sam4u/btl_dfile | file_value | Binary String | |
| ContentType | /sam4u/btl_dfile | content_type | KTD Content Type | |
| DatasetId | /sam4u/btl_dfile | datasetguid | Object GUID |
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 /SAM4U/BTL_L_FILE.
-- 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: /SAM4U/BTLQFILE
CREATE VIEW /SAM4U/BTL_L_FILE AS
SELECT
File.file_id AS FileGUID,
File.file_type_id AS FileTypeId,
FileType.FileTypeText AS FileTypeText,
File.file_name AS FileName,
File.status_id AS StatusId,
Status.StatusText AS StatusText,
File.created_at AS CreatedAt,
File.created_by_id AS CreatedById,
CreatedUser.UserFullName AS CreatedByName,
File.changed_at AS ChangedAt,
File.changed_by_id AS ChangedById,
ChangedUser.UserFullName AS ChangedByName,
File.is_archived AS IsArchived,
File.is_deleted AS IsDeleted,
File.is_favorite AS IsFavorite,
File.file_value AS FileValue,
File.content_type AS ContentType,
File.datasetguid AS DatasetId
FROM /sam4u/btl_dfile AS File
LEFT OUTER JOIN /SAM4U/BTL_L_FILE_TYPE_TEXT AS FileType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /SAM4U/BTL_L_USE_STATUS_TEXT AS Status ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /SAM4U/BTL_L_USER AS CreatedUser ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /SAM4U/BTL_L_USER AS ChangedUser ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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