ARS_OBJECTS_IN_SW_COMP_SCP

DDL: ARS_OBJECTS_IN_SW_COMP_SCP SQL: ARS_OBJ_IN_SWC Type: view Package: S_ARS_ADT

SCP: Objects in Software Component

ARS_OBJECTS_IN_SW_COMP_SCP is a CDS View that provides data about "SCP: Objects in Software Component" in SAP S/4HANA. It reads from 2 data sources (tadir, tdevc) and exposes 3 fields. Part of development package S_ARS_ADT.

Data Sources (2)

SourceAliasJoin Type
tadir tadir from
tdevc tdevc inner

Parameters (1)

NameTypeDefault
p_software_component dlvunit

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName ARS_OBJ_IN_SWC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label SCP: Objects in Software Component view

Fields (3)

KeyFieldSource TableSource FieldDescription
program_id tadir pgmid
object_type tadir object
object_name tadir obj_name
//*************************************************

// The view returns objects which are in the predefined software component

//

// In objects of ABAP language version "SAP Cloud Platform", references to other objects are allowed according to the following rules:

// (a) referenced object is released (to be retrieved using CDS view ARS_API_RELEASED_FOR_C1_SCP)

// (b) referenced object in the same software component as the given object (to be retrieved using CDS view ARS_OBJECTS_IN_SAME_SW_COMP)

// (alternative for b) if the software component is already known this view might be used to determine (b); e.g. Code Completiong 

//

// Parameter Definition:

//   - P_Software_Component: Software Component for which the Objects should be retrieved

//  

// Element Definition: 

//   - PROGRAM_ID: Program ID of object in software component ('R3TR' as given in field PGMID of table TADIR)

//   - P_OBJECT_TYPE: Object directory type of object in software component (e.g. 'TABLE' as given in field OBJECT of table TADIR)

//   - P_OBJECT_NAME: Object directory name of object in software component (as given in field OBJ_NAME of table TADIR)

//*************************************************

@AbapCatalog.sqlViewName: 'ARS_OBJ_IN_SWC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'SCP: Objects in Software Component'
define view ARS_OBJECTS_IN_SW_COMP_SCP
  with parameters
    p_software_component: dlvunit
  as select from tadir 
  inner join tdevc
    on tdevc.devclass = tadir.devclass        
{
  tadir.pgmid    as program_id,
  tadir.object   as object_type,
  tadir.obj_name as object_name
}
where tdevc.dlvunit = $parameters.p_software_component
  and tadir.delflag = #ABAP_BOOLEAN.' '