/SMB/V_FILE_DEF_ADMIN_DATA
File Definition Admin Data
/SMB/V_FILE_DEF_ADMIN_DATA is a CDS View that provides data about "File Definition Admin Data" in SAP S/4HANA. It reads from 10 data sources and exposes 25 fields with key fields bbid, sir_bb_id, seqnum, objid, objty.
Data Sources (10)
| Source | Alias | Join Type |
|---|---|---|
| /smb/bc_def_info | def_bcs | inner |
| /smb/ecat_def | def_ecat | inner |
| /smb/sobj_def | def_img | inner |
| /smb/bb_lib_h | lib_h | from |
| /smb/bb_lib_h | lib_h | union |
| /smb/bb_lib_h | lib_h | union |
| /smb/bb_lib_i | lib_i | inner |
| /smb/bb_lib_i | lib_i | inner |
| /smb/bb_lib_i | lib_i | inner |
| /smb/bb_img_sobj | sobj | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | File Definition Admin Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bbid | /smb/bb_lib_h | bbid | Building Block |
| KEY | sir_bb_id | /smb/bb_lib_h | sir_bb_id | Building block ID |
| KEY | seqnum | /smb/bb_lib_i | seqnum | Sequential Number |
| KEY | objid | /smb/bb_lib_i | objid | Work Center |
| KEY | objty | /smb/bb_lib_i | objty | Prj. Obj. Type |
| KEY | filename | /smb/bb_img_sobj | filename | URL or Filenam Path |
| created_by | /smb/sobj_def | created_by | Version Created By | |
| created_on | /smb/sobj_def | created_on | Variant created on | |
| bbidasbbid | ||||
| KEY | sir_bb_id | /smb/bb_lib_h | sir_bb_id | Building block ID |
| KEY | seqnum | /smb/bb_lib_i | seqnum | Sequential Number |
| KEY | objid | /smb/bb_lib_i | objid | Work Center |
| KEY | objty | /smb/bb_lib_i | objty | Prj. Obj. Type |
| KEY | filename | /smb/bb_lib_i | filename | URL or Filenam Path |
| created_by | /smb/ecat_def | created_by | Version Created By | |
| created_on | /smb/ecat_def | created_on | Variant created on | |
| bbidasbbid | ||||
| KEY | sir_bb_id | /smb/bb_lib_h | sir_bb_id | Building block ID |
| KEY | seqnum | /smb/bb_lib_i | seqnum | Sequential Number |
| KEY | objid | /smb/bb_lib_i | objid | Work Center |
| KEY | objty | /smb/bb_lib_i | objty | Prj. Obj. Type |
| KEY | filename | /smb/bb_lib_i | filename | URL or Filenam Path |
| created_by | /smb/bc_def_info | created_by | Version Created By | |
| created_on | /smb/bc_def_info | created_on | Variant created on | |
| gmd_status | /smb/bc_def_info | gmd_status | Status |
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 /SMB/V_FILE_DEF_ADMIN_DATA.
-- 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 /SMB/V_FILE_DEF_ADMIN_DATA AS
SELECT
lib_h.bbid AS bbid,
lib_h.sir_bb_id AS sir_bb_id,
lib_i.seqnum AS seqnum,
lib_i.objid AS objid,
lib_i.objty AS objty,
sobj.filename AS filename,
def_img.created_by AS created_by,
def_img.created_on AS created_on,
def_img.gmd_status as gmd_status AS bbidasbbid,
def_bcs.gmd_status AS gmd_status
FROM /smb/bb_lib_h AS lib_h
INNER JOIN /smb/bb_lib_i AS lib_i ON /* join condition not captured in parsed metadata */
INNER JOIN /smb/bb_img_sobj AS sobj ON /* join condition not captured in parsed metadata */
INNER JOIN /smb/sobj_def AS def_img ON /* join condition not captured in parsed metadata */
INNER JOIN /smb/ecat_def AS def_ecat ON /* join condition not captured in parsed metadata */
INNER JOIN /smb/bc_def_info AS def_bcs ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): /smb/bb_lib_h
;
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