P_AssetClassText

DDL: P_ASSETCLASSTEXT Type: view BASIC

P_AssetClassText is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (ankt, faac_acls0_t, P_TF_AssetRedesignSwitchStatus, P_TF_AssetRedesignSwitchStatus) and exposes 9 fields with key fields AssetClass, Language, Language.

Data Sources (4)

SourceAliasJoin Type
ankt ankt from
faac_acls0_t faac_acls0_t union_all
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PFIASSETCLASST view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY AssetClass anlkl Asset Class
KEY Language spras Report Text Language
AssetClassName txk20 Short Text
AssetClassDescription txk50 Process Description
IsActiveXkeyasset_classasAssetClass
KEY Language language Report Text Language
AssetClassName description_short Short Text
AssetClassDescription description_long Process Description
AssetAuthorizationContext

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 P_AssetClassText.
-- 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 P_AssetClassText AS
SELECT
  anlkl AS AssetClass,
  spras AS Language,
  txk20 AS AssetClassName,
  txk50 AS AssetClassDescription,
  cast('CLASSIC' as faa_authcntxt) as AssetAuthorizationContext AS IsActiveXkeyasset_classasAssetClass,
  cast('NEW' as faa_authcntxt) AS AssetAuthorizationContext
FROM ankt
INNER JOIN P_TF_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faac_acls0_t
;