A_VMSVehiclePurchaseOrder
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | _SAPClient | inner |
| I_VMSVehiclePurchaseOrder | I_VMSVehiclePurchaseOrder | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_VMSVehiclePurchaseOrder | _Extension | $projection.VMSVehicleUUID = _Extension.VMSVehicleUUID and $projection.VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_VMSVEHICLE | API_VMSVEHICLE | V2 | C2 | C1 |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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