I_BusSolnQtanExtReference

DDL: I_BUSSOLNQTANEXTREFERENCE Type: view BASIC

Solution Quotation External Reference

I_BusSolnQtanExtReference is a Basic CDS View that provides data about "Solution Quotation External Reference" in SAP S/4HANA. It reads from 1 data source (crms4d_ext_ref) and exposes 1 field with key field BusinessSolutionQuotation.

Data Sources (1)

SourceAliasJoin Type
crms4d_ext_ref crms4d_ext_ref from

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Solution Quotation External Reference view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IBSQEXTREF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY BusinessSolutionQuotation object_id
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Solution Quotation External Reference'
@VDM: {
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
  sqlViewName: 'IBSQEXTREF',
  compiler.compareFilter: true,
  preserveKey: true
}
@ObjectModel: {
//   representativeKey: 'ServiceDocument',

   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   }
}

@Metadata.ignorePropagatedAnnotations: true

define view I_BusSolnQtanExtReference
  as select from crms4d_ext_ref
{
  key object_id                                          as  BusinessSolutionQuotation,
      case
        when reference_type = '0005'  then reference_number
        else ''
      end                                                as  BusSolnQtanExtReference,

      case
        when reference_type = '0007'  then reference_number
        else ''
      end                                                as  BusSolnPrtfloReference,
      
      //added for 2023 op  

      case
        when reference_type = '0021' then reference_number
        else ''
      end                                                as  LegalContractExtReference
      
}
where
       objtype_h      = 'BUS2000116' // Service Process

  and  number_int     = '000000' // Header

  and(
       reference_type = '0005' // Solution Quotation External Reference

    or reference_type = '0007' // BSP External Reference

    //added for 2023 op 

    or reference_type = '0021' // Legal Contract External Reference

  ) 
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CRMS4D_EXT_REF"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/