FINOC_MOCK_RT_SOI_FILL

DDL: FINOC_MOCK_RT_SOI_FILL SQL: FINOC_MOCKRTSOI Type: view

Orgl Change: Mock for FINOC_RT_SOI_FILL

FINOC_MOCK_RT_SOI_FILL is a CDS View that provides data about "Orgl Change: Mock for FINOC_RT_SOI_FILL" in SAP S/4HANA. It reads from 2 data sources (FINOC_RT_WBS_FILL, vbap) and exposes 13 fields with key fields SalesDocument, SalesDocumentItem, OrganizationalChange.

Data Sources (2)

SourceAliasJoin Type
FINOC_RT_WBS_FILL FINOC_RT_WBS_FILL from
vbap vbap inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName FINOC_MOCKRTSOI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Orgl Change: Mock for FINOC_RT_SOI_FILL view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument vbap vbeln
KEY SalesDocumentItem vbap posnr
KEY OrganizationalChange FINOC_RT_WBS_FILL OrganizationalChange
ControllingArea FINOC_RT_WBS_FILL ControllingArea
CompanyCode FINOC_RT_WBS_FILL CompanyCode
ProfitCenterBeforeOrglChange FINOC_RT_WBS_FILL ProfitCenterBeforeOrglChange
ProfitCenterByOrglChange FINOC_RT_WBS_FILL ProfitCenterByOrglChange
ProfitCenterDerivationSrceType
SourceWBSElementInternalID FINOC_RT_WBS_FILL WBSElementInternalID
SourceProjectInternalID
SourceOrder
SourceProduct
SourcePlant
@AbapCatalog.sqlViewName: 'FINOC_MOCKRTSOI'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Orgl Change: Mock for FINOC_RT_SOI_FILL'

// We have two more or less conflicting requirements:

//  1)  Keep complexity of FILL views out of component tests.

//  2)  Being able to test dependencies between RT tables.

// This view is intended as a replacement for FINOC_RT_SOI_FILL in component tests.


define view FINOC_MOCK_RT_SOI_FILL
  as select from FINOC_RT_WBS_FILL
    inner join   vbap on FINOC_RT_WBS_FILL.WBSElementInternalID = vbap.ps_psp_pnr
{
  key vbap.vbeln                                     as SalesDocument,
  key vbap.posnr                                     as SalesDocumentItem,
  key FINOC_RT_WBS_FILL.OrganizationalChange         as OrganizationalChange,
      FINOC_RT_WBS_FILL.ControllingArea              as ControllingArea,
      FINOC_RT_WBS_FILL.CompanyCode                  as CompanyCode,
      FINOC_RT_WBS_FILL.ProfitCenterBeforeOrglChange as ProfitCenterBeforeOrglChange,
      FINOC_RT_WBS_FILL.ProfitCenterByOrglChange     as ProfitCenterByOrglChange,
      'PR'                                           as ProfitCenterDerivationSrceType,
      FINOC_RT_WBS_FILL.WBSElementInternalID         as SourceWBSElementInternalID,
      '00000000'                                     as SourceProjectInternalID,
      '            '                                 as SourceOrder,
      '                                        '     as SourceProduct,
      '    '                                         as SourcePlant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FINOC_RT_WBS_FILL",
"VBAP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/