R_DFS_AllwncPlanToFeTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_DFS_AllwncPlanToFe | I_DFS_AllwncPlanToFe | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA