ARS_OBJECTS_ALL_SW_COMP_SCP
SCP: Objects in all Cust. Software Comp.
ARS_OBJECTS_ALL_SW_COMP_SCP is a CDS View that provides data about "SCP: Objects in all Cust. Software Comp." in SAP S/4HANA. It reads from 3 data sources (ARS_SOFTWARE_COMPONENTS_SCP, tadir, tdevc) and exposes 4 fields with key fields program_id, object_type, object_name. Part of development package S_ARS_PUBLIC.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| ARS_SOFTWARE_COMPONENTS_SCP | abap_config | inner |
| tadir | tadir | from |
| tdevc | tdevc | inner |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.entityBuffer.definitionAllowed | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | SCP: Objects in all Cust. Software Comp. | 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:
// Customer Objects are stored in Customer Software Component,
// - in an "SAP Cloud Platform" system the ABAP_LANGUAGE_VERSION = 5 needs to be configured for all Customer Software Components
// - this view allowes to retrieved all objects within this configured Software Compoents (e.g. to determine Customer Objects)
//
// Element Definition:
// - PROGRAM_ID: Program ID of object in software component ('R3TR' as given in field PGMID of table TADIR)
// - OBJECT_TYPE: Object directory type of object in software component (e.g. 'TABLE' as given in field OBJECT of table TADIR)
// - OBJECT_NAME: Object directory name of object in software component (as given in field OBJ_NAME of table TADIR)
//*************************************************
@AbapCatalog.entityBuffer.definitionAllowed: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'SCP: Objects in all Cust. Software Comp.'
define view entity ARS_OBJECTS_ALL_SW_COMP_SCP
as select from tadir
inner join tdevc on tdevc.devclass = tadir.devclass
inner join ARS_SOFTWARE_COMPONENTS_SCP as abap_config on abap_config.software_component = tdevc.dlvunit
{
key tadir.pgmid as program_id,
key tadir.object as object_type,
key tadir.obj_name as object_name,
tadir.devclass as package_name,
abap_config.software_component as software_component,
abap_config.is_local_software_component as is_local_software_component,
abap_config.is_installed_component as is_installed_component
}
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