/SMB/V_FILE_DEF_ADMIN_DATA

DDL: /SMB/V_FILE_DEF_ADMIN_DATA Type: view_entity

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)

SourceAliasJoin 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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;