C_CentralRequestForQuotationVH

DDL: C_CENTRALREQUESTFORQUOTATIONVH SQL: CCNTRLRFQVH Type: view CONSUMPTION

Central Request For Quotation Value Help

C_CentralRequestForQuotationVH is a Consumption CDS View that provides data about "Central Request For Quotation Value Help" in SAP S/4HANA. It reads from 1 data source (R_CentralRequestForQuotation) and exposes 11 fields with key field CentralRequestForQuotation. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_CentralRequestForQuotation R_CentralRequestForQuotation from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PurchasingDocumentTypeText _RFQTypeText _RFQTypeText.PurchasingDocumentType = $projection.RFQType and _RFQTypeText.PurchasingDocumentCategory = $projection.RFQCategory
[0..1] I_UserContactCard _UserContactCard _UserContactCard.ContactCardID = $projection.CreatedByUser

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CCNTRLRFQVH view
VDM.viewType #CONSUMPTION view
EndUserText.label Central Request For Quotation Value Help view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
ObjectModel.representativeKey CentralRequestForQuotation view
ObjectModel.semanticKey CentralRequestForQuotation view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CentralRequestForQuotation R_CentralRequestForQuotation CentralRequestForQuotation
RFQType R_CentralRequestForQuotation PurchasingDocumentType
RFQCategory R_CentralRequestForQuotation PurchasingDocumentCategory
RequestForQuotationName R_CentralRequestForQuotation RequestForQuotationName
CreatedByUser R_CentralRequestForQuotation CreatedByUser
FullName
PurchasingOrganization PurchasingOrganization
PurchasingGroup PurchasingGroup
PurchasingDocumentType PurchasingDocumentType
IsEndOfPurposeBlocked IsEndOfPurposeBlocked
_RFQTypeText _RFQTypeText
@AbapCatalog.sqlViewName: 'CCNTRLRFQVH'
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Central Request For Quotation Value Help'
@AbapCatalog.preserveKey:true

@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE

@Search.searchable: true
@ObjectModel.representativeKey: 'CentralRequestForQuotation'
@ObjectModel.semanticKey: 'CentralRequestForQuotation'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L

define view C_CentralRequestForQuotationVH 
 as select from R_CentralRequestForQuotation

  association [0..*] to I_PurchasingDocumentTypeText as _RFQTypeText     on  _RFQTypeText.PurchasingDocumentType     = $projection.RFQType
                                                                         and _RFQTypeText.PurchasingDocumentCategory = $projection.RFQCategory

  association [0..1] to I_UserContactCard            as _UserContactCard on  _UserContactCard.ContactCardID = $projection.CreatedByUser
{

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.9 }
      @ObjectModel.text.association: '_RFQTypeText'
  key R_CentralRequestForQuotation.CentralRequestForQuotation,

      R_CentralRequestForQuotation.PurchasingDocumentType     as RFQType,
      R_CentralRequestForQuotation.PurchasingDocumentCategory as RFQCategory,

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
      @Semantics.text: true
      R_CentralRequestForQuotation.RequestForQuotationName,

      @ObjectModel.text.element:  [ 'FullName' ]
      @UI.textArrangement: #TEXT_ONLY
      R_CentralRequestForQuotation.CreatedByUser,

      cast( _UserContactCard.FullName as vdm_full_name preserving type) as FullName,
      
      //DCL

      @UI.hidden: true
      PurchasingOrganization,
      @UI.hidden: true
      PurchasingGroup,
      @UI.hidden: true
      PurchasingDocumentType,
      @UI.hidden: true
      IsEndOfPurposeBlocked,

      _RFQTypeText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USERCONTACTCARD",
"R_CENTRALREQUESTFORQUOTATION"
],
"ASSOCIATED":
[
"I_PURCHASINGDOCUMENTTYPETEXT",
"I_USERCONTACTCARD"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/