P_RU_ServiceContract
P_RU_ServiceContract is a Transactional CDS View in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 8 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentEnhcd | ServiceDocument | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AbapCatalog.sqlViewName | PRUSRVCNTRCT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | _SalesOrganization | CompanyCode | ||
| ServiceContract | ServiceDocument | |||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | |||
| ServiceContractDescription | ServiceDocumentDescription | |||
| ServiceContractStartDate | ServiceContractStartDate | |||
| ServiceContractEndDate | ServiceContractEndDate | |||
| SoldToParty | SoldToParty | |||
| ServiceContractCreatedByUser | ServiceDocumentCreatedByUser |
@VDM.private: true
@VDM.viewType: #TRANSACTIONAL
@AbapCatalog.sqlViewName: 'PRUSRVCNTRCT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_RU_ServiceContract
as select from I_ServiceDocumentEnhcd as ServiceDocument
{
_SalesOrganization.CompanyCode as CompanyCode,
ServiceDocument as ServiceContract,
PurchaseOrderByCustomer,
ServiceDocumentDescription as ServiceContractDescription,
ServiceContractStartDate,
ServiceContractEndDate,
SoldToParty,
ServiceDocumentCreatedByUser as ServiceContractCreatedByUser
}
where
ServiceDocument.ServiceObjectType = 'BUS2000112'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESORGANIZATION",
"I_SERVICEDOCUMENTENHCD"
],
"ASSOCIATED":
[],
"BASE":
[],
"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