I_ARunItmRsnCode

DDL: I_ARUNITMRSNCODE Type: view COMPOSITE

Basic View for Reason Code of ARun

I_ARunItmRsnCode is a Composite CDS View that provides data about "Basic View for Reason Code of ARun" in SAP S/4HANA. It reads from 5 data sources (P_ARunATPResultRequirement, I_PurgDocScheduleLine, P_ARunDmnd, I_ARunSimlnLog, I_SalesDocumentScheduleLine) and exposes 39 fields.

Data Sources (5)

SourceAliasJoin Type
P_ARunATPResultRequirement ABOP from
I_PurgDocScheduleLine EKET left_outer
P_ARunDmnd SDO left_outer
I_ARunSimlnLog SIMLOG left_outer
I_SalesDocumentScheduleLine VBEP left_outer

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Basic View for Reason Code of ARun view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName IARUNRSNCODE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (39)

KeyFieldSource TableSource FieldDescription
ATPCheckUUID P_ARunATPResultRequirement ATPCheckUUID Check ID
RequirementDocumentNumber ATPRelevantDocument MRP element number
RequirementDocumentItem ATPRelevantDocumentItem MRP elemnt item
RequirementType ATPRelevantDocumentCategory ATP: Category of Stock / Receipts / Issues
ABOPVariantUUID ABOPVariantUUID BOP Variant UUID
ABOPVariantName ABOPVariantName Variant Name
StartedByUser StartedByUser User Name
ATPCheckStartUTCDateTime ATPCheckStartUTCDateTime Start Timestamp
ATPCheckEndUTCDateTime ATPCheckEndUTCDateTime
ATPCheckStatus ATPCheckStatus
ABOPExecutionMode ABOPExecutionMode
ATPRlvtDocItmIsSupAssgmtRlvt ATPRlvtDocItmIsSupAssgmtRlvt
ABOPAssignmentPreviewIsActive ABOPAssignmentPreviewIsActive Assignment Preview
SupAssgmtItemStatus SupAssgmtItemStatus
Material P_ARunATPResultRequirement Material Vehicle Model
Plant P_ARunATPResultRequirement Plant Valuation Area
BaseUnit P_ARunATPResultRequirement BaseUnit Unit of Measure
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesDistrict SalesDistrict Sales District
CustomerGroup CustomerGroup Customer Group
CompanyCode CompanyCode Receiver Company Code
MaterialGroup MaterialGroup Product Group
ProductSeasonYear ProductSeasonYear Season Year
ProductSeason ProductSeason Season
ProductCollection ProductCollection Collection
ProductTheme ProductTheme Theme
NetAmount NetAmount Stated Amount
DocumentCurrency DocumentCurrency Document Currency
NetPriceAmount NetPriceAmount Net Price
NetPriceQuantity NetPriceQuantity Price Unit
RequirementSegment P_ARunDmnd RequirementSegment Req. Segment
OrderType OrderType Order Type
OrderTypeName OrderTypeName
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
CrossPlantConfigurableProduct CrossPlantConfigurableProduct Cross-plant CP
DeliveryGroup DeliveryGroup Delivery Group

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 I_ARunItmRsnCode.
-- 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 I_ARunItmRsnCode AS
SELECT
  ABOP.ATPCheckUUID AS ATPCheckUUID,
  ATPRelevantDocument AS RequirementDocumentNumber,
  ATPRelevantDocumentItem AS RequirementDocumentItem,
  ATPRelevantDocumentCategory AS RequirementType,
  ABOPVariantUUID,
  ABOPVariantName,
  StartedByUser,
  ATPCheckStartUTCDateTime,
  ATPCheckEndUTCDateTime,
  ATPCheckStatus,
  ABOPExecutionMode,
  ATPRlvtDocItmIsSupAssgmtRlvt,
  ABOPAssignmentPreviewIsActive,
  SupAssgmtItemStatus,
  ABOP.Material AS Material,
  ABOP.Plant AS Plant,
  ABOP.BaseUnit AS BaseUnit,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesDistrict,
  CustomerGroup,
  CompanyCode,
  MaterialGroup,
  ProductSeasonYear,
  ProductSeason,
  ProductCollection,
  ProductTheme,
  NetAmount,
  DocumentCurrency,
  NetPriceAmount,
  NetPriceQuantity,
  SDO.RequirementSegment AS RequirementSegment,
  OrderType,
  OrderTypeName,
  SoldToParty,
  ShipToParty,
  CrossPlantConfigurableProduct,
  DeliveryGroup
FROM P_ARunATPResultRequirement AS ABOP
LEFT OUTER JOIN I_ARunSimlnLog AS SIMLOG ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SalesDocumentScheduleLine AS VBEP ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PurgDocScheduleLine AS EKET ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ARunDmnd AS SDO ON /* join condition not captured in parsed metadata */
;