P_RSHOperationsHasErrorVH is a Consumption CDS View that provides data about "Does the operation has error Value help" in SAP S/4HANA. It reads from 1 data source (I_RSHGetDomainText) and exposes 2 fields with key field HasError.
@AbapCatalog.sqlViewName: 'PRSHHASERRORVH'
@AbapCatalog.compiler.compareFilter: true@AccessControl.authorizationCheck: #NOT_REQUIRED@EndUserText.label: 'Does the operation has error Value help'
@VDM.private: true@VDM.viewType: #CONSUMPTION@ClientHandling.algorithm: #SESSION_VARIABLE@ObjectModel.usageType.sizeCategory: #S@ObjectModel.usageType.dataClass: #MASTER@ObjectModel.usageType.serviceQuality: #B/*
CONTRACT**********************************************************************************************************************
Specification: This view provides the values for haserror field
This field indicates if teh operation has any error/could be dispatched ornot
Requires: n/a
Ensures: that only the texts for does the operation has Error are returned in the session language
Owners: SY
Contributors: SY
Unit Test required Y/N: No
Additional comments None
END OF CONTRACT***************************************************************************************************************
*/defineview P_RSHOperationsHasErrorVH
asselectfrom I_RSHGetDomainText
{
//Processing status key@UI.hidden: truekeycast (I_RSHGetDomainText.DomainValue as rsh_eam_haserror ) as HasError,
//Processing Status text
cast(I_RSHGetDomainText.DomainText as rsh_eam_haserror_text preserving type ) as HasErrorDescription
}where I_RSHGetDomainText.DomainValueName = 'RSH_EAM_HASERROR'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_RSHGETDOMAINTEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/