I_SourcingProjectQuotation

DDL: I_SOURCINGPROJECTQUOTATION SQL: ISRCGPROJQTN Type: view BASIC Package: VDM_MM_PUR_SRCGPROJQTN

Quotation for Sourcing Project

I_SourcingProjectQuotation is a Basic CDS View that provides data about "Quotation for Sourcing Project" in SAP S/4HANA. It reads from 1 data source (R_SourcingProjectQuotation) and exposes 44 fields with key field SourcingProjectQuotationUUID. It has 12 associations to related views. Part of development package VDM_MM_PUR_SRCGPROJQTN.

Data Sources (1)

SourceAliasJoin Type
R_SourcingProjectQuotation R_SourcingProjectQuotation from

Associations (12)

CardinalityTargetAliasCondition
[0..1] I_SourcingProject _SourcingProject $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID
[1..*] I_SrcgProjQtnItem _SrcgProjQtnItem $projection.SourcingProjectQuotationUUID = _SrcgProjQtnItem.SourcingProjectQuotationUUID
[0..1] I_Currency _SrcgProjQtnOfferCurrency $projection.SrcgProjQtnOfferCurrency = _SrcgProjQtnOfferCurrency.Currency
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[0..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[0..1] I_SrcgProjQtnLifecycleSts _SrcgProjQtnLifecycleSts $projection.SrcgProjQtnLifecycleStatus = _SrcgProjQtnLifecycleSts.SrcgProjQtnLifecycleStatus
[0..1] I_BusinessPartner _BusinessPartner $projection.Bidder = _BusinessPartner.BusinessPartner
[0..1] I_UserContactCard _CreatedByUser $projection.CreatedByUser = _CreatedByUser.ContactCardID
[0..1] I_UserContactCard _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.ContactCardID
[0..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[1..1] E_SourcingProjectQuotation _Extension $projection.SourcingProjectQuotationUUID = _Extension.SourcingProjectQuotationUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISRCGPROJQTN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SourcingProjectQuotationUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
EndUserText.label Quotation for Sourcing Project view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectQuotationUUID SourcingProjectQuotationUUID
SourcingProjectQuotation SourcingProjectQuotation
SrcgProjQuotationVersion SrcgProjQuotationVersion
SourcingProjectQuotationType SourcingProjectQuotationType
Bidder Bidder
CompanyCode CompanyCode
PurchasingGroup PurchasingGroup
PurchasingOrganization PurchasingOrganization
SrcgProjQtnOfferCurrency SrcgProjQtnOfferCurrency
SrcgProjQtnTotNetAmt SrcgProjQtnTotNetAmt
SrcgProjQtnLifecycleStatus SrcgProjQtnLifecycleStatus
SrcgProjQtnRevisionSts SrcgProjQtnRevisionSts
SrcgProjQtnActvtnSts SrcgProjQtnActvtnSts
SrcgProjQtnSubmsnSts SrcgProjQtnSubmsnSts
SrcgProjQtnAwardingStatus SrcgProjQtnAwardingStatus
SourcingProjectUUID SourcingProjectUUID
LastChangedByUser LastChangedByUser
CreatedByUser CreatedByUser
LastChangeDateTime LastChangeDateTime
CreationDateTime CreationDateTime
SrcgProjAttchsAreForbidden SrcgProjAttchsAreForbidden
SrcgProjNotesAreForbidden SrcgProjNotesAreForbidden
SourcingOrigin SourcingOrigin
ExternalSourcingProjectQtnRef ExternalSourcingProjectQtnRef
QtnLatestSubmissionDateTime QtnLatestSubmissionDateTime
LogicalSystem LogicalSystem
IsEndOfPurposeBlocked IsEndOfPurposeBlocked
CashDiscount1Days CashDiscount1Days
CashDiscount2Days CashDiscount2Days
CashDiscount1Percent CashDiscount1Percent
CashDiscount2Percent CashDiscount2Percent
NetPaymentDays NetPaymentDays
MaterialGroup MaterialGroup
_SourcingProject _SourcingProject
_SrcgProjQtnItem _SrcgProjQtnItem
_CompanyCode _CompanyCode
_PurchasingGroup _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization
_SrcgProjQtnOfferCurrency _SrcgProjQtnOfferCurrency
_SrcgProjQtnLifecycleSts _SrcgProjQtnLifecycleSts
_BusinessPartner _BusinessPartner
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_MaterialGroup _MaterialGroup
@AbapCatalog.sqlViewName: 'ISRCGPROJQTN'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #MANDATORY

@ObjectModel:{ representativeKey: 'SourcingProjectQuotationUUID',
               semanticKey: ['SourcingProjectQuotation'],
               usageType.dataClass: #TRANSACTIONAL,
               usageType.serviceQuality: #A,
               usageType.sizeCategory: #M }

@VDM.viewType: #BASIC

@EndUserText.label: 'Quotation for Sourcing Project'

define view I_SourcingProjectQuotation
  as select from R_SourcingProjectQuotation

  association [0..1] to I_SourcingProject          as _SourcingProject          on $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID

  association [1..*] to I_SrcgProjQtnItem          as _SrcgProjQtnItem          on $projection.SourcingProjectQuotationUUID = _SrcgProjQtnItem.SourcingProjectQuotationUUID

  //  association [1..*] to I_SrcgProjQtnSupplierContact as _SrcgProjQtnSupplierContact on $projection.SourcingProjectQuotationUUID = _SrcgProjQtnSupplierContact.SourcingProjectQuotationUUID


  //foreign key associations

  association [0..1] to I_Currency                 as _SrcgProjQtnOfferCurrency on $projection.SrcgProjQtnOfferCurrency = _SrcgProjQtnOfferCurrency.Currency
  association [0..1] to I_CompanyCode              as _CompanyCode              on $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_PurchasingGroup          as _PurchasingGroup          on $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
  association [0..1] to I_PurchasingOrganization   as _PurchasingOrganization   on $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
  association [0..1] to I_SrcgProjQtnLifecycleSts  as _SrcgProjQtnLifecycleSts  on $projection.SrcgProjQtnLifecycleStatus = _SrcgProjQtnLifecycleSts.SrcgProjQtnLifecycleStatus
  association [0..1] to I_BusinessPartner          as _BusinessPartner          on $projection.Bidder = _BusinessPartner.BusinessPartner
  //tbd

  //tbd

  association [0..1] to I_UserContactCard          as _CreatedByUser            on $projection.CreatedByUser = _CreatedByUser.ContactCardID
  association [0..1] to I_UserContactCard          as _ChangedByUser            on $projection.LastChangedByUser = _ChangedByUser.ContactCardID
  association [0..1] to I_MaterialGroup            as _MaterialGroup            on $projection.MaterialGroup = _MaterialGroup.MaterialGroup

  //Extension

  association [1..1] to E_SourcingProjectQuotation as _Extension                on $projection.SourcingProjectQuotationUUID = _Extension.SourcingProjectQuotationUUID

{
  key SourcingProjectQuotationUUID  as SourcingProjectQuotationUUID,
      SourcingProjectQuotation      as SourcingProjectQuotation,
      SrcgProjQuotationVersion      as SrcgProjQuotationVersion,
      SourcingProjectQuotationType  as SourcingProjectQuotationType,
      Bidder                        as Bidder,
      CompanyCode                   as CompanyCode,
      PurchasingGroup               as PurchasingGroup,
      PurchasingOrganization        as PurchasingOrganization,
      @Semantics.currencyCode: true
      SrcgProjQtnOfferCurrency      as SrcgProjQtnOfferCurrency,
      @Semantics.amount.currencyCode: 'SrcgProjQtnOfferCurrency'
      @DefaultAggregation: #NONE
      SrcgProjQtnTotNetAmt          as SrcgProjQtnTotNetAmt,

      SrcgProjQtnLifecycleStatus    as SrcgProjQtnLifecycleStatus,
      SrcgProjQtnRevisionSts        as SrcgProjQtnRevisionSts,
      SrcgProjQtnActvtnSts          as SrcgProjQtnActvtnSts,
      SrcgProjQtnSubmsnSts          as SrcgProjQtnSubmsnSts,
      SrcgProjQtnAwardingStatus     as SrcgProjQtnAwardingStatus,

      SourcingProjectUUID           as SourcingProjectUUID,

      @Semantics.user.lastChangedBy: true
      LastChangedByUser             as LastChangedByUser,
      @Semantics.user.createdBy: true
      CreatedByUser                 as CreatedByUser,

      @Semantics.systemDateTime.lastChangedAt: true
      LastChangeDateTime            as LastChangeDateTime,

      @Semantics.systemDateTime.createdAt: true
      CreationDateTime              as CreationDateTime,

      SrcgProjAttchsAreForbidden    as SrcgProjAttchsAreForbidden,
      SrcgProjNotesAreForbidden     as SrcgProjNotesAreForbidden,

      SourcingOrigin                as SourcingOrigin,
      ExternalSourcingProjectQtnRef as ExternalSourcingProjectQtnRef,
      QtnLatestSubmissionDateTime   as QtnLatestSubmissionDateTime,
      LogicalSystem                 as LogicalSystem,

      IsEndOfPurposeBlocked         as IsEndOfPurposeBlocked,
      CashDiscount1Days             as CashDiscount1Days,
      CashDiscount2Days             as CashDiscount2Days,
      CashDiscount1Percent          as CashDiscount1Percent,
      CashDiscount2Percent          as CashDiscount2Percent,
      NetPaymentDays                as NetPaymentDays,
      MaterialGroup                 as MaterialGroup,


      /* Associations */
      _SourcingProject,
      _SrcgProjQtnItem,
      //      _SrcgProjQtnSupplierContact,

      //foreign key associations

      _CompanyCode,
      _PurchasingGroup,
      _PurchasingOrganization,
      _SrcgProjQtnOfferCurrency,
      _SrcgProjQtnLifecycleSts,
      _BusinessPartner,
      //tbd

      _CreatedByUser,
      _ChangedByUser,
      _MaterialGroup

}