C_ARunCompareAssgmtQuery

DDL: C_ARUNCOMPAREASSGMTQUERY Type: view CONSUMPTION Package: VDM_ARUN_MONITOR

ARun Compare Assignments Query View

C_ARunCompareAssgmtQuery is a Consumption CDS View that provides data about "ARun Compare Assignments Query View" in SAP S/4HANA. It reads from 1 data source (I_ARunCompareAssgmtCube) and exposes 52 fields with key fields ATPCheckUUID, RequirementDocumentNumber, RequirementDocumentItem, RequirementType. It has 14 associations to related views. Part of development package VDM_ARUN_MONITOR.

Data Sources (1)

SourceAliasJoin Type
I_ARunCompareAssgmtCube Assgmt from

Associations (14)

CardinalityTargetAliasCondition
[0..1] I_ProductText _ProductText $projection.Material = _ProductText.Product and _ProductText.Language = $session.system_language
[0..1] I_ProductGroupText _ProductGroupText $projection.MaterialGroup = _ProductGroupText.MaterialGroup and _ProductGroupText.Language = $session.system_language
[0..1] I_SalesOrganizationText _SalesOrgText $projection.SalesOrganization = _SalesOrgText.SalesOrganization and _SalesOrgText.Language = $session.system_language
[0..1] I_DistributionChannelText _DistrChnl $projection.DistributionChannel = _DistrChnl.DistributionChannel and _DistrChnl.Language = $session.system_language
[0..1] I_DivisionText _Divn $projection.Division = _Divn.Division and _Divn.Language = $session.system_language
[0..1] I_SalesDistrictText _SalesDist $projection.SalesDistrict = _SalesDist.SalesDistrict and _SalesDist.Language = $session.system_language
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_CustomerGroupText _CustomerGroup $projection.CustomerGroup = _CustomerGroup.CustomerGroup and _CustomerGroup.Language = $session.system_language
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_SupDmndRqmtTypeText _RqmtText $projection.RequirementType = _RqmtText.RequirementType and _RqmtText.Language = $session.system_language
[0..1] I_ARunABOPText _ARunABOPText $projection.ATPCheckUUID = _ARunABOPText.ATPCheckUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CARUNCOMPQUERY view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label ARun Compare Assignments Query View view

Fields (52)

KeyFieldSource TableSource FieldDescription
KEY ATPCheckUUID ATPCheckUUID BOP Run
KEY RequirementDocumentNumber RequirementDocumentNumber Requirement Document Number
KEY RequirementDocumentItem RequirementDocumentItem Requirement Document Item
KEY RequirementType RequirementType Requirement Type
AssignedQuantityInBaseUnit AssignedQuantityInBaseUnit Simulation
NormalAssignedQuantityInBsUnt NormalAssignedQuantityInBsUnt Normal
PreviewAssignedQuantityInBsUnt PreviewAssignedQuantityInBsUnt Preview
ABOPVariantUUID ABOPVariantUUID BOP Variant UUID
ABOPVariantName _ARunABOPText ABOPVariantName BOP Variant Name
StartedByUser StartedByUser
ATPCheckStatus ATPCheckStatus
ABOPExecutionMode ABOPExecutionMode
Material I_ARunCompareAssgmtCube Material Product
Plant I_ARunCompareAssgmtCube Plant Valuation Area
RequirementSegment RequirementSegment Req. Segment
BaseUnit BaseUnit Unit of Measure
SalesOrganization I_ARunCompareAssgmtCube SalesOrganization Sales Organization
DistributionChannel I_ARunCompareAssgmtCube DistributionChannel RefDistCh-Cust/Mat.
Division I_ARunCompareAssgmtCube Division Internal Division ID
SalesDistrict I_ARunCompareAssgmtCube SalesDistrict Sales District
CustomerGroup CustomerGroup Customer Group
CompanyCode I_ARunCompareAssgmtCube CompanyCode Company Code
MaterialGroup I_ARunCompareAssgmtCube MaterialGroup Product Group
OrderType OrderType Order Type
OrderTypeName OrderTypeName Order Type Name
SoldToParty SoldToParty Sold-To Party
ShipToParty ShipToParty Ship-To Party
CrossPlantConfigurableProduct CrossPlantConfigurableProduct Generic Product
DeliveryGroup DeliveryGroup Delivery Group
ProductSeasonYear ProductSeasonYear Season Year
ProductSeason ProductSeason Season
ProductCollection ProductCollection Collection
ProductTheme ProductTheme Theme
NetPriceAmount NetPriceAmount Net Price
NetPriceQuantity NetPriceQuantity Price Unit
NetAmount NetAmount Stated Amount
DocumentCurrency DocumentCurrency Document Currency
_ProductText _ProductText
_ProductGroupText _ProductGroupText
_SalesOrgText _SalesOrgText
_DistrChnl _DistrChnl
_Divn _Divn
_SalesDist _SalesDist
_Plant _Plant
_CompanyCode _CompanyCode
_CustomerGroup _CustomerGroup
_SoldToParty _SoldToParty
_ShipToParty _ShipToParty
_BaseUnit _BaseUnit
_RqmtText _RqmtText
_DocCurrency _DocCurrency
_ARunABOPText _ARunABOPText

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_ARunCompareAssgmtQuery.
-- 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_ARunCompareAssgmtQuery AS
SELECT
  ATPCheckUUID,
  RequirementDocumentNumber,
  RequirementDocumentItem,
  RequirementType,
  AssignedQuantityInBaseUnit,
  NormalAssignedQuantityInBsUnt,
  PreviewAssignedQuantityInBsUnt,
  ABOPVariantUUID,
  _ARunABOPText.ABOPVariantName AS ABOPVariantName,
  StartedByUser,
  ATPCheckStatus,
  ABOPExecutionMode,
  Assgmt.Material AS Material,
  Assgmt.Plant AS Plant,
  RequirementSegment,
  BaseUnit,
  Assgmt.SalesOrganization AS SalesOrganization,
  Assgmt.DistributionChannel AS DistributionChannel,
  Assgmt.Division AS Division,
  Assgmt.SalesDistrict AS SalesDistrict,
  CustomerGroup,
  Assgmt.CompanyCode AS CompanyCode,
  Assgmt.MaterialGroup AS MaterialGroup,
  OrderType,
  OrderTypeName,
  SoldToParty,
  ShipToParty,
  CrossPlantConfigurableProduct,
  DeliveryGroup,
  ProductSeasonYear,
  ProductSeason,
  ProductCollection,
  ProductTheme,
  NetPriceAmount,
  NetPriceQuantity,
  NetAmount,
  DocumentCurrency
FROM I_ARunCompareAssgmtCube AS Assgmt
LEFT OUTER JOIN I_ProductText AS _ProductText ON Material = _ProductText.Product AND _ProductText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON MaterialGroup = _ProductGroupText.MaterialGroup AND _ProductGroupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrgText ON SalesOrganization = _SalesOrgText.SalesOrganization AND _SalesOrgText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannelText AS _DistrChnl ON DistributionChannel = _DistrChnl.DistributionChannel AND _DistrChnl.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_DivisionText AS _Divn ON Division = _Divn.Division AND _Divn.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SalesDistrictText AS _SalesDist ON SalesDistrict = _SalesDist.SalesDistrict AND _SalesDist.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CustomerGroupText AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup AND _CustomerGroup.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_SupDmndRqmtTypeText AS _RqmtText ON RequirementType = _RqmtText.RequirementType AND _RqmtText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ARunABOPText AS _ARunABOPText ON ATPCheckUUID = _ARunABOPText.ATPCheckUUID  -- association [0..1]
;