cds_atp_pac_tqa
CDS view on PAC TQA tables
cds_atp_pac_tqa is a CDS View that provides data about "CDS view on PAC TQA tables" in SAP S/4HANA. It reads from 4 data sources (atp_pac_tqa_doc, atp_pac_tqa_head, atp_pac_tqa, atp_pac_tqa2doc) and exposes 30 fields with key field ProdAvailyTmpQtyAssgmtUUID. Part of development package ATP_PAC.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| atp_pac_tqa_doc | doc | inner |
| atp_pac_tqa_head | head | inner |
| atp_pac_tqa | tqa | from |
| atp_pac_tqa2doc | tqa2doc | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATPPACTQA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | CDS view on PAC TQA tables | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProdAvailyTmpQtyAssgmtUUID | atp_pac_tqa | prodavailytmpqtyassgmtuuid | TQA UUID |
| ATPCheckUUID | atp_pac_tqa_head | atpcheckuuid | Check ID | |
| ATPRelevantDocumentCategory | atprelevantdocumentcategory | ATP: Category of Stock / Receipts / Issues | ||
| ATPRelevantDocument | atprelevantdocument | MRP element number | ||
| ATPRelevantDocumentItem | atprelevantdocumentitem | MRP elemnt item | ||
| ATPRelevantDocumentSubitem | atprelevantdocumentsubitem | Subitem | ||
| ATPRelevantDocScheduleLine | atprelevantdocscheduleline | Scheduling | ||
| Product | product | Product Sold | ||
| SupplyingPlant | supplyingplant | Supplying Plant | ||
| SupplyingMRPArea | supplyingmrparea | MRP Area | ||
| InventorySpecialStockType | inventoryspecialstocktype | Special Stock Type | ||
| SupplyingStorageLocation | supplyingstoragelocation | Location | ||
| Batch | batch | Lot No. | ||
| SegmentationValue | segmentationvalue | Seg. Value | ||
| AssgdATPRelevantDocCategory | assgdatprelevantdoccategory | ATP: Category of Stock / Receipts / Issues | ||
| AssignedATPRelevantDocument | assignedatprelevantdocument | Sales Order | ||
| AssgdATPRelevantDocumentItem | assgdatprelevantdocumentitem | Sales Ord. Item | ||
| AssignedWBSElementInternalID | assignedwbselementinternalid | WBS Element | ||
| AssignedSupplier | assignedsupplier | Subcontractor | ||
| AssignedCustomer | assignedcustomer | Customer | ||
| Supplier | supplier | Supplier | ||
| ProductAvailabilityUTCDateTime | productavailabilityutcdatetime | Confirmed MAD | ||
| ProductAvailabilityTimeZone | productavailabilitytimezone | Time Zone | ||
| RequestedQuantityInBaseUnit | requestedquantityinbaseunit | Requested Qty | ||
| ConfirmedQuantityInBaseUnit | confirmedquantityinbaseunit | Sum of Confirmed Quantities | ||
| BaseUnit | baseunit | Unit of Measure | ||
| CreationUTCDateTime | creationutcdatetime | Time Stamp | ||
| CreationTimeZone | creationtimezone | Time Zone | ||
| ExpirationUTCDateTime | atp_pac_tqa_head | expirationutcdatetime | Expiration Time | |
| ExpirationTimeZone | atp_pac_tqa_head | expirationtimezone | Time Zone |
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 cds_atp_pac_tqa.
-- 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.
-- SQL view name: ATPPACTQA
CREATE VIEW cds_atp_pac_tqa AS
SELECT
tqa.prodavailytmpqtyassgmtuuid AS ProdAvailyTmpQtyAssgmtUUID,
head.atpcheckuuid AS ATPCheckUUID,
ATPRelevantDocumentCategory,
ATPRelevantDocument,
ATPRelevantDocumentItem,
ATPRelevantDocumentSubitem,
ATPRelevantDocScheduleLine,
Product,
SupplyingPlant,
SupplyingMRPArea,
InventorySpecialStockType,
SupplyingStorageLocation,
Batch,
SegmentationValue,
AssgdATPRelevantDocCategory,
AssignedATPRelevantDocument,
AssgdATPRelevantDocumentItem,
AssignedWBSElementInternalID,
AssignedSupplier,
AssignedCustomer,
Supplier,
ProductAvailabilityUTCDateTime,
ProductAvailabilityTimeZone,
RequestedQuantityInBaseUnit,
ConfirmedQuantityInBaseUnit,
BaseUnit,
CreationUTCDateTime,
CreationTimeZone,
head.expirationutcdatetime AS ExpirationUTCDateTime,
head.expirationtimezone AS ExpirationTimeZone
FROM atp_pac_tqa AS tqa
INNER JOIN atp_pac_tqa2doc AS tqa2doc ON /* join condition not captured in parsed metadata */
INNER JOIN atp_pac_tqa_doc AS doc ON /* join condition not captured in parsed metadata */
INNER JOIN atp_pac_tqa_head AS head ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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