R_CFinAAPurchasingValidItemTP

DDL: R_CFINAAPURCHASINGVALIDITEMTP Type: view_entity TRANSACTIONAL

CFinAA Purchasing Valid Item -TP

R_CFinAAPurchasingValidItemTP is a Transactional CDS View that provides data about "CFinAA Purchasing Valid Item -TP" in SAP S/4HANA. It reads from 1 data source (I_CFinAAPurchasingValidItem) and exposes 27 fields with key field CFinAAPurchasingValidItemUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CFinAAPurchasingValidItem I_CFinAAPurchasingValidItem from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_CFinRpldPurchasingDocItem _PurchasingDocItem $projection.SenderLogicalSystem = _PurchasingDocItem.SenderLogicalSystem and $projection.CFinRpldPurchasingDocument = _PurchasingDocItem.CFinRpldPurchasingDocument and $projection.CFinRpldPurchasingDocumentItem = _PurchasingDocItem.CFinRpldPurchasingDocumentItem
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_ProductGroupText_2 _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.ProductGroup and _MaterialGroupText.Language = $session.system_language
[0..1] I_AccAssgnmtCategory _AccAssgmtCategory $projection.AccountAssignmentCategory = _AccAssgmtCategory.AccountAssignmentCategory
[0..1] I_LogicalSystem _LogicalSystem $projection.SenderLogicalSystem = _LogicalSystem.LogicalSystem
[0..1] R_CFinAAPurgManagedAssetTP _Asset

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label CFinAA Purchasing Valid Item -TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.sapObjectNodeType.name CFinAAPurchasingItem view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY CFinAAPurchasingValidItemUUID CFinAAPurchasingValidItemUUID
CFinAAManagedAssetUUID CFinAAManagedAssetUUID
SenderLogicalSystem SenderLogicalSystem
CFinRpldPurchasingDocument CFinRpldPurchasingDocument
CFinRpldPurchasingDocumentItem CFinRpldPurchasingDocumentItem
CompanyCode CompanyCode
MaterialGroup MaterialGroup
AccountAssignmentCategory AccountAssignmentCategory
CFinAAPurchasingItemStatus CFinAAPurchasingItemStatus
CFinAAAssetCompanyCode CFinAAAssetCompanyCode
MasterFixedAsset MasterFixedAsset
FixedAsset FixedAsset
FixedAssetExternalID FixedAssetExternalID
AssetClass AssetClass
FixedAssetDescription FixedAssetDescription
CFinAAManagedAssetCreationType CFinAAManagedAssetCreationType
CFinAAPurgConfignIsConsistent CFinAAPurgConfignIsConsistent
LastChangedByUser LastChangedByUser
LastChangedAtDateTime LastChangedAtDateTime
LocalLastChangedAtDateTime LocalLastChangedAtDateTime
_Asset _Asset
_PurchasingDocItem _PurchasingDocItem
_PurchasingActivation _PurchasingActivation
_CompanyCode _CompanyCode
_MaterialGroupText _MaterialGroupText
_AccAssgmtCategory _AccAssgmtCategory
_LogicalSystem _LogicalSystem
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'CFinAA Purchasing Valid Item -TP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #L,
  dataClass: #TRANSACTIONAL
}
@VDM: { usage.type: [ #TRANSACTIONAL_PROCESSING_SERVICE ],
        viewType:  #TRANSACTIONAL,
        lifecycle: { contract: { type: #SAP_INTERNAL_API } } }
@ObjectModel.sapObjectNodeType.name: 'CFinAAPurchasingItem'
define root view entity R_CFinAAPurchasingValidItemTP
  as select from I_CFinAAPurchasingValidItem
  composition [0..1] of R_CFinAAPurgManagedAssetTP  as _Asset
  association [1..1] to I_CFinRpldPurchasingDocItem as _PurchasingDocItem on  $projection.SenderLogicalSystem            = _PurchasingDocItem.SenderLogicalSystem
                                                                          and $projection.CFinRpldPurchasingDocument     = _PurchasingDocItem.CFinRpldPurchasingDocument
                                                                          and $projection.CFinRpldPurchasingDocumentItem = _PurchasingDocItem.CFinRpldPurchasingDocumentItem
  association [0..1] to I_CompanyCode               as _CompanyCode       on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_ProductGroupText_2        as _MaterialGroupText on  $projection.MaterialGroup   = _MaterialGroupText.ProductGroup
                                                                          and _MaterialGroupText.Language = $session.system_language
  association [0..1] to I_AccAssgnmtCategory        as _AccAssgmtCategory on  $projection.AccountAssignmentCategory = _AccAssgmtCategory.AccountAssignmentCategory
  association [0..1] to I_LogicalSystem             as _LogicalSystem     on  $projection.SenderLogicalSystem = _LogicalSystem.LogicalSystem
{
  key CFinAAPurchasingValidItemUUID,
      CFinAAManagedAssetUUID,
      SenderLogicalSystem,
      CFinRpldPurchasingDocument,
      CFinRpldPurchasingDocumentItem,
      cast(concat(concat( ltrim(CFinRpldPurchasingDocument, '0') , '-'), ltrim(CFinRpldPurchasingDocumentItem, '0' ))
        as fins_cfin_caa_pur_itm_number preserving type ) as CFinAAPurchasingLineItem,
      CompanyCode,
      MaterialGroup,
      AccountAssignmentCategory,
      CFinAAPurchasingItemStatus,
      CFinAAAssetCompanyCode,
      MasterFixedAsset,
      FixedAsset,
      FixedAssetExternalID,
      AssetClass,
      FixedAssetDescription,
      CFinAAManagedAssetCreationType,
      CFinAAPurgConfignIsConsistent,
      case CFinAAPurgConfignIsConsistent when ' ' then 1
      else 3
      end                                                 as CFinAAPurgConfignCriticality,
      @Semantics.user.lastChangedBy: true
      LastChangedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      LastChangedAtDateTime,
      @Semantics.systemDateTime.localInstanceLastChangedAt: true
      LocalLastChangedAtDateTime,
      _Asset,
      _PurchasingDocItem,
      _PurchasingActivation,
      _CompanyCode,
      _MaterialGroupText,
      _AccAssgmtCategory,
      _LogicalSystem
}