C_WorkPermitPartnerTP
Work Permit Partner
C_WorkPermitPartnerTP is a Consumption CDS View that provides data about "Work Permit Partner" in SAP S/4HANA. It reads from 1 data source (R_WorkPermitPartnerTP) and exposes 17 fields with key fields MaintObjectInternalID, PartnerFunction, MaintenancePartnerObjectNumber.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_WorkPermitPartnerTP | R_WorkPermitPartnerTP | projection |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Work Permit Partner | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Partner | view | |
| UI.headerInfo.typeNamePlural | Partners | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.label | Partners | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintObjectInternalID | MaintObjectInternalID | ||
| KEY | PartnerFunction | PartnerFunction | ||
| KEY | MaintenancePartnerObjectNumber | MaintenancePartnerObjectNumber | ||
| PartnerFunctionName | PartnerFunctionName | Description | ||
| MaintenancePartner | MaintenancePartner | Partner Number | ||
| WorkPermit | WorkPermit | |||
| MaintObjectCategory | MaintObjectCategory | |||
| WorkPermitType | WorkPermitType | |||
| MaintenancePlanningPlant | MaintenancePlanningPlant | |||
| CustomerFullName | CustomerFullName | Partner Name | ||
| Country | Country | |||
| CreatedByUser | CreatedByUser | |||
| CreationDate | CreationDate | |||
| CreationTime | CreationTime | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangedDate | LastChangedDate | |||
| LastChangeTime | LastChangeTime |
@EndUserText.label: 'Work Permit Partner'
@Metadata.allowExtensions:true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #C,
sizeCategory: #M, dataClass: #TRANSACTIONAL}
@VDM.viewType: #CONSUMPTION
@UI: {
headerInfo: { typeName: 'Partner',
typeNamePlural: 'Partners',
title: { type: #STANDARD,label: 'Partners' }
} ,
presentationVariant: [{
groupBy: [ 'MaintenancePartner' ],visualizations: [{ type: #AS_LINEITEM }]
}]
}
define view entity C_WorkPermitPartnerTP
as projection on R_WorkPermitPartnerTP
{
@UI.hidden:true
key MaintObjectInternalID,
@UI:{ lineItem:[ {position:15} ] }
key PartnerFunction,
@UI.hidden:true
key MaintenancePartnerObjectNumber,
@UI:{ lineItem:[ {position:10, label: 'Description'} ] }
@EndUserText.label: 'Description'
PartnerFunctionName,
@UI.lineItem: [{ position: 20, label: 'Partner Number' }]
@EndUserText.label: 'Partner Number'
@Consumption.valueHelpDefinition: [{entity :{name:'C_PermitToWorkPartnerValueHelp',element: 'Partner'} ,
additionalBinding: [{element: 'MaintenancePlanningPlant', localElement: 'MaintenancePlanningPlant',usage: #FILTER},
{ element: 'PartnerFunction',localElement: 'PartnerFunction',usage: #FILTER_AND_RESULT},
{ localElement: 'CustomerFullName',
element: 'PartnerFullName', usage: #RESULT}
]
} ]
MaintenancePartner,
@UI.hidden: true
WorkPermit,
@UI.hidden: true
MaintObjectCategory,
@UI.hidden: true
WorkPermitType,
MaintenancePlanningPlant,
@UI.lineItem: [{ position: 25, label: 'Partner Name' }]
@EndUserText.label: 'Partner Name'
CustomerFullName,
@UI.hidden: true
Country,
@UI.hidden:true
CreatedByUser,
@UI.hidden:true
CreationDate,
@UI.hidden:true
CreationTime,
@UI.hidden: true
LastChangedByUser,
@UI.hidden: true
LastChangedDate,
@UI.hidden: true
LastChangeTime,
/* Associations */
_WorkPermit : redirected to parent C_WorkPermitTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_WORKPERMITPARTNERTP"
],
"ASSOCIATED":
[
"C_WORKPERMITTP",
"R_WORKPERMITTP"
],
"BASE":
[
"R_WORKPERMITPARTNERTP"
],
"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