I_ACTVUTILSCONTRINVCGLOCKRSN

CDS View

Active Invoicing Lock Reason for Contract

I_ACTVUTILSCONTRINVCGLOCKRSN is a CDS View in S/4HANA. Active Invoicing Lock Reason for Contract. 5 CDS views read from this table.

CDS Views using this table (5)

ViewTypeJoinVDMDescription
I_LockedUtilsContrToBeInvcd view left_outer COMPOSITE Locked Contract to Be Invoiced
I_SchedldUtilsContrNotInvcd view left_outer COMPOSITE Scheduled Contract Has not Been Invoiced
I_UtilsContrToBeBlldInvcdAnlys view left_outer COMPOSITE Analysis of Contract to Be Billed and Invoiced
I_UtilsContrToBeInvcd view left_outer COMPOSITE Contract to Be Invoiced
I_UtilsInvcgDocBillingData view left_outer COMPOSITE Billing Data for Invoicing Document
@EndUserText.label: 'Active Invoicing Lock Reason for Contract'
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'IEACTCONTRINLRSN'
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_ActvUtilsContrInvcgLockRsn
  as select from I_UtilsCAInvcgLockRsn as UtilsCAInvcgLockRsn
  /*+[hideWarning] { "IDS" :  [ "CARDINALITY_CHECK" ] } */
  association [1..1] to I_UtilsCAInvcgLockRsn as _UtilsCAInvcgLockRsn on  $projection.CABusinessLockObject          = _UtilsCAInvcgLockRsn.CABusinessLockObject
                                                                      and $projection.BusinessPartner               = _UtilsCAInvcgLockRsn.BusinessPartner
                                                                      and $projection.ContractAccount               = _UtilsCAInvcgLockRsn.ContractAccount
                                                                      and $projection.UtilsCABusLockRsnAndValidFrom = _UtilsCAInvcgLockRsn.UtilsCABusLockRsnAndValidFrom
{
  key UtilsCAInvcgLockRsn.CABusinessLockObject,

      @ObjectModel.foreignKey.association: '_BusinessPartner'
  key UtilsCAInvcgLockRsn.BusinessPartner,

      @ObjectModel.foreignKey.association: '_ContrAcc'
  key UtilsCAInvcgLockRsn.ContractAccount,

      min(UtilsCAInvcgLockRsn.UtilsCABusLockRsnAndValidFrom) as UtilsCABusLockRsnAndValidFrom,


      /* Associations */
      UtilsCAInvcgLockRsn._BusinessPartner,
      UtilsCAInvcgLockRsn._ContrAcc,
      _UtilsCAInvcgLockRsn
}
where
      UtilsCAInvcgLockRsn.CABusinessLockValidFrom      <= $session.system_date
  and UtilsCAInvcgLockRsn.CABusinessLockValidTo        >= $session.system_date
  and UtilsCAInvcgLockRsn.CABusinessLockObjectCategory = '41'
group by
  UtilsCAInvcgLockRsn.CABusinessLockObject,
  UtilsCAInvcgLockRsn.BusinessPartner,
  UtilsCAInvcgLockRsn.ContractAccount
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_UTILSCAINVCGLOCKRSN"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_CONTRACTACCOUNTHEADER",
"I_UTILSCAINVCGLOCKRSN"
],
"BASE":
[
"I_UTILSCAINVCGLOCKRSN"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/