ARS_OBJECTS_IN_SW_COMP_SCP
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.
Parameters (1)
| Name | Type | Default |
|---|---|---|
| p_software_component | dlvunit |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
//*************************************************
// 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.' '
Learn More
- 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 Annotations — A Complete Guide
- 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