P_LogisticallyAdjustedApplQty

DDL: P_LOGISTICALLYADJUSTEDAPPLQTY SQL: PLAQAPPLQTY Type: view BASIC

P_LogisticallyAdjustedApplQty is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (wb2_d_assgmt, /accgo/t_cakasgt) and exposes 7 fields with key fields ContractNum, ContractItem.

Data Sources (2)

SourceAliasJoin Type
wb2_d_assgmt Assignment from
/accgo/t_cakasgt ContractAssignment inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PLAQAPPLQTY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #BASIC view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ContractNum wb2_d_assgmt tkonn Trading Contract
KEY ContractItem wb2_d_assgmt tposn Item Number
ApplicationDocumentNumber wb2_d_assgmt document_from DocNum
ApplicationDocumentItem wb2_d_assgmt item_from Item Number
ApplicationDocType wb2_d_assgmt type_from Document Type
AssignmentQuantity /accgo/t_cakasgt assgd_qty_dec Assigned Qty
AssignmentQuantityUoM /accgo/t_cakasgt assgd_uom Assigned UoM

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_LogisticallyAdjustedApplQty.
-- 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: PLAQAPPLQTY

CREATE VIEW P_LogisticallyAdjustedApplQty AS
SELECT
  Assignment.tkonn AS ContractNum,
  Assignment.tposn AS ContractItem,
  Assignment.document_from AS ApplicationDocumentNumber,
  Assignment.item_from AS ApplicationDocumentItem,
  Assignment.type_from AS ApplicationDocType,
  ContractAssignment.assgd_qty_dec AS AssignmentQuantity,
  ContractAssignment.assgd_uom AS AssignmentQuantityUoM
FROM wb2_d_assgmt AS Assignment
INNER JOIN /accgo/t_cakasgt AS ContractAssignment ON /* join condition not captured in parsed metadata */
;