R_CNTRLRFQSRCGREQEXTDOCLINK

CDS View

Restricted View to displ CRFQ Sourc Req

R_CNTRLRFQSRCGREQEXTDOCLINK is a CDS View in S/4HANA. Restricted View to displ CRFQ Sourc Req. It contains 1 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_CntrlReqForQtnProcessFlow view inner CONSUMPTION CentralRequestForQuotation Process Flow

Fields (1)

KeyField CDS FieldsUsed in Views
KEY ExternalPurchasingDocumentID SubsequentDocument 1
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'ICRFQSRCREQLINK'
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Restricted View to displ CRFQ Sourc Req'
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API

@ObjectModel.usageType: {
  dataClass: #TRANSACTIONAL,
  serviceQuality: #A,
  sizeCategory: #L
}
define view R_CntrlRFQSrcgReqExtDocLink 
  as select from mmdoc_ext_links 
{
  key cast( case externaldocumentid
    when 'NO_SR_ID'  // failure

      then  concat( concat( concat( concat( externaldocumentid, '-' ), businessdocumentuniqueid), '-' ),  cast( sequencenumber as char12) )   
    else
            externaldocumentid 
  end as vdm_purchasingdocumentid ) as ExternalPurchasingDocumentID,
  businessdocumentuniqueid        as PurchasingDocumentUniqueID,
  externalsystemid                as PurgDocExternalSystem,
  sapbonodetype                   as SAPObjectNodeType,
  linktype                        as LinkType,
  sequencenumber                  as SourcingReqSequenceNumber,
  case externaldocumentid
    when 'NO_SR_ID'  // failure

      then cast( '02' as vdm_rfq_lfst_cd )   
    else
           cast( '01' as vdm_rfq_lfst_cd )
  end as RFQLifecycleStatus
} where sapbonodetype = 'CentralRequestForQuotation'