Vfs_Activation_State

DDL: VFS_ACTIVATION_STATE SQL: VFS8 Type: view

Activation state for virtual folders

Vfs_Activation_State is a CDS View that provides data about "Activation state for virtual folders" in SAP S/4HANA. It reads from 3 data sources (dwinactiv, dwinactiv, euobjedit) and exposes 12 fields.

Data Sources (3)

SourceAliasJoin Type
dwinactiv dwinactiv left_outer
dwinactiv dwinactiv left_outer
euobjedit euobjedit left_outer

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName VFS8 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Activation state for virtual folders view

Fields (12)

KeyFieldSource TableSource FieldDescription
object_type object
object_name
uname uname
delet_flag delet_flag
inactive
object_name funcname
uname uname
delet_flag delet_flag
obj_nameFUGRasobject_type
uname uname
delet_flag delet_flag
maintype
@AbapCatalog.sqlViewName: 'VFS8'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Activation state for virtual folders'
define view Vfs_Activation_State
  as select distinct from dwinactiv
    left outer join       euobjedit on dwinactiv.object = euobjedit.e071 or dwinactiv.object = euobjedit.tadir
{
  object                         as object_type,
  rtrim(left(obj_name, 30), '=') as object_name,
  uname,
  delet_flag,
  'X'                            as inactive,
  euobjedit.tadir                as maintype
}

union all

// L..U to function modules

select distinct from tfdir
  left outer join    dwinactiv on tfdir.funcname = dwinactiv.obj_name
{
  object   as object_type,
  funcname as object_name,
  uname,
  delet_flag,
  case
    when dwinactiv.obj_name is not initial then 'X'
    else ''
  end      as inactive,
  'FUNC'   as maintype
}

union all

// function group from function group include (SAPL...)

select distinct from tfdir
  left outer join    dwinactiv on tfdir.pname = dwinactiv.obj_name
{
  'FUGR' as object_type,
  case
    when pname like '/%/SAPL%' then replace(substring(pname,1,30), '/SAPL', '/')
    when pname like 'SAPL%'    then replace(substring(pname,1,30), 'SAPL', ' ')
    else ''
    end  as object_name,
  uname,
  delet_flag,
  case
    when dwinactiv.obj_name is not initial then 'X'
    else ''
  end    as inactive,
  'FUGR' as maintype
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DWINACTIV",
"EUOBJEDIT",
"TFDIR"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/