C_OutputRequestItemStandard

DDL: C_OUTPUTREQUESTITEMSTANDARD Type: view_entity CONSUMPTION

Output Request Item for RAP

C_OutputRequestItemStandard is a Consumption CDS View that provides data about "Output Request Item for RAP" in SAP S/4HANA. It reads from 1 data source (R_OutputRequestItemTP) and exposes 40 fields with key field OutputRequestItemUUID. It is exposed through 2 OData services (NJIT_UI_JITCOMPONENTPROCG, UI_REOUTPUTREQUEST).

Data Sources (1)

SourceAliasJoin Type
R_OutputRequestItemTP R_OutputRequestItemTP projection

Annotations (9)

NameValueLevelField
EndUserText.label Output Request Item for RAP view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #NONE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

OData Services (2)

ServiceBindingVersionContractRelease
NJIT_UI_JITCOMPONENTPROCG NJIT_UI_JITCOMPONENTPROCG V4 C1 NOT_RELEASED
UI_REOUTPUTREQUEST UI_REOUTPUTREQUEST V4 C1 NOT_RELEASED

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY OutputRequestItemUUID OutputRequestItemUUID
OutputControlApplObjectType OutputControlApplObjectType
OutputControlApplicationObject OutputControlApplicationObject
OutputRequestItem OutputRequestItem
OutputRequestUUID OutputRequestUUID
MimeType _OutputReqBinaryDataStandard MimeType
OutputBinaryData _OutputReqBinaryDataStandard OutputBinaryData
OutputBinaryDataIsNotAvailable _OutputReqBinaryDataStandard OutputBinaryDataIsNotAvailable
OutputRequestItemStatus OutputRequestItemStatus
OutputDocumentType OutputDocumentType
OutputChannel OutputChannel
IsChangeDocument IsChangeDocument
DispatchTime DispatchTime
OutputRequestItemRefUUID OutputRequestItemRefUUID
CreationDateTime CreationDateTime
CreatedByUser CreatedByUser
LastChangeDateTime LastChangeDateTime
LastChangedByUser LastChangedByUser
SenderOrganizationalCenter SenderOrganizationalCenter
SenderOrganizationalCenterType SenderOrganizationalCenterType
SenderOrganizationalUnit
SenderOrganizationalUnitType
SenderCountry
SenderEmailAddress SenderEmailAddress
EmailTemplate
PrintQueue PrintQueue
virtualUICT_HideSenderEmailboolean
virtualUICT_HidePrintQueueboolean
virtualUICT_HideItemLogboolean
PrintCopyNumber PrintCopyNumber
FormTemplate FormTemplate
FormTemplateLanguage FormTemplateLanguage
FormTemplateCountry FormTemplateCountry
FormPDFIsUntagged FormPDFIsUntagged
CountryNameasSenderCountryNamelocalized
_DispatchTime _DispatchTime
_OutputChannel _OutputChannel
_OutputControlApplObjectType _OutputControlApplObjectType
_OutputDocumentType _OutputDocumentType
_OutputRequestItemStatus _OutputRequestItemStatus
@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

 }