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.
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 |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | VMSVehicleUUID | VMSVehicleUUID | ||
| KEY | VMSVehicleActionDateTime | VMSVehicleActionDateTime | ||
| VMSVehicleActionDocType | VMSVehicleActionDocType | |||
| PurchaseOrder | PurchaseOrder | |||
| PurchaseOrderItem | PurchaseOrderItem | |||
| ConfigurationNumber | ConfigurationNumber | |||
| VMSVehicleGdsReceiptIsComplete | VMSVehicleGdsReceiptIsComplete | |||
| VMSVehicleInvcRcptIsComplete | VMSVehicleInvcRcptIsComplete | |||
| CreatedByUserName | CreatedByUserName | |||
| CompanyCode | CompanyCode | |||
| CompanyCodeName | CompanyCodeName | |||
| Supplier | Supplier | |||
| PurchasingOrganization | PurchasingOrganization | |||
| PurchasingOrganizationName | PurchasingOrganizationName | |||
| PurchasingGroup | PurchasingGroup | |||
| PurchasingGroupName | PurchasingGroupName | |||
| CostCenter | CostCenter | |||
| Plant | Plant | |||
| PlantName | PlantName | |||
| PurchaseOrderDate | PurchaseOrderDate | |||
| NetPriceAmount | NetPriceAmount | |||
| DocumentCurrency | DocumentCurrency | |||
| PurchasingProcessingStatus | PurchasingProcessingStatus | |||
| PurchasingProcessingStatusName | PurchasingProcessingStatusName | |||
| PurchaseOrderType | PurchaseOrderType | |||
| _CostCenterText | _CostCenterText | |||
| LogicalSystem | I_SAPClient | LogicalSystem |
@AbapCatalog.sqlViewName: 'AVMSPURORD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Vehicle Purchase Order'
@ObjectModel.usageType.serviceQuality : #C
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass : #TRANSACTIONAL
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations:true
define view A_VMSVehiclePurchaseOrder
as select from I_VMSVehiclePurchaseOrder
inner join I_SAPClient as _SAPClient on _SAPClient.sapclient = $session.client
association [1..1] to E_VMSVehiclePurchaseOrder as _Extension on $projection.VMSVehicleUUID = _Extension.VMSVehicleUUID
and $projection.VMSVehicleActionDateTime = _Extension.VMSVehicleActionDateTime
{
@ObjectModel.text.element: ['CompanyCodeName','PurchasingOrganizationName' , 'PurchasingGroupName' , 'PurchasingProcessingStatusName']
key VMSVehicleUUID,
key VMSVehicleActionDateTime,
VMSVehicleActionDocType,
PurchaseOrder,
PurchaseOrderItem,
ConfigurationNumber,
VMSVehicleGdsReceiptIsComplete,
VMSVehicleInvcRcptIsComplete,
CreatedByUserName,
CompanyCode,
@Semantics.text:true
CompanyCodeName,
Supplier,
PurchasingOrganization,
@Semantics.text:true
PurchasingOrganizationName,
PurchasingGroup,
@Semantics.text:true
PurchasingGroupName,
@ObjectModel.text.association: '_CostCenterText'
CostCenter,
Plant,
@Semantics.text:true
PlantName,
PurchaseOrderDate,
@Semantics.amount.currencyCode : 'DocumentCurrency'
NetPriceAmount,
@Semantics.currencyCode: true
DocumentCurrency,
PurchasingProcessingStatus,
@Semantics.text:true
PurchasingProcessingStatusName,
@Consumption.hidden: true
PurchaseOrderType,
@Consumption.hidden: true
_CostCenterText,
_SAPClient.LogicalSystem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SAPCLIENT",
"I_VMSVEHICLEPURCHASEORDER"
],
"ASSOCIATED":
[
"E_VMSVEHICLEPURCHASEORDER",
"I_COSTCENTERTEXT"
],
"BASE":
[
"I_VMSVEHICLEPURCHASEORDER"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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