R_DFS_AllwncPlanTP

DDL: R_DFS_ALLWNCPLANTP SQL: RALLWNCPLANTP Type: view_entity TRANSACTIONAL

TP View for Allowance Plan

R_DFS_AllwncPlanTP is a Transactional CDS View that provides data about "TP View for Allowance Plan" in SAP S/4HANA. It reads from 1 data source (I_DFS_AllwncPlan) and exposes 59 fields with key field DfsAllwncPlanUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DFS_AllwncPlan _AllwncPlan from

Associations (3)

CardinalityTargetAliasCondition
[0..1] E_DFS_AllwncPlanBasic _Extension $projection.DfsAllwncPlanUUID = _Extension.DfsAllwncPlanUUID
[0..1] I_DFS_AllwncPlanBasic _PreviousPlan $projection.DfsAllwncPlanPreviousPlanUUID = _PreviousPlan.DfsAllwncPlanUUID
[0..*] R_DFS_AllwncPlanToFeTP _AllwncPlanToFe

Annotations (9)

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

Fields (59)

KeyFieldSource TableSource FieldDescription
KEY DfsAllwncPlanUUID DfsAllwncPlanUUID Allowance Plan UUID
DfsAllwncPlanID DfsAllwncPlanID Plan ID
Language Language Report Text Language
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
DfsAllwncPlanUsedQuantity DfsAllwncPlanUsedQuantity
DfsAllwncPlanQuantityUnit DfsAllwncPlanQuantityUnit Base Unit
FrcElmntOrgUsageType FrcElmntOrgUsageType Usage Type
DfsAllwncPlanMultiLevel DfsAllwncPlanMultiLevel Level for Plan
DfsAllwncPlanIsFUPHidden DfsAllwncPlanIsFUPHidden
DfsAllwncPlanIsReqHidden DfsAllwncPlanIsReqHidden
DfsAllwncPlanPreviousPlanUUID DfsAllwncPlanPreviousPlanUUID Previous Plan
DfsAllwncPlanComment DfsAllwncPlanComment Comment
ForceElementOrgUUID ForceElementOrgUUID GUID 32
ForceElementOrgID ForceElementOrgID Object ID Processor
FrcElmntOrgName
DfsAllwncPlanIsCompleted DfsAllwncPlanIsCompleted Plan Completed
DfsAllwncPlanCompletedStatus DfsAllwncPlanCompletedStatus
DfsAllwncPlanStatusObject DfsAllwncPlanStatusObject Object Number
DfsAllwncPlanStatusCode DfsAllwncPlanStatusCode Status
DfsAllwncPlanStatusProfile DfsAllwncPlanStatusProfile Status Profile
StatusCriticality StatusCriticality
Status Status Workflow Status
DfsAllwncReqID DfsAllwncReqID Request ID
DfsAllwncReqUUID DfsAllwncReqUUID Allowance Req UUID
DfsAllwncPlanCreationDateTime DfsAllwncPlanCreationDateTime Time Stamp
DfsAllwncPlanCreatedByUser DfsAllwncPlanCreatedByUser Created By
DfsAllwncPlanChangeDateTime DfsAllwncPlanChangeDateTime Time Stamp
DfsAllwncPlanLastChgdByUser DfsAllwncPlanLastChgdByUser Changed By
HierarchyNode
HierarchyParentNode
HierarchyLevel
HierarchyDescendantCount
DrillDownState
HierarchyNodeOrdinalNumber
_CreatedByUserContactCard _CreatedByUserContactCard
_LastChangedByUserContactCard _LastChangedByUserContactCard
_ValdtyStrtDate _ValdtyStrtDate
_ValdtyEndDate _ValdtyEndDate
_StatusObject _StatusObject
_StatusAttributes _StatusAttributes
_StatusObjectUserStatus _StatusObjectUserStatus
_AllwncPlanToFe _AllwncPlanToFe
_PreviousPlan _PreviousPlan
_FrcElmntOrg _FrcElmntOrg
_FlxMtPlObj _FlxMtPlObj
_FlxMtPlObjVariant _FlxMtPlObjVariant
_MultiLevel _MultiLevel
_BaseType _BaseType
_UsageType _UsageType
_ProductText _ProductText

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_AllwncPlanTP.
-- 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: RALLWNCPLANTP

CREATE VIEW R_DFS_AllwncPlanTP AS
SELECT
  DfsAllwncPlanUUID,
  DfsAllwncPlanID,
  Language,
  DfsAllwncPlanDescription,
  DfsAllwncPlanValdtyStrtDate,
  DfsAllwncPlanValdtyEndDate,
  FlxblMatlPlngObjectUUID,
  FlxblMatlPlngObjectID,
  FlxblMatlPlngObjVariantUUID,
  FlxblMatlPlngObjVariantID,
  Product,
  DfsAllwncPlanBaseType,
  DfsAllwncPlanAllowedQuantity,
  DfsAllwncPlanUsedQuantity,
  DfsAllwncPlanQuantityUnit,
  FrcElmntOrgUsageType,
  DfsAllwncPlanMultiLevel,
  DfsAllwncPlanIsFUPHidden,
  DfsAllwncPlanIsReqHidden,
  DfsAllwncPlanPreviousPlanUUID,
  DfsAllwncPlanComment,
  ForceElementOrgUUID,
  ForceElementOrgID,
  cast('' as stext) AS FrcElmntOrgName,
  DfsAllwncPlanIsCompleted,
  DfsAllwncPlanCompletedStatus,
  DfsAllwncPlanStatusObject,
  DfsAllwncPlanStatusCode,
  DfsAllwncPlanStatusProfile,
  StatusCriticality,
  Status,
  DfsAllwncReqID,
  DfsAllwncReqUUID,
  DfsAllwncPlanCreationDateTime,
  DfsAllwncPlanCreatedByUser,
  DfsAllwncPlanChangeDateTime,
  DfsAllwncPlanLastChgdByUser,
  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_AllwncPlan AS _AllwncPlan
LEFT OUTER JOIN E_DFS_AllwncPlanBasic AS _Extension ON DfsAllwncPlanUUID = _Extension.DfsAllwncPlanUUID  -- association [0..1]
LEFT OUTER JOIN I_DFS_AllwncPlanBasic AS _PreviousPlan ON DfsAllwncPlanPreviousPlanUUID = _PreviousPlan.DfsAllwncPlanUUID  -- association [0..1]
LEFT OUTER JOIN R_DFS_AllwncPlanToFeTP AS _AllwncPlanToFe ON /* condition not available in parsed metadata */  -- association [0..*]
;