I_JointVentureProjectData

DDL: I_JOINTVENTUREPROJECTDATA SQL: IJVPROJ Type: view BASIC Package: GJVA_UI_BACKEND

Joint Venture Project Data

I_JointVentureProjectData is a Basic CDS View that provides data about "Joint Venture Project Data" in SAP S/4HANA. It reads from 2 data sources (I_JointVentureCompanyCodeVH, I_WBSElementBasicData) and exposes 28 fields with key field WBSElementInternalID. It has 7 associations to related views. Part of development package GJVA_UI_BACKEND.

Data Sources (2)

SourceAliasJoin Type
I_JointVentureCompanyCodeVH _JVCompanyCode inner
I_WBSElementBasicData I_WBSElementBasicData from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_JointVentureMasterFld _JointVentureMasterFld $projection.CompanyCode = _JointVentureMasterFld.CompanyCode and $projection.JointVenture = _JointVentureMasterFld.JointVenture
[0..1] I_JointVentureProjInSuspense _JointVentureProjInSuspense $projection.CompanyCode = _JointVentureProjInSuspense.CompanyCode and $projection.WBSElementInternalID = _JointVentureProjInSuspense.WBSElementInternalID
[0..1] I_JntVntrRecoveryInd _JntVntrRecoveryInd $projection.CompanyCode = _JntVntrRecoveryInd.CompanyCode and $projection.JointVentureRecoveryCode = _JntVntrRecoveryInd.JointVentureRecoveryCode
[1..1] I_JntVntrEquityTypeMaster _JntVntrEquityType $projection.CompanyCode = _JntVntrEquityType.CompanyCode and $projection.JointVentureEquityType = _JntVntrEquityType.JointVentureEquityType
[0..1] I_JntIntrstBillgClass _JntIntrstBillgClass $projection.CompanyCode = _JntIntrstBillgClass.CompanyCode and $projection.JntIntrstBillgClass = _JntIntrstBillgClass.JntIntrstBillgClass
[0..1] I_JntIntrstBillgSubclass _JntIntrstBillgSubclass $projection.CompanyCode = _JntIntrstBillgSubclass.CompanyCode and $projection.JntIntrstBillgClass = _JntIntrstBillgSubclass.JntIntrstBillgClass and $projection.JntIntrstBillgSubClass = _JntIntrstBillgSubclass.JntIntrstBillgSubClass
[0..*] I_JointVentureSuspenseText _JointVentureSuspenseText $projection.JntVntrProjIsSuspended = _JointVentureSuspenseText.JntVntrSuspenseStatus

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IJVPROJ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Joint Venture Project Data view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY WBSElementInternalID WBSElementInternalID
WBSElementExternalID WBSElementExternalID
WBSDescription WBSDescription
ProjectInternalID ProjectInternalID
ControllingArea ControllingArea
CompanyCode I_WBSElementBasicData CompanyCode
JointVenture
JointVentureRecoveryCode JointVentureCostRecoveryCode
JointVentureEquityType JointVentureEquityType
JntVntrProjectType JntVntrProjectType
JntIntrstBillgClass JntIntrstBillgClass
JntIntrstBillgSubClass JntIntrstBillgSubClass
JntVntrProjIsSuspended
JntVntrProjSuspensePerd _JointVentureProjInSuspense JntVntrProjSuspensePerd
JntVntrProjSuspenseYear _JointVentureProjInSuspense JntVntrProjSuspenseYear
JntVntrProjIsNotSuspended _JointVentureProjInSuspense JntVntrProjIsNotSuspended
JntVntrProjNotSuspensePerd _JointVentureProjInSuspense JntVntrProjNotSuspensePerd
JntVntrProjNotSuspenseYear _JointVentureProjInSuspense JntVntrProjNotSuspenseYear
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_JointVentureMasterFld _JointVentureMasterFld
_JntVntrRecoveryInd _JntVntrRecoveryInd
_JntVntrEquityType _JntVntrEquityType
_JntIntrstBillgClass _JntIntrstBillgClass
_JntIntrstBillgSubclass _JntIntrstBillgSubclass
_JointVentureProjInSuspense _JointVentureProjInSuspense
_JointVentureSuspenseText _JointVentureSuspenseText
_Project _Project
@AbapCatalog.sqlViewName: 'IJVPROJ'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel.usageType:{
  serviceQuality: #B,
  sizeCategory: #L,
  dataClass: #MIXED
  }
@EndUserText.label: 'Joint Venture Project Data'

define view I_JointVentureProjectData
  as select from I_WBSElementBasicData
  inner join I_JointVentureCompanyCodeVH as _JVCompanyCode on I_WBSElementBasicData.CompanyCode = _JVCompanyCode.CompanyCode
  association [1..1] to I_JointVentureMasterFld      as _JointVentureMasterFld      on  $projection.CompanyCode  = _JointVentureMasterFld.CompanyCode
                                                                                    and $projection.JointVenture = _JointVentureMasterFld.JointVenture
  association [0..1] to I_JointVentureProjInSuspense as _JointVentureProjInSuspense on  $projection.CompanyCode          = _JointVentureProjInSuspense.CompanyCode
                                                                                    and $projection.WBSElementInternalID = _JointVentureProjInSuspense.WBSElementInternalID
  association [0..1] to I_JntVntrRecoveryInd         as _JntVntrRecoveryInd         on  $projection.CompanyCode              = _JntVntrRecoveryInd.CompanyCode
                                                                                    and $projection.JointVentureRecoveryCode = _JntVntrRecoveryInd.JointVentureRecoveryCode
  association [1..1] to I_JntVntrEquityTypeMaster    as _JntVntrEquityType          on  $projection.CompanyCode            = _JntVntrEquityType.CompanyCode
                                                                                    and $projection.JointVentureEquityType = _JntVntrEquityType.JointVentureEquityType
  association [0..1] to I_JntIntrstBillgClass        as _JntIntrstBillgClass        on  $projection.CompanyCode         = _JntIntrstBillgClass.CompanyCode
                                                                                    and $projection.JntIntrstBillgClass = _JntIntrstBillgClass.JntIntrstBillgClass
  association [0..1] to I_JntIntrstBillgSubclass     as _JntIntrstBillgSubclass     on  $projection.CompanyCode            = _JntIntrstBillgSubclass.CompanyCode
                                                                                    and $projection.JntIntrstBillgClass    = _JntIntrstBillgSubclass.JntIntrstBillgClass
                                                                                    and $projection.JntIntrstBillgSubClass = _JntIntrstBillgSubclass.JntIntrstBillgSubClass
  association [0..*] to I_JointVentureSuspenseText   as _JointVentureSuspenseText   on  $projection.JntVntrProjIsSuspended = _JointVentureSuspenseText.JntVntrSuspenseStatus
{
  key WBSElementInternalID, //Joint Venture Project

      WBSElementExternalID,
      WBSDescription,
      ProjectInternalID,
      @ObjectModel.foreignKey.association: '_ControllingArea'
      ControllingArea,
      @ObjectModel.foreignKey.association: '_CompanyCode'
      I_WBSElementBasicData.CompanyCode,
      @ObjectModel.foreignKey.association: '_JointVentureMasterFld'
      cast( JointVenture as jv_name preserving type )                                                      as JointVenture,
      @ObjectModel.foreignKey.association: '_JntVntrRecoveryInd'
      JointVentureCostRecoveryCode                                                                         as JointVentureRecoveryCode,
      @ObjectModel.foreignKey.association: '_JntVntrEquityType'
      JointVentureEquityType,
      JntVntrProjectType,
      @ObjectModel.foreignKey.association: '_JntIntrstBillgClass'
      JntIntrstBillgClass,
      @ObjectModel.foreignKey.association: '_JntIntrstBillgSubclass'
      JntIntrstBillgSubClass,
      @ObjectModel.text.association: '_JointVentureSuspenseText'
      cast( _JointVentureProjInSuspense.JntVntrProjIsSuspended as jv_suspense_status_cds preserving type ) as JntVntrProjIsSuspended,
      _JointVentureProjInSuspense.JntVntrProjSuspensePerd,
      _JointVentureProjInSuspense.JntVntrProjSuspenseYear,
      _JointVentureProjInSuspense.JntVntrProjIsNotSuspended,
      _JointVentureProjInSuspense.JntVntrProjNotSuspensePerd,
      _JointVentureProjInSuspense.JntVntrProjNotSuspenseYear,

      _CompanyCode,
      _ControllingArea,
      _JointVentureMasterFld,
      _JntVntrRecoveryInd,
      _JntVntrEquityType,
      _JntIntrstBillgClass,
      _JntIntrstBillgSubclass,
      _JointVentureProjInSuspense,
      _JointVentureSuspenseText,
      _Project

}