P_AllocationContextType

DDL: P_ALLOCATIONCONTEXTTYPE SQL: PALLOCCONTEXTTYP Type: view COMPOSITE Package: ODATA_RUN_ALLOCATION

Allocation Context Type

P_AllocationContextType is a Composite CDS View that provides data about "Allocation Context Type" in SAP S/4HANA. It reads from 1 data source (I_AllocationContextType) and exposes 2 fields with key field AllocationType. Part of development package ODATA_RUN_ALLOCATION.

Data Sources (1)

SourceAliasJoin Type
I_AllocationContextType I_AllocationContextType from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PALLOCCONTEXTTYP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable false view
ObjectModel.resultSet.sizeCategory #XS view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY AllocationType Table
AllocationContextTypeText

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_AllocationContextType.
-- 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: PALLOCCONTEXTTYP

CREATE VIEW P_AllocationContextType AS
SELECT
  cast(AllocationType as fco_allocation_context) AS AllocationType,
  _Text[1:Language = $session.system_language].AllocationContextTypeText AS AllocationContextTypeText
FROM I_AllocationContextType
;