/SAM4U/BTL_L_SYSTEM
System
/SAM4U/BTL_L_SYSTEM is a CDS View that provides data about "System" in SAP S/4HANA. It reads from 12 data sources and exposes 47 fields with key field SystemId.
Data Sources (12)
| Source | Alias | Join Type |
|---|---|---|
| /SAM4U/BTL_L_USER | ChangedUser | left_outer |
| /SAM4U/BTL_L_USER | CreatedUser | left_outer |
| /sam4u/btl_dset | Dataset | left_outer |
| /sam4u/btl_dset | DatasetSource | left_outer |
| /SAM4U/BTL_L_DATASET_SOURCE | DatasetToSource | left_outer |
| dd07t | DomainValueText | left_outer |
| /SAM4U/BTL_L_PRICING_TENANT | Price | left_outer |
| /SAM4U/BTL_L_PRICING_TENANT | PriceActive | left_outer |
| /SAM4U/BTL_L_STATUS_TEXT | Status | left_outer |
| /sam4u/btl_dsctx | SysCategTexts | left_outer |
| /sam4u/btl_dsys | System | from |
| /SAM4U/BTL_L_SYSTEM_L_DATASET | SystemDataset | left_outer |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /SAM4U/BTLQSYS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | System | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SystemId | /sam4u/btl_dsys | systemid | System ID |
| SystemInstallation | ||||
| SystemName | ||||
| SystemSysId | ||||
| SystemClient | ||||
| SystemNo | /sam4u/btl_dsys | systemno | System Number | |
| DestinationId | /sam4u/btl_dsys | destinationid | Destination ID | |
| SystemDescription | /sam4u/btl_dsys | description | Well Code Des. | |
| SystemCategory | /sam4u/btl_dsys | system_category | ||
| SystemCategoryText | /sam4u/btl_dsctx | text | User Group | |
| StatusId | /sam4u/btl_dsys | statusid | Status ID | |
| StatusText | /SAM4U/BTL_L_STATUS_TEXT | StatusText | Short text | |
| CreatedAt | /sam4u/btl_dsys | createdat | Time Stamp | |
| CreatedById | /sam4u/btl_dsys | createdby | User Name | |
| CreatedByName | /SAM4U/BTL_L_USER | UserFullName | ||
| ChangedAt | /sam4u/btl_dsys | changedat | Time Stamp | |
| UpdatedOn | /sam4u/btl_dset | createdat | Time Stamp | |
| ChangedById | /sam4u/btl_dsys | changedby | User Name | |
| ChangedByName | /SAM4U/BTL_L_USER | UserFullName | ||
| IsArchived | /sam4u/btl_dsys | is_archived | Archived | |
| IsDeleted | /sam4u/btl_dsys | is_deleted | Truth Value | |
| IsFavorite | /sam4u/btl_dsys | is_favorite | Favorite | |
| DatasetGUID | /sam4u/btl_dset | datasetguid | Object GUID | |
| DatasetNumber | ||||
| DatasetVersion | ||||
| DatasetAt | /sam4u/btl_dset | createdat | Time Stamp | |
| Users | /sam4u/btl_dset | users | Users | |
| Roles | /sam4u/btl_dset | roles | Roles | |
| Profiles | /sam4u/btl_dset | profiles | Profiles | |
| Developers | /sam4u/btl_dset | developers | INT4 | |
| FUEs | /sam4u/btl_dset | fues | INT4 | |
| FUEsDelta | ||||
| Cost | ||||
| CostDelta | ||||
| FUEsActive | /sam4u/btl_dset | fues_active | INT4 | |
| FUEsActiveDelta | ||||
| CostActive | ||||
| CostActiveDelta | ||||
| CostCurrency | /SAM4U/BTL_L_PRICING_TENANT | price_currency | Price Currency | |
| SegmentsCount | /sam4u/btl_dset | segments_count | INT2 | |
| Segments | /sam4u/btl_dset | segments | Segments | |
| ClientTypeText | dd07t | ddtext | Short text | |
| UsersTag | ||||
| EnginesTag | ||||
| DevelopersTag | ||||
| LAWTag | ||||
| HanaTag |
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_SYSTEM.
-- 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/BTLQSYS
CREATE VIEW /SAM4U/BTL_L_SYSTEM AS
SELECT
System.systemid AS SystemId,
substring(System.systemid, 1, 10) AS SystemInstallation,
concat(concat(substring(System.systemid, 11, 3), '/'), substring(System.systemid, 14, 3)) AS SystemName,
substring(System.systemid, 11, 3) AS SystemSysId,
substring(System.systemid, 14, 3) AS SystemClient,
System.systemno AS SystemNo,
System.destinationid AS DestinationId,
System.description AS SystemDescription,
System.system_category AS SystemCategory,
SysCategTexts.text AS SystemCategoryText,
System.statusid AS StatusId,
Status.StatusText AS StatusText,
System.createdat AS CreatedAt,
System.createdby AS CreatedById,
CreatedUser.UserFullName AS CreatedByName,
System.changedat AS ChangedAt,
Dataset.createdat AS UpdatedOn,
System.changedby AS ChangedById,
ChangedUser.UserFullName AS ChangedByName,
System.is_archived AS IsArchived,
System.is_deleted AS IsDeleted,
System.is_favorite AS IsFavorite,
Dataset.datasetguid AS DatasetGUID,
cast(substring(Dataset.datasetid, 1, 10) as abap.numc(10)) AS DatasetNumber,
cast(substring(Dataset.datasetid, 11, 6) as abap.numc(6)) AS DatasetVersion,
Dataset.createdat AS DatasetAt,
Dataset.users AS Users,
Dataset.roles AS Roles,
Dataset.profiles AS Profiles,
Dataset.developers AS Developers,
Dataset.fues AS FUEs,
Dataset.fues - DatasetSource.fues AS FUEsDelta,
cast(Dataset.fues * Price.price * 12 as abap.int8) AS Cost,
cast((Dataset.fues - DatasetSource.fues) * Price.price * 12 as abap.int8) AS CostDelta,
Dataset.fues_active AS FUEsActive,
Dataset.fues_active - DatasetSource.fues_active AS FUEsActiveDelta,
cast(Dataset.fues_active * PriceActive.price * 12 as abap.int8) AS CostActive,
cast((Dataset.fues_active - DatasetSource.fues_active) * PriceActive.price * 12 as abap.int8) AS CostActiveDelta,
Price.price_currency AS CostCurrency,
Dataset.segments_count AS SegmentsCount,
Dataset.segments AS Segments,
DomainValueText.ddtext AS ClientTypeText,
cast('' as abap.char(6)) AS UsersTag,
cast('' as abap.char(8)) AS EnginesTag,
cast('' as abap.char(11)) AS DevelopersTag,
cast('' as abap.char(4)) AS LAWTag,
cast('' as abap.char(4)) AS HanaTag
FROM /sam4u/btl_dsys AS System
LEFT OUTER JOIN /SAM4U/BTL_L_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 */
LEFT OUTER JOIN /SAM4U/BTL_L_SYSTEM_L_DATASET AS SystemDataset ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /sam4u/btl_dset AS Dataset ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /SAM4U/BTL_L_PRICING_TENANT AS Price ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /SAM4U/BTL_L_PRICING_TENANT AS PriceActive ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /SAM4U/BTL_L_DATASET_SOURCE AS DatasetToSource ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /sam4u/btl_dset AS DatasetSource ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd07t AS DomainValueText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /sam4u/btl_dsctx AS SysCategTexts 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