A_VMSVehiclePurchaseOrder

DDL: A_VMSVEHICLEPURCHASEORDER SQL: AVMSPURORD Type: view COMPOSITE Package: ISAUTO_VLC_DB

Vehicle Purchase Order

A_VMSVehiclePurchaseOrder is a Composite CDS View that provides data about "Vehicle Purchase Order" in SAP S/4HANA. It reads from 2 data sources (I_SAPClient, I_VMSVehiclePurchaseOrder) and exposes 27 fields with key fields VMSVehicleUUID, VMSVehicleActionDateTime. It has 1 association to related views. It is exposed through 1 OData service (API_VMSVEHICLE). Part of development package ISAUTO_VLC_DB.

Data Sources (2)

SourceAliasJoin Type
I_SAPClient _SAPClient inner
I_VMSVehiclePurchaseOrder I_VMSVehiclePurchaseOrder from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_VMSVehiclePurchaseOrder _Extension $projection.VMSVehicleUUID = _Extension.VMSVehicleUUID and $projection.VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName AVMSPURORD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Vehicle Purchase Order view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
API_VMSVEHICLE API_VMSVEHICLE V2 C2 C1

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY VMSVehicleUUID VMSVehicleUUID Vehicle GUID
KEY VMSVehicleActionDateTime VMSVehicleActionDateTime Time Stamp
VMSVehicleActionDocType VMSVehicleActionDocType Action Document Type
PurchaseOrder PurchaseOrder Purchasing Document
PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
ConfigurationNumber ConfigurationNumber Int. object no.
VMSVehicleGdsReceiptIsComplete VMSVehicleGdsReceiptIsComplete GR for PO Complete
VMSVehicleInvcRcptIsComplete VMSVehicleInvcRcptIsComplete IR for PO Complete
CreatedByUserName CreatedByUserName Person Resp.
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName CompanyCodeName Company Name
Supplier Supplier Supplier
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingOrganizationName PurchasingOrganizationName Purch. Org. Name
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName PurchasingGroupName Purchasing Grp. Name
CostCenter CostCenter Cost Center
Plant Plant Valuation Area
PlantName PlantName Plant Name
PurchaseOrderDate PurchaseOrderDate PO Date
NetPriceAmount NetPriceAmount Net Price
DocumentCurrency DocumentCurrency Document Currency
PurchasingProcessingStatus PurchasingProcessingStatus Proc. State
PurchasingProcessingStatusName PurchasingProcessingStatusName Short Description
PurchaseOrderType PurchaseOrderType PO Type
_CostCenterText _CostCenterText
LogicalSystem I_SAPClient LogicalSystem Logical System

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 A_VMSVehiclePurchaseOrder.
-- 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: AVMSPURORD

CREATE VIEW A_VMSVehiclePurchaseOrder AS
SELECT
  VMSVehicleUUID,
  VMSVehicleActionDateTime,
  VMSVehicleActionDocType,
  PurchaseOrder,
  PurchaseOrderItem,
  ConfigurationNumber,
  VMSVehicleGdsReceiptIsComplete,
  VMSVehicleInvcRcptIsComplete,
  CreatedByUserName,
  CompanyCode,
  CompanyCodeName,
  Supplier,
  PurchasingOrganization,
  PurchasingOrganizationName,
  PurchasingGroup,
  PurchasingGroupName,
  CostCenter,
  Plant,
  PlantName,
  PurchaseOrderDate,
  NetPriceAmount,
  DocumentCurrency,
  PurchasingProcessingStatus,
  PurchasingProcessingStatusName,
  PurchaseOrderType,
  _SAPClient.LogicalSystem AS LogicalSystem
FROM I_VMSVehiclePurchaseOrder
INNER JOIN I_SAPClient AS _SAPClient ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_VMSVehiclePurchaseOrder AS _Extension ON VMSVehicleUUID = _Extension.VMSVehicleUUID AND VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime  -- association [1..1]
;