I_ARunItmRsnCode
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
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