N_SAFT_CS_CRL_NR_OF_METHODS

DDL: N_SAFT_CS_CRL_NR_OF_METHODS Type: view_entity

AFT Code Snippets: Nr of library methods

N_SAFT_CS_CRL_NR_OF_METHODS is a CDS View that provides data about "AFT Code Snippets: Nr of library methods" in SAP S/4HANA. It reads from 2 data sources (scrl_library, scrl_method) and exposes 2 fields with key field LibraryID.

Data Sources (2)

SourceAliasJoin Type
scrl_library Library inner
scrl_method LibraryMethod from

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label AFT Code Snippets: Nr of library methods view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY LibraryID scrl_method library_id Library ID
numberOf

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 N_SAFT_CS_CRL_NR_OF_METHODS.
-- 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 N_SAFT_CS_CRL_NR_OF_METHODS AS
SELECT
  LibraryMethod.library_id AS LibraryID,
  count(*) AS numberOf
FROM scrl_method AS LibraryMethod
INNER JOIN scrl_library AS Library ON /* join condition not captured in parsed metadata */
;