I_DFS_AllwncPlanHierNodeBasic

DDL: I_DFS_ALLWNCPLANHIERNODEBASIC SQL: IDFSALLWNCPLBHN Type: view COMPOSITE

Plan Hier. Node with ref to Basic

I_DFS_AllwncPlanHierNodeBasic is a Composite CDS View that provides data about "Plan Hier. Node with ref to Basic" in SAP S/4HANA. It reads from 2 data sources (I_FrcElmntOrgWithAuthorization, I_DFS_AllwncPlanBasic) and exposes 28 fields with key field DfsAllwncPlanUUID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_FrcElmntOrgWithAuthorization _auth inner
I_DFS_AllwncPlanBasic AllwncPlanBasic from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_DFS_AllwncPlanHierNode _Parent $projection.DfsAllwncPlanPreviousPlanUUID = _Parent.DfsAllwncPlanUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IDFSALLWNCPLBHN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Plan Hier. Node with ref to Basic view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #HIERARCHY view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY DfsAllwncPlanUUID DfsAllwncPlanUUID Allowance Plan UUID
DfsAllwncPlanID DfsAllwncPlanID Plan ID
DfsAllwncPlanDescription DfsAllwncPlanDescription Plan Description
DfsAllwncPlanValdtyStrtDate DfsAllwncPlanValdtyStrtDate Valid From (Date)
DfsAllwncPlanValdtyEndDate DfsAllwncPlanValdtyEndDate Valid To (Date)
FlxblMatlPlngObjectUUID FlxblMatlPlngObjectUUID FMPO UUID
FlxblMatlPlngObjectID FlxblMatlPlngObjectID FMPO ID
FlxblMatlPlngObjVariantUUID FlxblMatlPlngObjVariantUUID Variant UUID
FlxblMatlPlngObjVariantID FlxblMatlPlngObjVariantID Variant ID
Product Product Product Sold
DfsAllwncPlanBaseType DfsAllwncPlanBaseType Base Type
DfsAllwncPlanAllowedQuantity DfsAllwncPlanAllowedQuantity Allowed Quantity
DfsAllwncPlanQuantityUnit DfsAllwncPlanQuantityUnit Base Unit
FrcElmntOrgUsageType FrcElmntOrgUsageType Usage Type
DfsAllwncPlanMultiLevel DfsAllwncPlanMultiLevel Level for Plan
DfsAllwncPlanPreviousPlanUUID DfsAllwncPlanPreviousPlanUUID Previous Plan
DfsAllwncPlanComment DfsAllwncPlanComment Comment
ForceElementOrgUUID ForceElementOrgUUID GUID 32
ForceElementOrgID I_DFS_AllwncPlanBasic ForceElementOrgID Object ID Processor
DfsAllwncPlanIsCompleted DfsAllwncPlanIsCompleted Plan Completed
DfsAllwncPlanStatusObject DfsAllwncPlanStatusObject Object Number
DfsAllwncPlanStatusCode DfsAllwncPlanStatusCode Status
DfsAllwncPlanStatusProfile DfsAllwncPlanStatusProfile Status Profile
DfsAllwncPlanCreationDateTime DfsAllwncPlanCreationDateTime Time Stamp
DfsAllwncPlanCreatedByUser DfsAllwncPlanCreatedByUser Created By
DfsAllwncPlanChangeDateTime DfsAllwncPlanChangeDateTime Time Stamp
DfsAllwncPlanLastChgdByUser DfsAllwncPlanLastChgdByUser Changed By
_Parent _Parent

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 I_DFS_AllwncPlanHierNodeBasic.
-- 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: IDFSALLWNCPLBHN

CREATE VIEW I_DFS_AllwncPlanHierNodeBasic AS
SELECT
  DfsAllwncPlanUUID,
  DfsAllwncPlanID,
  DfsAllwncPlanDescription,
  DfsAllwncPlanValdtyStrtDate,
  DfsAllwncPlanValdtyEndDate,
  FlxblMatlPlngObjectUUID,
  FlxblMatlPlngObjectID,
  FlxblMatlPlngObjVariantUUID,
  FlxblMatlPlngObjVariantID,
  Product,
  DfsAllwncPlanBaseType,
  DfsAllwncPlanAllowedQuantity,
  DfsAllwncPlanQuantityUnit,
  FrcElmntOrgUsageType,
  DfsAllwncPlanMultiLevel,
  DfsAllwncPlanPreviousPlanUUID,
  DfsAllwncPlanComment,
  ForceElementOrgUUID,
  AllwncPlanBasic.ForceElementOrgID AS ForceElementOrgID,
  DfsAllwncPlanIsCompleted,
  DfsAllwncPlanStatusObject,
  DfsAllwncPlanStatusCode,
  DfsAllwncPlanStatusProfile,
  DfsAllwncPlanCreationDateTime,
  DfsAllwncPlanCreatedByUser,
  DfsAllwncPlanChangeDateTime,
  DfsAllwncPlanLastChgdByUser
FROM I_DFS_AllwncPlanBasic AS AllwncPlanBasic
INNER JOIN I_FrcElmntOrgWithAuthorization AS _auth ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DFS_AllwncPlanHierNode AS _Parent ON DfsAllwncPlanPreviousPlanUUID = _Parent.DfsAllwncPlanUUID  -- association [0..1]
;