R_CntrlReqForQtanScheduleLine

DDL: R_CNTRLREQFORQTANSCHEDULELINE SQL: RCNTRLRFQSCHL Type: view BASIC Package: VDM_MM_PUR_CRFQ

Restricted View for Central RFQ Item Schedule Line

R_CntrlReqForQtanScheduleLine is a Basic CDS View that provides data about "Restricted View for Central RFQ Item Schedule Line" in SAP S/4HANA. It reads from 2 data sources (I_PurgDocScheduleLineBasic, R_CentralRequestForQuotation) and exposes 15 fields with key fields CentralRequestForQuotation, CentralRequestForQuotationItem, ScheduleLine. It has 2 associations to related views. Part of development package VDM_MM_PUR_CRFQ.

Data Sources (2)

SourceAliasJoin Type
I_PurgDocScheduleLineBasic I_PurgDocScheduleLineBasic from
R_CentralRequestForQuotation R_CentralRequestForQuotation inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_CentralRequestForQuotation _CentralRequestForQuotation $projection.CentralRequestForQuotation = _CentralRequestForQuotation.CentralRequestForQuotation
[1..1] R_CentralReqForQuotationItem _CentralReqForQuotationItem $projection.CentralRequestForQuotation = _CentralReqForQuotationItem.CentralRequestForQuotation and $projection.CentralRequestForQuotationItem = _CentralReqForQuotationItem.CentralRequestForQuotationItem

Annotations (13)

NameValueLevelField
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Restricted View for Central RFQ Item Schedule Line view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName RCNTRLRFQSCHL view
ObjectModel.representativeKey ScheduleLine view
ObjectModel.semanticKey CentralRequestForQuotation view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CentralRequestForQuotation
KEY CentralRequestForQuotationItem
KEY ScheduleLine ScheduleLine
DelivDateCategory DelivDateCategory
ScheduleLineDeliveryDate
SchedLineStscDeliveryDate SchedLineStscDeliveryDate
ScheduleLineDeliveryTime ScheduleLineDeliveryTime
ScheduleLineOrderQuantity ScheduleLineOrderQuantity
RoughGoodsReceiptQty RoughGoodsReceiptQty
PerformancePeriodStartDate
PerformancePeriodEndDate
OrderQuantityUnit I_PurgDocScheduleLineBasic OrderQuantityUnit
_CentralRequestForQuotation _CentralRequestForQuotation
_CentralReqForQuotationItem _CentralReqForQuotationItem
_DeliveryDateCategory _DeliveryDateCategory
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Restricted View for Central RFQ Item Schedule Line'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter:true
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API
@AccessControl.authorizationCheck: #CHECK

@AbapCatalog.sqlViewName: 'RCNTRLRFQSCHL'
@ObjectModel:{ representativeKey: 'ScheduleLine',
               semanticKey: 'CentralRequestForQuotation',
               usageType.dataClass: #TRANSACTIONAL,
               usageType.serviceQuality: #B,
               usageType.sizeCategory: #L }


define view R_CntrlReqForQtanScheduleLine
  as select from I_PurgDocScheduleLineBasic

    inner join   R_CentralRequestForQuotation on I_PurgDocScheduleLineBasic.PurchasingDocument = R_CentralRequestForQuotation.CentralRequestForQuotation

  association [1..1] to R_CentralRequestForQuotation as _CentralRequestForQuotation on  $projection.CentralRequestForQuotation = _CentralRequestForQuotation.CentralRequestForQuotation

  association [1..1] to R_CentralReqForQuotationItem as _CentralReqForQuotationItem on  $projection.CentralRequestForQuotation     = _CentralReqForQuotationItem.CentralRequestForQuotation
                                                                                    and $projection.CentralRequestForQuotationItem = _CentralReqForQuotationItem.CentralRequestForQuotationItem

{
      @ObjectModel: { readOnly: true,
                      foreignKey.association: '_CentralRequestForQuotation' }
  key cast (PurchasingDocument as vdm_requestforquotation preserving type )               as CentralRequestForQuotation,
      @ObjectModel: { readOnly: true,
                      foreignKey.association: '_CentralReqForQuotationItem' }
  key cast (PurchasingDocumentItem as vdm_requestforquotationitem preserving type )       as CentralRequestForQuotationItem,
      @ObjectModel: { readOnly: true }
  key ScheduleLine,

      DelivDateCategory,
      cast (ScheduleLineDeliveryDate as mm_a_delivery_date preserving type)               as ScheduleLineDeliveryDate,
      SchedLineStscDeliveryDate,
      ScheduleLineDeliveryTime,
      ScheduleLineOrderQuantity,
      RoughGoodsReceiptQty,
      cast (PerformancePeriodStartDate as vdm_performanceperiodstartdate preserving type) as PerformancePeriodStartDate,
      cast (PerformancePeriodEndDate as vdm_performanceperiodenddate preserving type)     as PerformancePeriodEndDate,
      I_PurgDocScheduleLineBasic.OrderQuantityUnit                                        as OrderQuantityUnit,

      /* Association */
      _CentralRequestForQuotation,
      _CentralReqForQuotationItem,
      _DeliveryDateCategory

}
where
  ScheduleLine = '0001'