A_AllergenDescription

DDL: A_ALLERGENDESCRIPTION SQL: AALLERGENDESC Type: view CONSUMPTION

Allergen Description

A_AllergenDescription is a Consumption CDS View that provides data about "Allergen Description" in SAP S/4HANA. It reads from 1 data source (I_SpecDefIdfrForSpecCat) and exposes 6 fields with key fields AllergenInternalID, AllergenDescriptionLanguage. It has 1 association to related views. It is exposed through 1 OData service (API_ALLERGEN).

Data Sources (1)

SourceAliasJoin Type
I_SpecDefIdfrForSpecCat I_SpecDefIdfrForSpecCat from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (1)

CardinalityTargetAliasCondition
[0..1] A_Allergen _Allergen _Allergen.AllergenInternalID = $projection.AllergenInternalID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName AALLERGENDESC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Allergen Description view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

OData Services (1)

ServiceBindingVersionContractRelease
API_ALLERGEN API_ALLERGEN V2 C2 C1

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY AllergenInternalID SpecificationInternalID Specification
KEY AllergenDescriptionLanguage SpecIdfgDescLanguage
AllergenDescription SpecIdfgDescText
AllergenAuthznGroup
AllergenType
_Allergen _Allergen

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 A_AllergenDescription.
-- 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.
-- SQL view name: AALLERGENDESC
-- Parameters: P_KeyDate : sydate

CREATE VIEW A_AllergenDescription AS
SELECT
  SpecificationInternalID AS AllergenInternalID,
  SpecIdfgDescLanguage AS AllergenDescriptionLanguage,
  SpecIdfgDescText AS AllergenDescription,
  _Allergen (P_KeyDate: $parameters.P_KeyDate).AllergenAuthznGroup AS AllergenAuthznGroup,
  _Allergen (P_KeyDate: $parameters.P_KeyDate).AllergenType AS AllergenType
FROM I_SpecDefIdfrForSpecCat
LEFT OUTER JOIN A_Allergen AS _Allergen ON _Allergen.AllergenInternalID = AllergenInternalID  -- association [0..1]
;