R_DFS_AllwncPlanToFeTP

DDL: R_DFS_ALLWNCPLANTOFETP SQL: RALLWNCPLANFETP Type: view_entity TRANSACTIONAL

TP View for Allowance Plan to FE

R_DFS_AllwncPlanToFeTP is a Transactional CDS View that provides data about "TP View for Allowance Plan to FE" in SAP S/4HANA. It reads from 1 data source (I_DFS_AllwncPlanToFe) and exposes 35 fields with key fields DfsAllwncPlanUUID, ForceElementOrgUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DFS_AllwncPlanToFe I_DFS_AllwncPlanToFe from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_DFS_AllwncPlanTP _FollowUpPlan $projection.DfsAllwncPlanUUID = _FollowUpPlan.DfsAllwncPlanPreviousPlanUUID and $projection.ForceElementOrgUUID = _FollowUpPlan.ForceElementOrgUUID
[0..1] I_DFS_AllwncReqBasic _Request $projection.DfsAllwncReqUUID = _Request.DfsAllwncReqUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label TP View for Allowance Plan to FE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY DfsAllwncPlanUUID DfsAllwncPlanUUID Allowance Plan UUID
KEY ForceElementOrgUUID ForceElementOrgUUID GUID 32
DfsAllwncPlanAssignedQuantity DfsAllwncPlanAssignedQuantity Assigned Quantity
DfsAllwncPlanQuantityUnit _AllwncPlanTP DfsAllwncPlanQuantityUnit Base Unit
ForceElementOrgTargetUUID ForceElementOrgTargetUUID GUID 32
ForceElementOrgID ForceElementOrgID Object ID Processor
DfsFrcElmntIsChangeable DfsFrcElmntIsChangeable
ForceElementOrgTargetID _ParentFrcAttrib ForceElementOrgID Object ID Processor
DfsAllwncPlanIsFollowUpPlan DfsAllwncPlanIsFollowUpPlan Follow-Up Plan
DfsAllwncPlanIsFllwUpPlanAllwd DfsAllwncPlanIsFllwUpPlanAllwd FUp Allowed
DfsAllwncPlanSubQuantity
FrcElmntOrgName
FrcElmntOrgShortName
DfsAllwncPlanFollowUpPlanID _FollowUpPlan DfsAllwncPlanID Plan ID
DfsAllwncPlanFollowUpPlanUUID _FollowUpPlan DfsAllwncPlanUUID Allowance Plan UUID
FrcElmntOrgUsageType FrcElmntOrgUsageType Usage Type
DfsAllwncPlanValdtyStrtDate DfsAllwncPlanValdtyStrtDate Valid From (Date)
DfsAllwncPlanValdtyEndDate DfsAllwncPlanValdtyEndDate Valid To (Date)
Product Product Product Sold
FlxblMatlPlngObjectUUID FlxblMatlPlngObjectUUID FMPO UUID
FlxblMatlPlngObjVariantUUID FlxblMatlPlngObjVariantUUID Variant UUID
DfsAllwncPlanChangeDateTime DfsAllwncPlanChangeDateTime Time Stamp
DfsAllwncReqUUID DfsAllwncReqUUID Allowance Req UUID
DfsAllwncReqReqdSubQuantity
DfsAllwncReqReqdQuantity
DfsAllwncReqQuantityUnit
HierarchyNode
HierarchyParentNode
HierarchyLevel
HierarchyDescendantCount
DrillDownState
HierarchyNodeOrdinalNumber
_AllwncPlanTP _AllwncPlanTP
_FollowUpPlan _FollowUpPlan
_Request _Request

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 R_DFS_AllwncPlanToFeTP.
-- 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: RALLWNCPLANFETP

CREATE VIEW R_DFS_AllwncPlanToFeTP AS
SELECT
  DfsAllwncPlanUUID,
  ForceElementOrgUUID,
  DfsAllwncPlanAssignedQuantity,
  _AllwncPlanTP.DfsAllwncPlanQuantityUnit AS DfsAllwncPlanQuantityUnit,
  ForceElementOrgTargetUUID,
  ForceElementOrgID,
  DfsFrcElmntIsChangeable,
  _ParentFrcAttrib.ForceElementOrgID AS ForceElementOrgTargetID,
  DfsAllwncPlanIsFollowUpPlan,
  DfsAllwncPlanIsFllwUpPlanAllwd,
  cast( 0 as dfs_allwnc_plan_assgd_qty ) AS DfsAllwncPlanSubQuantity,
  cast('' as stext) AS FrcElmntOrgName,
  cast('' as short_d) AS FrcElmntOrgShortName,
  _FollowUpPlan.DfsAllwncPlanID AS DfsAllwncPlanFollowUpPlanID,
  _FollowUpPlan.DfsAllwncPlanUUID AS DfsAllwncPlanFollowUpPlanUUID,
  FrcElmntOrgUsageType,
  DfsAllwncPlanValdtyStrtDate,
  DfsAllwncPlanValdtyEndDate,
  Product,
  FlxblMatlPlngObjectUUID,
  FlxblMatlPlngObjVariantUUID,
  DfsAllwncPlanChangeDateTime,
  DfsAllwncReqUUID,
  cast( 0 as dfs_allwnc_req_reqd_qty ) AS DfsAllwncReqReqdSubQuantity,
  cast( 0 as dfs_allwnc_req_reqd_qty ) AS DfsAllwncReqReqdQuantity,
  cast( '' as meins ) AS DfsAllwncReqQuantityUnit,
  cast( '' as abap.sstring(1333) ) AS HierarchyNode,
  cast( '' as abap.sstring(1333) ) AS HierarchyParentNode,
  cast( 0 as abap.int4 ) AS HierarchyLevel,
  cast( 0 as abap.int4 ) AS HierarchyDescendantCount,
  cast( 0 as abap.sstring(20) ) AS DrillDownState,
  cast( 0 as abap.int4 ) AS HierarchyNodeOrdinalNumber
FROM I_DFS_AllwncPlanToFe
LEFT OUTER JOIN R_DFS_AllwncPlanTP AS _FollowUpPlan ON DfsAllwncPlanUUID = _FollowUpPlan.DfsAllwncPlanPreviousPlanUUID AND ForceElementOrgUUID = _FollowUpPlan.ForceElementOrgUUID  -- association [1..1]
LEFT OUTER JOIN I_DFS_AllwncReqBasic AS _Request ON DfsAllwncReqUUID = _Request.DfsAllwncReqUUID  -- association [0..1]
;