I_ACMApplicationOverview

DDL: I_ACMAPPLICATIONOVERVIEW SQL: IAPPWRKCNTR Type: view TRANSACTIONAL

Interface Layer for ACM Application Overview

I_ACMApplicationOverview is a Transactional CDS View that provides data about "Interface Layer for ACM Application Overview" in SAP S/4HANA. It reads from 16 data sources and exposes 47 fields with key fields ApplicationDocument, ReferenceApplicationItem.

Data Sources (16)

SourceAliasJoin Type
I_ACMApplDocItem AppDocDetails inner
I_ACMApplDocHeader AppDocHeader inner
P_ApplicationDocSide_VH AppDocSideText left_outer
P_TradingContractBusinessDets Business left_outer
I_User ChangedByName left_outer
I_ContractHead ContrHeader left_outer
I_User CreatedByName left_outer
I_ACMApplDocTypeValueHelp DocTypeText inner
I_ACMApplDocLtstVers LatestAppVersion from
I_LoadDataCaptureHdr LDCHdrData inner
I_ACMLoadDataCaptureData LDCLoad left_outer
I_ACMLoadDataCaptureData LDCUnload left_outer
I_MaterialText MatDesc left_outer
P_SpotIndicatoreValueHelp SpotDesc left_outer
I_ACMSystemStatus status inner
I_ApplicationStatusValueHelp StatusText inner

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IAPPWRKCNTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Interface Layer for ACM Application Overview view
ObjectModel.supportedCapabilities #CDS_MODELING_DATA_SOURCE view

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY ApplicationDocument I_ACMApplDocHeader ApplicationDocument Appl. Document No.
KEY ReferenceApplicationItem I_ACMApplDocLtstVers ReferenceApplicationItem Task ID
ContractApplicationUUID I_ACMApplDocLtstVers ContractApplicationUUID GUID (Hex) Specified by the Application
ContractApplicationVersion I_ACMApplDocLtstVers ContractApplicationVersion Application Version
ReferenceDocumentType I_ACMApplDocHeader ReferenceDocumentType Reference Document Type
ApplicationDocTypeDescription I_ACMApplDocTypeValueHelp ApplicationDocTypeDescription
ReferenceApplicationSide I_ACMApplDocLtstVers ReferenceApplicationSide Side
ReferenceApplicationSubItem I_ACMApplDocLtstVers ReferenceApplicationSubItem SubItemNumber
ReferenceApplicationSideName P_ApplicationDocSide_VH DomainText Short Description
DocumentDate I_ACMApplDocHeader DocumentDate Journal Entry Date
DeliveryDate I_ACMApplDocLtstVers DeliveryDate Delivery Date
TradingContractNumber P_TradingContractBusinessDets TradingContractNumber Trading Contract
TradingContractItem P_TradingContractBusinessDets TradingContractItem Item Number
LoadDataCaptureObjId I_ACMApplDocItem LoadDataCaptureObjId LDC ID
ContractApplicationStatus I_ACMSystemStatus StatusProfileName Status of Time-Dependent Document Linkage
TrdgContrApplStsName I_ApplicationStatusValueHelp TrdgContrApplStsName Text
Counterparty I_ACMApplDocItem Counterparty Supplier
Material I_ACMApplDocItem Material Vehicle Model
MaterialName I_MaterialText MaterialName Material Description
OverfillID I_ACMApplDocLtstVers OverfillID Overfill ID
ApplicationHasCallOff I_ACMApplDocItem ApplicationHasCallOff Call-Off Exists
PredecessorDocumentNumber I_ACMApplDocItem PredecessorDocumentNumber Reference Doc 3
ACMPredecessorDocumentNumber I_ACMApplDocItem ACMPredecessorDocumentNumber
BillOfLadingendasBillOfLading
BillOfLadingDateendasBillOfLadingDate
TruckRailBargeIdendasTruckRailBargeId
IsApplicationItemInTransit
LDCIsMultipleBuySellRelevant I_ACMApplDocItem LDCIsMultipleBuySellRelevant Multiple Buy Sell
ACMApplDocIsBackToBack I_ACMApplDocItem ACMApplDocIsBackToBack Back-to-Back?
NominationNumber I_ACMApplDocItem NominationNumber Nomination key
ApplDocumentCreatedBy I_ACMApplDocLtstVers ApplDocumentCreatedBy Version Created By
ApplDocumentCreatedByName I_User UserDescription Full Name
ApplicationItemCreatedOnDate I_ACMApplDocLtstVers ApplicationItemCreatedOnDate
ApplDocumentChangedBy I_ACMApplDocLtstVers ApplDocumentCreatedBy Version Created By
ApplDocumentChangedByName I_User UserDescription Full Name
ApplicationItemChangedOnDate I_ACMApplDocLtstVers ApplicationItemChangedOnDate
TradingContractType I_ContractHead tctyp Contract Type
SalesOrganization I_ContractHead vkorg SD Sales Org.
DistributionChannel I_ContractHead vtweg RefDistCh-Cust/Mat.
Division I_ContractHead spart Source supplier
PurchasingOrganization P_TradingContractBusinessDets PurchasingOrganization Purchasing Organization
PurchasingGroup P_TradingContractBusinessDets PurchasingGroup Purchasing Group
TrdgContrItemApplicationQty I_ACMApplDocItem TrdgContrItemApplicationQty Appdoc Item Qty
UnitOfMeasure I_ACMApplDocItem UnitOfMeasure Unit Protected Qty
ACMApplOvwSpotFlag I_ACMApplDocItem ACMApplOvwSpotFlag Spot Scenario
ACMApplOvwSpotFlagDesc P_SpotIndicatoreValueHelp SpotIndicatorDesc Short Description
ApplicationIsVehicleContrRlvt I_LoadDataCaptureHdr ApplicationIsVehicleContrRlvt Vehicle Contract

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_ACMApplicationOverview.
-- 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: IAPPWRKCNTR

CREATE VIEW I_ACMApplicationOverview AS
SELECT
  AppDocHeader.ApplicationDocument AS ApplicationDocument,
  LatestAppVersion.ReferenceApplicationItem AS ReferenceApplicationItem,
  LatestAppVersion.ContractApplicationUUID AS ContractApplicationUUID,
  LatestAppVersion.ContractApplicationVersion AS ContractApplicationVersion,
  AppDocHeader.ReferenceDocumentType AS ReferenceDocumentType,
  DocTypeText.ApplicationDocTypeDescription AS ApplicationDocTypeDescription,
  LatestAppVersion.ReferenceApplicationSide AS ReferenceApplicationSide,
  LatestAppVersion.ReferenceApplicationSubItem AS ReferenceApplicationSubItem,
  AppDocSideText.DomainText AS ReferenceApplicationSideName,
  AppDocHeader.DocumentDate AS DocumentDate,
  LatestAppVersion.DeliveryDate AS DeliveryDate,
  Business.TradingContractNumber AS TradingContractNumber,
  Business.TradingContractItem AS TradingContractItem,
  AppDocDetails.LoadDataCaptureObjId AS LoadDataCaptureObjId,
  status.StatusProfileName AS ContractApplicationStatus,
  StatusText.TrdgContrApplStsName AS TrdgContrApplStsName,
  AppDocDetails.Counterparty AS Counterparty,
  AppDocDetails.Material AS Material,
  MatDesc.MaterialName AS MaterialName,
  LatestAppVersion.OverfillID AS OverfillID,
  AppDocDetails.ApplicationHasCallOff AS ApplicationHasCallOff,
  AppDocDetails.PredecessorDocumentNumber AS PredecessorDocumentNumber,
  AppDocDetails.ACMPredecessorDocumentNumber AS ACMPredecessorDocumentNumber,
  case when LDCUnload.LoadDataCaptureEventType = '02' then LDCUnload.BillOfLading when LDCLoad.LoadDataCaptureEventType = '01' then LDCLoad.BillOfLading end as BillOfLading AS BillOfLadingendasBillOfLading,
  case when LDCUnload.LoadDataCaptureEventType = '02' then LDCUnload.BillOfLadingDate when LDCLoad.LoadDataCaptureEventType = '01' then LDCLoad.BillOfLadingDate end as BillOfLadingDate AS BillOfLadingDateendasBillOfLadingDate,
  case when LDCUnload.LoadDataCaptureEventType = '02' then LDCUnload.TruckRailBargeId when LDCLoad.LoadDataCaptureEventType = '01' then LDCLoad.TruckRailBargeId end as TruckRailBargeId AS TruckRailBargeIdendasTruckRailBargeId,
  cast( LatestAppVersion.IsApplicationItemInTransit as boole_d ) AS IsApplicationItemInTransit,
  AppDocDetails.LDCIsMultipleBuySellRelevant AS LDCIsMultipleBuySellRelevant,
  AppDocDetails.ACMApplDocIsBackToBack AS ACMApplDocIsBackToBack,
  AppDocDetails.NominationNumber AS NominationNumber,
  LatestAppVersion.ApplDocumentCreatedBy AS ApplDocumentCreatedBy,
  CreatedByName.UserDescription AS ApplDocumentCreatedByName,
  LatestAppVersion.ApplicationItemCreatedOnDate AS ApplicationItemCreatedOnDate,
  LatestAppVersion.ApplDocumentCreatedBy AS ApplDocumentChangedBy,
  ChangedByName.UserDescription AS ApplDocumentChangedByName,
  LatestAppVersion.ApplicationItemChangedOnDate AS ApplicationItemChangedOnDate,
  ContrHeader.tctyp AS TradingContractType,
  ContrHeader.vkorg AS SalesOrganization,
  ContrHeader.vtweg AS DistributionChannel,
  ContrHeader.spart AS Division,
  Business.PurchasingOrganization AS PurchasingOrganization,
  Business.PurchasingGroup AS PurchasingGroup,
  AppDocDetails.TrdgContrItemApplicationQty AS TrdgContrItemApplicationQty,
  AppDocDetails.UnitOfMeasure AS UnitOfMeasure,
  AppDocDetails.ACMApplOvwSpotFlag AS ACMApplOvwSpotFlag,
  SpotDesc.SpotIndicatorDesc AS ACMApplOvwSpotFlagDesc,
  LDCHdrData.ApplicationIsVehicleContrRlvt AS ApplicationIsVehicleContrRlvt
FROM I_ACMApplDocLtstVers AS LatestAppVersion
INNER JOIN I_ACMApplDocHeader AS AppDocHeader ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMApplDocItem AS AppDocDetails ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMSystemStatus AS status ON /* join condition not captured in parsed metadata */
INNER JOIN I_ApplicationStatusValueHelp AS StatusText ON /* join condition not captured in parsed metadata */
INNER JOIN I_ACMApplDocTypeValueHelp AS DocTypeText ON /* join condition not captured in parsed metadata */
INNER JOIN I_LoadDataCaptureHdr AS LDCHdrData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ACMLoadDataCaptureData AS LDCUnload ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ACMLoadDataCaptureData AS LDCLoad ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ApplicationDocSide_VH AS AppDocSideText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS MatDesc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ContractHead AS ContrHeader ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_TradingContractBusinessDets AS Business ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_User AS CreatedByName ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_User AS ChangedByName ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SpotIndicatoreValueHelp AS SpotDesc ON /* join condition not captured in parsed metadata */
;