P_RSHOperationsHasErrorVH

DDL: P_RSHOPERATIONSHASERRORVH SQL: PRSHHASERRORVH Type: view CONSUMPTION

Does the operation has error Value help

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.

Data Sources (1)

SourceAliasJoin Type
I_RSHGetDomainText I_RSHGetDomainText from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PRSHHASERRORVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Does the operation has error Value help view
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY HasError
HasErrorDescription
@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 or not
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***************************************************************************************************************
*/


define view P_RSHOperationsHasErrorVH
as select from I_RSHGetDomainText
{
    //Processing status key 

    @UI.hidden: true 
    key cast (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":""
}
}*/