R_CntrlSuplrQtanScheduleLine

DDL: R_CNTRLSUPLRQTANSCHEDULELINE SQL: RCNTRLQTNSCHDLN Type: view BASIC

Restricted View for Cntrl Suplr Qtan Item Schedule Line

R_CntrlSuplrQtanScheduleLine is a Basic CDS View that provides data about "Restricted View for Cntrl Suplr Qtan Item Schedule Line" in SAP S/4HANA. It reads from 1 data source (I_PurgDocScheduleLineBasic) and exposes 16 fields with key fields CentralSupplierQuotation, CentralSupplierQuotationItem, ScheduleLine. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurgDocScheduleLineBasic I_PurgDocScheduleLineBasic from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_CentralSupplierQuotation _CentralSupplierQuotation $projection.CentralSupplierQuotation = _CentralSupplierQuotation.CentralSupplierQuotation
[1..1] R_CntrlSupplierQuotationItem _CntrlSupplierQuotationItem $projection.CentralSupplierQuotation = _CntrlSupplierQuotationItem.CentralSupplierQuotation and $projection.CentralSupplierQuotationItem = _CntrlSupplierQuotationItem.CentralSupplierQuotationItem

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName RCNTRLQTNSCHDLN view
VDM.viewType #BASIC view
EndUserText.label Restricted View for Cntrl Suplr Qtan Item Schedule Line view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CentralSupplierQuotation PurchasingDocument
KEY CentralSupplierQuotationItem PurchasingDocumentItem
KEY ScheduleLine ScheduleLine
DelivDateCategory DelivDateCategory
ScheduleLineDeliveryDate
SchedLineStscDeliveryDate SchedLineStscDeliveryDate
ScheduleLineDeliveryTime ScheduleLineDeliveryTime
ScheduleLineOrderQuantity ScheduleLineOrderQuantity
RoughGoodsReceiptQty RoughGoodsReceiptQty
OrderQuantityUnit OrderQuantityUnit
AwardedQuantity
PerformancePeriodStartDate
PerformancePeriodEndDate
_CentralSupplierQuotation _CentralSupplierQuotation
_CntrlSupplierQuotationItem _CntrlSupplierQuotationItem
_DeliveryDateCategory _DeliveryDateCategory
@AbapCatalog.sqlViewName: 'RCNTRLQTNSCHDLN'
@VDM.viewType: #BASIC
@EndUserText.label: 'Restricted View for Cntrl Suplr Qtan Item Schedule Line'
@AbapCatalog.preserveKey:true

@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API

@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L

define view R_CntrlSuplrQtanScheduleLine
  as select from I_PurgDocScheduleLineBasic

  association [1..1] to R_CentralSupplierQuotation   as _CentralSupplierQuotation   on  $projection.CentralSupplierQuotation = _CentralSupplierQuotation.CentralSupplierQuotation

  association [1..1] to R_CntrlSupplierQuotationItem as _CntrlSupplierQuotationItem on  $projection.CentralSupplierQuotation     = _CntrlSupplierQuotationItem.CentralSupplierQuotation
                                                                                    and $projection.CentralSupplierQuotationItem = _CntrlSupplierQuotationItem.CentralSupplierQuotationItem
{

  key PurchasingDocument                                                                  as CentralSupplierQuotation,
  key PurchasingDocumentItem                                                              as CentralSupplierQuotationItem,
  key ScheduleLine,

      DelivDateCategory,
      cast( ScheduleLineDeliveryDate as mm_a_delivery_date preserving type)               as ScheduleLineDeliveryDate,
      SchedLineStscDeliveryDate,
      ScheduleLineDeliveryTime,
      ScheduleLineOrderQuantity,
      RoughGoodsReceiptQty,
      OrderQuantityUnit,
      cast (ScheduleLineCommittedQuantity as vdm_awarded_quantity preserving type)        as AwardedQuantity,
      cast (PerformancePeriodStartDate as vdm_performanceperiodstartdate preserving type) as PerformancePeriodStartDate,
      cast (PerformancePeriodEndDate as vdm_performanceperiodenddate preserving type)     as PerformancePeriodEndDate,

      //Associations

      _CentralSupplierQuotation,
      _CntrlSupplierQuotationItem,
      _DeliveryDateCategory
}
where
  ScheduleLine = '0001'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURGDOCSCHEDULELINEBASIC"
],
"ASSOCIATED":
[
"I_DELIVERYDATECATEGORY",
"R_CENTRALSUPPLIERQUOTATION",
"R_CNTRLSUPPLIERQUOTATIONITEM"
],
"BASE":
[
"I_PURGDOCSCHEDULELINEBASIC"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/