P_ABOPCheckRequirement
P_ABOPCheckRequirement is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ABOPSelectedBasicRqmt_2) and exposes 32 fields with key field ATPRequirementUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ABOPSelectedBasicRqmt_2 | P_ABOPSelectedBasicRqmt_2 | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_ABOPSupAssgmtRlvtRequirement | _SupAssgmtRlvtRequirement | $projection.ATPRequirementUUID = _SupAssgmtRlvtRequirement.ATPRequirementUUID |
| [0..*] | I_ATPConfAdjustmentStep | _ConfirmationAdjustmentStep | $projection.ATPRequirementUUID = _ConfirmationAdjustmentStep.ATPRequirementUUID |
| [1..1] | R_ATPSelectedBasicRequirement | _SelectedSummaryRequirement | $projection.ATPCheckUUID = _SelectedSummaryRequirement.ATPCheckUUID and $projection.ATPRelevantDocumentCategory = _SelectedSummaryRequirement.ATPRelevantDocumentCategory and $projection.ATPRelevantDocument = _SelectedSummaryRequirement.ATPRelevantDocument and $projection.ATPRelevantDocumentItem = _SelectedSummaryRequirement.ATPRelevantDocumentItem and $projection.ATPRelevantDocScheduleLine = _SelectedSummaryRequirement.ATPRelevantDocScheduleLine and _SelectedSummaryRequirement.ATPCheckIterationUUID is initial |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ATPRequirementUUID | ATPRequirementUUID | Requirement UUID | |
| ATPCheckIterationUUID | ATPCheckIterationUUID | Check Iteration UUID | ||
| ATPCheckUUID | ATPCheckUUID | Check ID | ||
| ChosenATPConfCompositionUUID | ChosenATPConfCompositionUUID | Conf. Composition | ||
| RqmtIsABOPRunItrtnRelevant | RqmtIsABOPRunItrtnRelevant | |||
| ATPRelevantDocument | ATPRelevantDocument | MRP element number | ||
| ATPRelevantDocumentItem | ATPRelevantDocumentItem | MRP elemnt item | ||
| ATPRelevantDocScheduleLine | ATPRelevantDocScheduleLine | Scheduling | ||
| ATPRelevantDocumentCategory | ATPRelevantDocumentCategory | ATP: Category of Stock / Receipts / Issues | ||
| Product | Product | Product Sold | ||
| Plant | SupplyingPlant | Supplying Plant | ||
| InventorySpecialStockType | ||||
| StorageLocation | SupplyingStorageLocation | Location | ||
| Batch | Batch | Lot No. | ||
| ATPCheckingRule | ||||
| ATPDocumentTransactionType | ||||
| AssgdABOPConfirmationStrategy | AssgdABOPConfirmationStrategy | Confirmation Strategy | ||
| MatchingABOPSegmentUUID | MatchingABOPSegmentUUID | BOP Segment UUID | ||
| ATPRqmtSelectionChangeType | ||||
| ATPRqmtProcessingSqncPosition | ATPRqmtProcessingSqncPosition | |||
| RequestedQuantityInBaseUnit | RequestedQuantityInBaseUnit | Requested Qty | ||
| RequestedQuantityInComBaseUnit | RequestedQuantityInComBaseUnit | |||
| ReqdProdAvailabilityUTCDateTme | ReqdProdAvailabilityUTCDateTme | Req. Mat. Avail. Dte | ||
| ReqdProdAvailabilityTimeZone | ReqdProdAvailabilityTimeZone | Time Zone | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| BaseToCommonBaseQtyNumerator | BaseToCommonBaseQtyNumerator | Numerator | ||
| BaseToCommonBaseQtyDenominator | BaseToCommonBaseQtyDenominator | Denominator | ||
| SupAssgmtItemStatus | ||||
| ATPProcessingExclusionReason | ATPProcessingExclusionReason | |||
| _SupplyingPlant | _SupplyingPlant | |||
| _SupplyingStorageLocation | _SupplyingStorageLocation | |||
| _BaseUnit | _BaseUnit |
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 P_ABOPCheckRequirement.
-- 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 P_ABOPCheckRequirement AS
SELECT
ATPRequirementUUID,
ATPCheckIterationUUID,
ATPCheckUUID,
ChosenATPConfCompositionUUID,
RqmtIsABOPRunItrtnRelevant,
ATPRelevantDocument,
ATPRelevantDocumentItem,
ATPRelevantDocScheduleLine,
ATPRelevantDocumentCategory,
Product,
SupplyingPlant AS Plant,
'' AS InventorySpecialStockType,
SupplyingStorageLocation AS StorageLocation,
Batch,
'A' AS ATPCheckingRule,
'V' AS ATPDocumentTransactionType,
AssgdABOPConfirmationStrategy,
MatchingABOPSegmentUUID,
_SelectionDetnEvaluation[1: ATPRqmtSelectionDetnStep = 'BOP_BADI'].ATPRqmtSelectionChangeType AS ATPRqmtSelectionChangeType,
ATPRqmtProcessingSqncPosition,
RequestedQuantityInBaseUnit,
RequestedQuantityInComBaseUnit,
ReqdProdAvailabilityUTCDateTme,
ReqdProdAvailabilityTimeZone,
BaseUnit,
BaseToCommonBaseQtyNumerator,
BaseToCommonBaseQtyDenominator,
coalesce(_SupAssgmtRlvtRequirement._SupAssgmtRequirement.ARunRequirementItemReasonCode, '') AS SupAssgmtItemStatus,
ATPProcessingExclusionReason
FROM P_ABOPSelectedBasicRqmt_2
LEFT OUTER JOIN P_ABOPSupAssgmtRlvtRequirement AS _SupAssgmtRlvtRequirement ON ATPRequirementUUID = _SupAssgmtRlvtRequirement.ATPRequirementUUID -- association [0..1]
LEFT OUTER JOIN I_ATPConfAdjustmentStep AS _ConfirmationAdjustmentStep ON ATPRequirementUUID = _ConfirmationAdjustmentStep.ATPRequirementUUID -- association [0..*]
LEFT OUTER JOIN R_ATPSelectedBasicRequirement AS _SelectedSummaryRequirement ON ATPCheckUUID = _SelectedSummaryRequirement.ATPCheckUUID AND ATPRelevantDocumentCategory = _SelectedSummaryRequirement.ATPRelevantDocumentCategory AND ATPRelevantDocument = _SelectedSummaryRequirement.ATPRelevantDocument AND ATPRelevantDocumentItem = _SelectedSummaryRequirement.ATPRelevantDocumentItem AND ATPRelevantDocScheduleLine = _SelectedSummaryRequirement.ATPRelevantDocScheduleLine AND _SelectedSummaryRequirement.ATPCheckIterationUUID is initial -- association [1..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