R_CentralReqForQuotationItem

DDL: R_CENTRALREQFORQUOTATIONITEM SQL: RCNTRLRFQITEM Type: view BASIC

Restricted View for Central Request For Quotation Item

R_CentralReqForQuotationItem is a Basic CDS View that provides data about "Restricted View for Central Request For Quotation Item" in SAP S/4HANA. It reads from 1 data source (R_PurchasingDocumentItem) and exposes 47 fields with key fields CentralRequestForQuotation, CentralRequestForQuotationItem. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_PurchasingDocumentItem R_PurchasingDocumentItem from

Associations (8)

CardinalityTargetAliasCondition
[1..1] R_CentralRequestForQuotation _CentralRequestForQuotation $projection.CentralRequestForQuotation = _CentralRequestForQuotation.CentralRequestForQuotation
[0..1] I_PurchasingDocumentCategory _PurchasingDocumentCategory $projection.PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory
[0..1] I_IncotermsClassification _IncotermsClassification $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_UnitOfMeasure _OrderQuantityUnit $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure
[0..*] R_CntrlSupplierQuotationItem _CntrlSupplierQuotationItem $projection.CentralRequestForQuotation = _CntrlSupplierQuotationItem.CentralRequestForQuotation and $projection.CentralRequestForQuotationItem = _CntrlSupplierQuotationItem.CentralRequestForQuotationItem
[0..1] R_CntrlReqForQtanScheduleLine _CntrlReqForQtanScheduleLine $projection.CentralRequestForQuotation = _CntrlReqForQtanScheduleLine.CentralRequestForQuotation and $projection.CentralRequestForQuotationItem = _CntrlReqForQtanScheduleLine.CentralRequestForQuotationItem and _CntrlReqForQtanScheduleLine.ScheduleLine = '0001'
[0..*] R_CentralRFQItemDistribution _CentralRFQItemDistribution $projection.CentralRequestForQuotation = _CentralRFQItemDistribution.CentralRequestForQuotation and $projection.CentralRequestForQuotationItem = _CentralRFQItemDistribution.CentralRequestForQuotationItem

Annotations (14)

NameValueLevelField
VDM.viewType #BASIC view
EndUserText.label Restricted View for Central Request For Quotation Item view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName RCNTRLRFQITEM view
ObjectModel.representativeKey CentralRequestForQuotationItem view
ObjectModel.semanticKey CentralRequestForQuotationItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY CentralRequestForQuotation R_PurchasingDocumentItem PurchasingDocument
KEY CentralRequestForQuotationItem
PurchasingDocumentCategory R_PurchasingDocumentItem PurchasingDocumentCategory
PurchasingDocumentItemText R_PurchasingDocumentItem PurchasingDocumentItemText
ProductType ProductType
ProductTypeCode R_PurchasingDocumentItem ProductTypeCode
ManufacturerMaterial R_PurchasingDocumentItem ManufacturerMaterial
ManufacturerPartNmbr R_PurchasingDocumentItem ManufacturerPartNmbr
Manufacturer R_PurchasingDocumentItem Manufacturer
MaterialGroup R_PurchasingDocumentItem MaterialGroup
Plant R_PurchasingDocumentItem Plant
ManualDeliveryAddressID R_PurchasingDocumentItem ManualDeliveryAddressID
ReferenceDeliveryAddressID R_PurchasingDocumentItem ReferenceDeliveryAddressID
AddressID _Plant AddressID
IncotermsClassification R_PurchasingDocumentItem IncotermsClassification
IncotermsTransferLocation R_PurchasingDocumentItem IncotermsTransferLocation
IncotermsLocation1 R_PurchasingDocumentItem IncotermsLocation1
IncotermsLocation2 R_PurchasingDocumentItem IncotermsLocation2
OrderQuantityUnit R_PurchasingDocumentItem OrderQuantityUnit
OrderItemQtyToBaseQtyNmrtr R_PurchasingDocumentItem OrderItemQtyToBaseQtyNmrtr
OrderItemQtyToBaseQtyDnmntr R_PurchasingDocumentItem OrderItemQtyToBaseQtyDnmntr
OrderPriceUnitToOrderUnitNmrtr R_PurchasingDocumentItem OrderPriceUnitToOrderUnitNmrtr
OrdPriceUnitToOrderUnitDnmntr R_PurchasingDocumentItem OrdPriceUnitToOrderUnitDnmntr
BaseUnit R_PurchasingDocumentItem BaseUnit
PurchaseRequisition R_PurchasingDocumentItem PurchaseRequisition
PurchaseRequisitionItem R_PurchasingDocumentItem PurchaseRequisitionItem
RequirementTracking R_PurchasingDocumentItem RequirementTracking
PurchasingCentralMaterial R_PurchasingDocumentItem PurchasingCentralMaterial
PurchasingDocumentItemCategory R_PurchasingDocumentItem PurchasingDocumentItemCategory
NetPriceAmount R_PurchasingDocumentItem NetPriceAmount
_ProductType R_PurchasingDocumentItem _ProductType
DocumentCurrency DocumentCurrency
_CentralRFQItemDistribution _CentralRFQItemDistribution
_CentralRequestForQuotation _CentralRequestForQuotation
_IncotermsClassification _IncotermsClassification
_PurchasingDocumentCategory _PurchasingDocumentCategory
_ManufacturerMaterial _ManufacturerMaterial
_Manufacturer _Manufacturer
_MaterialGroup _MaterialGroup
_Plant _Plant
_ManualDeliveryAddress _ManualDeliveryAddress_2
_ReferenceDeliveryAddress _ReferenceDeliveryAddress_2
_BaseUnit _BaseUnit
_OrderQuantityUnit _OrderQuantityUnit
_CntrlSupplierQuotationItem _CntrlSupplierQuotationItem
_PurgDocumentItemCategory _PurgDocumentItemCategory
_CntrlReqForQtanScheduleLine _CntrlReqForQtanScheduleLine
@VDM.viewType: #BASIC
@EndUserText.label: 'Restricted View for Central Request For Quotation Item'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@VDM.lifecycle.contract.type:#SAP_INTERNAL_API

@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@AbapCatalog.sqlViewName: 'RCNTRLRFQITEM'

@ObjectModel:{ representativeKey: 'CentralRequestForQuotationItem',
               semanticKey: 'CentralRequestForQuotationItem',
               usageType.dataClass: #TRANSACTIONAL,
               usageType.serviceQuality: #A,
               usageType.sizeCategory: #M
             }


define view R_CentralReqForQuotationItem
  as select from R_PurchasingDocumentItem

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

  association [0..1] to I_PurchasingDocumentCategory  as _PurchasingDocumentCategory  on  $projection.PurchasingDocumentCategory = _PurchasingDocumentCategory.PurchasingDocumentCategory

  association [0..1] to I_IncotermsClassification     as _IncotermsClassification     on  $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification

  association [0..1] to I_Plant                       as _Plant                       on  $projection.Plant = _Plant.Plant

  association [0..1] to I_UnitOfMeasure               as _OrderQuantityUnit           on  $projection.OrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure

  association [0..*] to R_CntrlSupplierQuotationItem  as _CntrlSupplierQuotationItem  on  $projection.CentralRequestForQuotation     = _CntrlSupplierQuotationItem.CentralRequestForQuotation
                                                                                      and $projection.CentralRequestForQuotationItem = _CntrlSupplierQuotationItem.CentralRequestForQuotationItem
  association [0..1] to R_CntrlReqForQtanScheduleLine as _CntrlReqForQtanScheduleLine on  $projection.CentralRequestForQuotation     = _CntrlReqForQtanScheduleLine.CentralRequestForQuotation
                                                                                      and $projection.CentralRequestForQuotationItem = _CntrlReqForQtanScheduleLine.CentralRequestForQuotationItem
                                                                                      and _CntrlReqForQtanScheduleLine.ScheduleLine  = '0001'

  association [0..*] to R_CentralRFQItemDistribution  as _CentralRFQItemDistribution  on  $projection.CentralRequestForQuotation     = _CentralRFQItemDistribution.CentralRequestForQuotation
                                                                                      and $projection.CentralRequestForQuotationItem = _CentralRFQItemDistribution.CentralRequestForQuotationItem

{
      @ObjectModel: { readOnly: true,
                      foreignKey.association: '_CentralRequestForQuotation' }
  key R_PurchasingDocumentItem.PurchasingDocument                                                              as CentralRequestForQuotation,

      @ObjectModel: { readOnly: true }
  key cast (R_PurchasingDocumentItem.PurchasingDocumentItem as vdm_centralreqforquotationitem preserving type) as CentralRequestForQuotationItem,

      @ObjectModel: { readOnly: true,
                      foreignKey.association: '_PurchasingDocumentCategory' }
      R_PurchasingDocumentItem.PurchasingDocumentCategory,

      R_PurchasingDocumentItem.PurchasingDocumentItemText,

      @ObjectModel.foreignKey.association: '_ProductType'
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'ProductTypeCode'
      ProductType,

      R_PurchasingDocumentItem.ProductTypeCode                                                                 as ProductTypeCode,

      R_PurchasingDocumentItem.ManufacturerMaterial,

      R_PurchasingDocumentItem.ManufacturerPartNmbr,

      R_PurchasingDocumentItem.Manufacturer,

      R_PurchasingDocumentItem.MaterialGroup,

      @ObjectModel: { foreignKey.association: '_Plant' }
      R_PurchasingDocumentItem.Plant,

      R_PurchasingDocumentItem.ManualDeliveryAddressID,

      R_PurchasingDocumentItem.ReferenceDeliveryAddressID,
      _Plant.AddressID,
      case
       when ManualDeliveryAddressID = '' or ManualDeliveryAddressID is null then
         case
         when ReferenceDeliveryAddressID = '' or ReferenceDeliveryAddressID is null then
            _Plant.AddressID
          else ReferenceDeliveryAddressID
        end
      else ManualDeliveryAddressID
      end                                                                                                      as ItemDeliveryAddressID,
      @ObjectModel: { foreignKey.association: '_IncotermsClassification' }
      R_PurchasingDocumentItem.IncotermsClassification,

      R_PurchasingDocumentItem.IncotermsTransferLocation,
      R_PurchasingDocumentItem.IncotermsLocation1,
      R_PurchasingDocumentItem.IncotermsLocation2,

      @Semantics.unitOfMeasure: true
      @ObjectModel: { foreignKey.association: '_OrderQuantityUnit' }
      R_PurchasingDocumentItem.OrderQuantityUnit,

      R_PurchasingDocumentItem.OrderItemQtyToBaseQtyNmrtr,
      R_PurchasingDocumentItem.OrderItemQtyToBaseQtyDnmntr,

      R_PurchasingDocumentItem.OrderPriceUnitToOrderUnitNmrtr,
      R_PurchasingDocumentItem.OrdPriceUnitToOrderUnitDnmntr,

      @Semantics.unitOfMeasure: true
      R_PurchasingDocumentItem.BaseUnit,

      R_PurchasingDocumentItem.PurchaseRequisition,
      R_PurchasingDocumentItem.PurchaseRequisitionItem,
      R_PurchasingDocumentItem.RequirementTracking,
      R_PurchasingDocumentItem.PurchasingCentralMaterial,

      @ObjectModel: { readOnly: true }
      R_PurchasingDocumentItem.PurchasingDocumentItemCategory,

      R_PurchasingDocumentItem.NetPriceAmount,
      R_PurchasingDocumentItem._ProductType,

      @Semantics.currencyCode: true
      DocumentCurrency,

      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _CentralRFQItemDistribution,

      /*Associations*/
      _CentralRequestForQuotation,
      _IncotermsClassification,
      _PurchasingDocumentCategory,
      _ManufacturerMaterial,
      _Manufacturer,
      _MaterialGroup,
      _Plant,
      _ManualDeliveryAddress_2 as _ManualDeliveryAddress,
      _ReferenceDeliveryAddress_2 as _ReferenceDeliveryAddress,
      _BaseUnit,
      _OrderQuantityUnit,
      _CntrlSupplierQuotationItem,
      _PurgDocumentItemCategory,
      _CntrlReqForQtanScheduleLine
}
where
  R_PurchasingDocumentItem.PurchasingDocumentCategory = 'N'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PLANT",
"R_PURCHASINGDOCUMENTITEM"
],
"ASSOCIATED":
[
"I_ADDRESS_2",
"I_INCOTERMSCLASSIFICATION",
"I_MATERIAL",
"I_MATERIALGROUP",
"I_ORGANIZATIONADDRESS",
"I_PLANT",
"I_PRODUCTTYPECODE",
"I_PURCHASINGDOCUMENTCATEGORY",
"I_PURGDOCUMENTITEMCATEGORY",
"I_SUPPLIER",
"I_UNITOFMEASURE",
"R_CENTRALREQUESTFORQUOTATION",
"R_CENTRALRFQITEMDISTRIBUTION",
"R_CNTRLREQFORQTANSCHEDULELINE",
"R_CNTRLSUPPLIERQUOTATIONITEM"
],
"BASE":
[
"R_PURCHASINGDOCUMENTITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/