I_BREXITPROTOCOLVALIDITY

CDS View

Northern Ireland Protocol Validity

I_BREXITPROTOCOLVALIDITY is a CDS View in S/4HANA. Northern Ireland Protocol Validity. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
C_RO_StRpDomesticSlsPurListC view inner CONSUMPTION Romania Domestic Sales and Purchase List - Cube
P_StRpTaxItmWithEUTaxClass7 view inner COMPOSITE
@AbapCatalog.sqlViewName: 'INIPROT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #BASIC
@EndUserText.label: 'Northern Ireland Protocol Validity'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass: #CUSTOMIZING

/**
  If not found in configuration table iduk_brexit, this view sets
  Northern Ireland protocol validity to a fixed range.
  On 17 December 2020 this range is officialy acknowledged.
**/

define view I_BrexitProtocolValidity
  as select from    I_Country

    left outer to one join P_IDUK_BREXIT on party = 'NIPROT'

{

  key coalesce(party, 'NIPROT')       as BrexitProtocolType,
      coalesce(validfrom, '20210101') as BrexitProtocolValidFromDate,
      coalesce(validto, '20241231')   as BrexitProtocolValidToDate

}

where
  Country = 'GB'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COUNTRY",
"P_IDUK_BREXIT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/