I_JVAFsclYearPerdCoCodeForITD

DDL: I_JVAFSCLYEARPERDCOCODEFORITD SQL: IJVFYPERDCOITD Type: view COMPOSITE Package: GJVA_UI_BACKEND

JVA Fiscal Year Period For Company Code

I_JVAFsclYearPerdCoCodeForITD is a Composite CDS View that provides data about "JVA Fiscal Year Period For Company Code" in SAP S/4HANA. It reads from 5 data sources (I_CompanyCode, I_JVAGlobalCompanyParameter, I_JVALedger, I_JntVntrEquityGrp, I_FiscalYearPeriod) and exposes 23 fields with key fields Ledger, CompanyCode, CurrentFiscalYear, CurrentFiscalPeriod, JointVenture. It has 2 associations to related views. Part of development package GJVA_UI_BACKEND.

Data Sources (5)

SourceAliasJoin Type
I_CompanyCode CompanyCode inner
I_JVAGlobalCompanyParameter I_JVAGlobalCompanyParameter inner
I_JVALedger Ledger inner
I_JntVntrEquityGrp VntEquGroup inner
I_FiscalYearPeriod YearPeriod from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode _CompanyCode.CompanyCode = $projection.CompanyCode
[0..1] I_FiscalYearForCompanyCode _FiscalYearCompCode _FiscalYearCompCode.FiscalYear = $projection.CurrentFiscalYear and _FiscalYearCompCode.CompanyCode = $projection.CompanyCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IJVFYPERDCOITD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label JVA Fiscal Year Period For Company Code view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Ledger I_JVALedger Ledger
KEY CompanyCode I_CompanyCode CompanyCode
KEY CurrentFiscalYear I_FiscalYearPeriod FiscalYear
KEY CurrentFiscalPeriod I_FiscalYearPeriod FiscalPeriod
KEY JointVenture I_JntVntrEquityGrp JointVenture
KEY JntOpgAgrmtEquityGrp I_JntVntrEquityGrp JntOpgAgrmtEquityGrp
PreviousFiscalYear I_FiscalYearPeriod FiscalYear
PreviousFiscalPeriod I_FiscalYearPeriod FiscalPeriod
FiscalYearVariant I_FiscalYearPeriod FiscalYearVariant
FiscalPeriodStartDate I_FiscalYearPeriod FiscalPeriodStartDate
FiscalPeriodEndDate I_FiscalYearPeriod FiscalPeriodEndDate
IsSpecialPeriod I_FiscalYearPeriod IsSpecialPeriod
FiscalYearStartDate I_FiscalYearPeriod FiscalYearStartDate
FiscalYearEndDate I_FiscalYearPeriod FiscalYearEndDate
NextFiscalPeriod I_FiscalYearPeriod NextFiscalPeriod
NextFiscalPeriodFiscalYear I_FiscalYearPeriod NextFiscalPeriodFiscalYear
FiscalYearPeriod I_FiscalYearPeriod FiscalYearPeriod
_FiscalPeriodStartDate I_FiscalYearPeriod _FiscalPeriodStartDate
_FiscalYear I_FiscalYearPeriod _FiscalYear
_FiscalYearVariant I_FiscalYearPeriod _FiscalYearVariant
_Text I_FiscalYearPeriod _Text
_CompanyCode _CompanyCode
_FiscalYearCompCode _FiscalYearCompCode
@AbapCatalog.sqlViewName: 'IJVFYPERDCOITD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'JVA Fiscal Year Period For Company Code'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType: { serviceQuality: #X,
                          sizeCategory: #XXL,
                          dataClass: #MIXED }

define view I_JVAFsclYearPerdCoCodeForITD

  as select from I_FiscalYearPeriod as YearPeriod

    inner join   I_CompanyCode      as CompanyCode on CompanyCode.FiscalYearVariant = YearPeriod.FiscalYearVariant

    inner join   I_JVAGlobalCompanyParameter       on I_JVAGlobalCompanyParameter.CompanyCode = CompanyCode.CompanyCode

    inner join   I_JVALedger        as Ledger      on Ledger.CompanyCode = CompanyCode.CompanyCode

    inner join   I_JntVntrEquityGrp as VntEquGroup on VntEquGroup.CompanyCode = CompanyCode.CompanyCode

  association [1..1] to I_CompanyCode              as _CompanyCode        on  _CompanyCode.CompanyCode = $projection.CompanyCode

  association [0..1] to I_FiscalYearForCompanyCode as _FiscalYearCompCode on  _FiscalYearCompCode.FiscalYear  = $projection.CurrentFiscalYear
                                                                          and _FiscalYearCompCode.CompanyCode = $projection.CompanyCode

{
  key    Ledger.Ledger,
  key    CompanyCode.CompanyCode,
         @EndUserText: {
           label: 'Current Fiscal Year',
           quickInfo: 'Current Fiscal Year' }
  key    YearPeriod.FiscalYear   as CurrentFiscalYear,
         @EndUserText: {
          label: 'Current Fiscal Period',
          quickInfo: 'Current Fiscal Period' }
  key    YearPeriod.FiscalPeriod as CurrentFiscalPeriod,
  key    VntEquGroup.JointVenture,
  key    VntEquGroup.JntOpgAgrmtEquityGrp,

         @EndUserText: {
          label: 'Previous Fiscal Year',
          quickInfo: 'Previous Fiscal Year' }
         YearPeriod.FiscalYear   as PreviousFiscalYear,
         @EndUserText: {
         label: 'Previous Fiscal Period',
         quickInfo: 'Previous Fiscal Period' }

         YearPeriod.FiscalPeriod as PreviousFiscalPeriod,
         YearPeriod.FiscalYearVariant,
         YearPeriod.FiscalPeriodStartDate,
         YearPeriod.FiscalPeriodEndDate,
         YearPeriod.IsSpecialPeriod,
         YearPeriod.FiscalYearStartDate,
         YearPeriod.FiscalYearEndDate,
         YearPeriod.NextFiscalPeriod,
         YearPeriod.NextFiscalPeriodFiscalYear,
         YearPeriod.FiscalYearPeriod,

         YearPeriod._FiscalPeriodStartDate,
         YearPeriod._FiscalYear,
         YearPeriod._FiscalYearVariant,
         YearPeriod._Text,

         // Associations

         _CompanyCode,
         _FiscalYearCompCode

}

where
  YearPeriod.FiscalPeriod between '001' and '012'