UPOV_GET_ALLOCATION_BASIS

DDL: UPO_INT_V_GET_ALLOCATION_BASIS SQL: UPOS_GET_ALBASIS Type: view

Get Allocation Basis details

UPOV_GET_ALLOCATION_BASIS is a CDS View that provides data about "Get Allocation Basis details" in SAP S/4HANA. It reads from 2 data sources (gho_nwrule_h, gho_nwrule_h) and exposes 5 fields with key field tplnr.

Data Sources (2)

SourceAliasJoin Type
gho_nwrule_h nwrule inner
gho_nwrule_h nwrule inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_GET_ALBASIS view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Get Allocation Basis details view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY tplnr upo_novd tplnr Functional loc.
effective_to upo_novd effective_to Valid To Timestamp
tplnr Functional loc.
effective_to upo_novd effective_to Valid To Timestamp
alloc_basis04thenDelseendasal_basis_cd

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 UPOV_GET_ALLOCATION_BASIS.
-- 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: UPOS_GET_ALBASIS

CREATE VIEW UPOV_GET_ALLOCATION_BASIS AS
SELECT
  upo_novd.tplnr AS tplnr,
  upo_novd.effective_to AS effective_to,
  case when nwrule.alloc_basis = '01' then 'V' when nwrule.alloc_basis = '02' then 'E' when nwrule.alloc_basis = '04' then 'D' else '' end as al_basis_cd AS alloc_basis04thenDelseendasal_basis_cd
INNER JOIN gho_nwrule_h AS nwrule ON /* join condition not captured in parsed metadata */
;