cds_atp_pac_tqa

DDL: CDS_ATP_PAC_TQA SQL: ATPPACTQA Type: view Package: ATP_PAC

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)

SourceAliasJoin 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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;