C_DFS_RelocationStockPlngTP

DDL: C_DFS_RELOCATIONSTOCKPLNGTP Type: view_entity CONSUMPTION

Relocation Stock Planning

C_DFS_RelocationStockPlngTP is a Consumption CDS View that provides data about "Relocation Stock Planning" in SAP S/4HANA. It reads from 1 data source (R_DFS_RelocationPlanningTP) and exposes 21 fields with key field DefenseRelocationPlanningUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
R_DFS_RelocationPlanningTP R_DFS_RelocationPlanningTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_DFS_RelocationHierclStepsVH _RelocationSteps $projection.WBSElementInternalID = _RelocationSteps.WBSElementParentInternalID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Relocation Stock Planning view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY DefenseRelocationPlanningUUID DefenseRelocationPlanningUUID Reloc Planning GUID
WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSElementExternalID _WBSElement WBSElementExternalID WBS Element External ID
WBSDescription _WBSElement WBSDescription WBS Element Name
BasicStartDate _WBSElement BasicStartDate
BasicEndDate _WBSElement BasicEndDate
DfsAssgmtUsageType DfsAssgmtUsageType Usage Type
FrcElmntOrgUsageTypeDesc _UsageType FrcElmntOrgUsageTypeDesc
FrcElmntOrgIsHierarchyRelevant FrcElmntOrgIsHierarchyRelevant TRUE
ForceElementOrgUUID ForceElementOrgUUID GUID 32
ForceElementOrgID ForceElementOrgID Object ID Processor
virtualFrcElmntOrgNamestext
DfsRelocationStepAssgmtType DfsRelocationStepAssgmtType Reloc Stp Assgmt Typ
CreationDateTime CreationDateTime Timestamp
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
_RelocationSteps _RelocationSteps
_FrcAttrib _FrcAttrib
_WBSElement _WBSElement
_UsageType _UsageType

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 C_DFS_RelocationStockPlngTP.
-- 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.

CREATE VIEW C_DFS_RelocationStockPlngTP AS
SELECT
  DefenseRelocationPlanningUUID,
  WBSElementInternalID,
  _WBSElement.WBSElementExternalID AS WBSElementExternalID,
  _WBSElement.WBSDescription AS WBSDescription,
  _WBSElement.BasicStartDate AS BasicStartDate,
  _WBSElement.BasicEndDate AS BasicEndDate,
  DfsAssgmtUsageType,
  _UsageType.FrcElmntOrgUsageTypeDesc AS FrcElmntOrgUsageTypeDesc,
  FrcElmntOrgIsHierarchyRelevant,
  ForceElementOrgUUID,
  ForceElementOrgID,
  virtual FrcElmntOrgName : stext AS virtualFrcElmntOrgNamestext,
  DfsRelocationStepAssgmtType,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM R_DFS_RelocationPlanningTP
LEFT OUTER JOIN C_DFS_RelocationHierclStepsVH AS _RelocationSteps ON WBSElementInternalID = _RelocationSteps.WBSElementParentInternalID  -- association [0..*]
;