@EndUserText.label : 'Output Request Item for RAP'
@AccessControl: {
authorizationCheck: #PRIVILEGED_ONLY,
privilegedAssociations: [ '_OutputRequest',
'_OutputRequestItemEmail',
'_OutputRequestItemLog',
'_OutputRequestItemAttachment' ]
}
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #NONE,
usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
}
@ObjectModel: {
usageType.serviceQuality: #C,
usageType.sizeCategory: #XXL,
usageType.dataClass: #MIXED
}
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
define view entity C_OutputRequestItemStandard
as projection on R_OutputRequestItemTP
{
//R_OutputRequestItemTP
key OutputRequestItemUUID,
@ObjectModel.text.element: [ 'OCApplObjectTypeDescription' ]
OutputControlApplObjectType,
OutputControlApplicationObject,
OutputRequestItem,
OutputRequestUUID,
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy : 'ABAP:CL_APOC_ITM_STD_MIME_TYPE'
@Semantics.mimeType: true
_OutputReqBinaryDataStandard.MimeType,
//@Semantics.largeObject.fileName : 'OCApplObjectTypeDescription' -use standard label 'Open File' for now, alternatively 'Display Document' if easy to achieve-
@Semantics.largeObject.contentDispositionPreference: #INLINE
@Semantics.largeObject.mimeType : 'MimeType'
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy : 'ABAP:CL_APOC_ITM_STD_BIN_DATA'
@UI.hidden : #(OutputBinaryDataIsNotAvailable)
_OutputReqBinaryDataStandard.OutputBinaryData,
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy : 'ABAP:CL_APOC_ITM_STD_BIN_DATA_AVAIL'
_OutputReqBinaryDataStandard.OutputBinaryDataIsNotAvailable,
@ObjectModel.text.element: [ 'OutputRequestItemStatusDescr' ]
OutputRequestItemStatus,
@ObjectModel.text.element: [ 'OutputDocumentTypeDescription' ]
OutputDocumentType,
@ObjectModel.text.element: [ 'OutputChannelDescription' ]
OutputChannel,
IsChangeDocument,
@ObjectModel.text.element: [ 'DispatchTimeDescription' ]
DispatchTime,
OutputRequestItemRefUUID,
CreationDateTime,
CreatedByUser,
@Semantics.systemDateTime.lastChangedAt: true
LastChangeDateTime,
LastChangedByUser,
SenderOrganizationalCenter,
SenderOrganizationalCenterType,
cast ( SenderOrganizationalUnit as apoc_sender_org_unit_id preserving type ) as SenderOrganizationalUnit,
@ObjectModel.text.element: [ 'SenderOrglUnitTypeDesc' ]
cast ( SenderOrganizationalUnitType as apoc_sender_org_unit_type preserving type ) as SenderOrganizationalUnitType,
@ObjectModel.text.element: [ 'SenderCountryName' ]
cast ( SenderCountry as apoc_sender_sender_country preserving type ) as SenderCountry,
@Semantics.eMail.address: true
SenderEmailAddress,
// cast ( SenderEmailAddress as apoc_sender_email_address preserving type ) as SenderEmailAddress,
cast ( EmailTemplate as apoc_sender_email_template preserving type ) as EmailTemplate,
PrintQueue,
@ObjectModel: { virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_APOC_ITM_STD_VIRTUAL_FIELDS' }
virtual OutputItemStatusCriticality : apoc_criticality,
@ObjectModel: { virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_APOC_ITM_STD_VIRTUAL_FIELDS' }
@UI.hidden: true
virtual UICT_HideSenderEmail : boolean,
@ObjectModel: { virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_APOC_ITM_STD_VIRTUAL_FIELDS' }
@UI.hidden: true
virtual UICT_HidePrintQueue : boolean,
@ObjectModel: { virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_APOC_ITM_STD_VIRTUAL_FIELDS' }
@UI.hidden: true
virtual UICT_HideItemLog : boolean,
@ObjectModel: { virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_APOC_ITM_STD_VIRTUAL_FIELDS' }
virtual OutputItemFormTemplateLocale : apoc_form_template_locale,
PrintCopyNumber,
FormTemplate,
// FormTemplateType,
@Semantics.language: true
@ObjectModel.text.element: [ 'FormTemplateLanguageDesc' ]
FormTemplateLanguage,
@ObjectModel.text.element: [ 'FormTemplateCountryDescription' ]
FormTemplateCountry,
@UI.hidden: true
FormPDFIsUntagged,
@UI.hidden: true
@Semantics.text: true
_OutputRequestItemStatus._Text.OutputRequestItemStatusDescr as OutputRequestItemStatusDescr : localized,
@UI.hidden: true
@Semantics.text: true
_DispatchTime._Text.DispatchTimeDescription as DispatchTimeDescription : localized,
@UI.hidden: true
@Semantics.text: true
_OutputControlApplObjectType._Text.OCApplObjectTypeDescription as OCApplObjectTypeDescription : localized,
@UI.hidden: true
@Semantics.text: true
_OutputChannel._Text.OutputChannelDescription as OutputChannelDescription : localized,
@UI.hidden: true
@Semantics.text: true
_OutputDocumentType._Text.OutputDocumentTypeDescription as OutputDocumentTypeDescription : localized,
@UI.hidden: true
@Semantics.text: true
_OutputSenderOrgUnitType._Text.SenderOrglUnitTypeDesc as SenderOrglUnitTypeDesc : localized,
@UI.hidden: true
@Semantics.text: true
_SenderCountry._Text.CountryName as SenderCountryName : localized,
@UI.hidden: true
@Semantics.text: true
_FormTemplateCountry._Text.CountryName as FormTemplateCountryDescription : localized,
@UI.hidden: true
@Semantics.text: true
_FormTemplateLanguage._Text.LanguageName as FormTemplateLanguageDesc : localized,
/* Associations */
//R_OutputRequestItemTP
_DispatchTime,
_OutputChannel,
_OutputControlApplObjectType,
_OutputDocumentType,
_OutputRequest : redirected to parent C_OutputRequestStandard,
_OutputRequestItemEmail : redirected to composition child C_OutputRequestItemEmail,
_OutputRequestItemLog : redirected to composition child C_OutputRequestItemLog,
_OutputRequestItemAttachment : redirected to composition child C_OutputRequestItemAttachment,
_OutputRequestItemStatus
}
Depth:
1
2
3
4
5
All
Reload
C_OutputRequestItemStandard view_entity