I_JntVntrEquityGrp

DDL: I_JNTVNTREQUITYGRP SQL: IJVEQGRP Type: view BASIC Package: GJVA

Joint Venture Equity Group

I_JntVntrEquityGrp is a Basic CDS View that provides data about "Joint Venture Equity Group" in SAP S/4HANA. It reads from 1 data source (t8jf) and exposes 18 fields with key fields CompanyCode, JointVenture, JntOpgAgrmtEquityGrp. It has 4 associations to related views. Part of development package GJVA.

Data Sources (1)

SourceAliasJoin Type
t8jf t8jf from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_JointVentureMasterFld _JointVentureMasterFld $projection.CompanyCode = _JointVentureMasterFld.CompanyCode and $projection.JointVenture = _JointVentureMasterFld.JointVenture
[0..*] I_JntVntrEquityGrpText _JntVntrEquityGrpText $projection.CompanyCode = _JntVntrEquityGrpText.CompanyCode and $projection.JointVenture = _JntVntrEquityGrpText.JointVenture and $projection.JntOpgAgrmtEquityGrp = _JntVntrEquityGrpText.JntOpgAgrmtEquityGrp
[0..*] I_JointVentureSuspenseText _JointVentureSuspenseText $projection.JntVntrEquityGrpIsSuspended = _JointVentureSuspenseText.JntVntrSuspenseStatus

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IJVEQGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Joint Venture Equity Group view
Analytics.internalName #LOCAL view
VDM.viewType #BASIC view
ObjectModel.representativeKey JntOpgAgrmtEquityGrp view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #NONE view
Metadata.ignorePropagatedAnnotations true view
Analytics.settings.valueHelp.supressInitialValue true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs
KEY JointVenture
KEY JntOpgAgrmtEquityGrp egrup
JntVntrOperatedShare opshare
JntVntrNonOperatedShare nopshare
JointVentureEquityGroupActive egroupact
JntVntrEquityGrpIsSuspended egroupsus
JntVntrEquityGrpSuspendedPerd grpsusper
JntVntrEquityGrpSuspendedYr grpsusyear
JntVntrEquityGrpIsNotSuspended egroupusus
JntVntrGrpNotSuspendedPerd grpususper
JntVntrGrpNotSuspendedYr grpususyer
JntVntrNetProfitIntrstGrp npigroup NPI Group
JointVentureName
_CompanyCode _CompanyCode
_JointVentureMasterFld _JointVentureMasterFld
_JntVntrEquityGrpText _JntVntrEquityGrpText
_JointVentureSuspenseText _JointVentureSuspenseText
@AbapCatalog.sqlViewName: 'IJVEQGRP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Joint Venture Equity Group'
//@Analytics.dataCategory: #DIMENSION

@Analytics.internalName:#LOCAL
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'JntOpgAgrmtEquityGrp'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions:true
@ObjectModel:{
  usageType.serviceQuality: #C,
  usageType.sizeCategory: #M,
  usageType.dataClass: #MASTER,
  supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET , #UI_PROVIDER_PROJECTION_SOURCE ],
  modelingPattern: #NONE
}
@Metadata.ignorePropagatedAnnotations: true
@Analytics.settings.valueHelp.supressInitialValue: true

define view I_JntVntrEquityGrp
  as select from t8jf
  association [1..1] to I_CompanyCode              as _CompanyCode              on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [1..1] to I_JointVentureMasterFld    as _JointVentureMasterFld    on  $projection.CompanyCode  = _JointVentureMasterFld.CompanyCode
                                                                                and $projection.JointVenture = _JointVentureMasterFld.JointVenture
  association [0..*] to I_JntVntrEquityGrpText     as _JntVntrEquityGrpText     on  $projection.CompanyCode          = _JntVntrEquityGrpText.CompanyCode
                                                                                and $projection.JointVenture         = _JntVntrEquityGrpText.JointVenture
                                                                                and $projection.JntOpgAgrmtEquityGrp = _JntVntrEquityGrpText.JntOpgAgrmtEquityGrp
  association [0..*] to I_JointVentureSuspenseText as _JointVentureSuspenseText on  $projection.JntVntrEquityGrpIsSuspended = _JointVentureSuspenseText.JntVntrSuspenseStatus
{     
     @Consumption.valueHelpDefinition: [ { entity:  { name:    'I_JointVentureCompanyCodeVH',
                                           element: 'CompanyCode' }
                                       }]
      @ObjectModel.foreignKey.association: '_CompanyCode'
  key bukrs                                                                         as CompanyCode,
       @Consumption.valueHelpDefinition: [ { entity:  { name:    'I_JntVntrValueHelp',                          
                                              element: 'JointVenture' }
                                          }]
      @ObjectModel.foreignKey.association: '_JointVentureMasterFld'
      @ObjectModel.text.element: [ 'JointVentureName' ] 
  key cast( vname as jv_name preserving type )                                      as JointVenture,
      @ObjectModel.text.association: '_JntVntrEquityGrpText'      
      @Consumption.valueHelpDefinition: [ { entity:  { name:    'I_JntVntrEquityGroupValueHelp',
                                                       element: 'JntOpgAgrmtEquityGrp' }
                                        }]
  key egrup                                                                         as JntOpgAgrmtEquityGrp,

      @EndUserText.label: 'Equity Group Description'
      coalesce( _JntVntrEquityGrpText[1:Language = $session.system_language ].JntOpgAgrmtEquityGrpText,
                _JntVntrEquityGrpText[1:Language = 'E' ].JntOpgAgrmtEquityGrpText ) as JntOpgAgrmtEquityGrpText,
                
      @DefaultAggregation: #SUM
      opshare                                                                       as JntVntrOperatedShare,
      @DefaultAggregation: #SUM
      nopshare                                                                      as JntVntrNonOperatedShare,
      egroupact                                                                     as JointVentureEquityGroupActive,
      @ObjectModel.text.association: '_JointVentureSuspenseText'
      egroupsus                                                                     as JntVntrEquityGrpIsSuspended,
      grpsusper                                                                     as JntVntrEquityGrpSuspendedPerd,
      grpsusyear                                                                    as JntVntrEquityGrpSuspendedYr,
      egroupusus                                                                    as JntVntrEquityGrpIsNotSuspended,
      grpususper                                                                    as JntVntrGrpNotSuspendedPerd,
      grpususyer                                                                    as JntVntrGrpNotSuspendedYr,
      @EndUserText.label: 'NPI Group'
      npigroup                                                                      as JntVntrNetProfitIntrstGrp,
      @UI.hidden: true
      _JointVentureMasterFld._JointVentureDesc[1:Language = $session.system_language].JointVentureName, 

      _CompanyCode,
      _JointVentureMasterFld,
      _JntVntrEquityGrpText,
      _JointVentureSuspenseText
}