P_RU_CheckLinkToImpNotNum

DDL: P_RU_CHECKLINKTOIMPNOTNUM SQL: PRUCHKLINKEAEU Type: view CONSUMPTION

Check link to ImportNotificationNumber

P_RU_CheckLinkToImpNotNum is a Consumption CDS View that provides data about "Check link to ImportNotificationNumber" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 3 fields with key fields CompanyCode, FiscalYear, AccountingDocument.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntry I_JournalEntry from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUCHKLINKEAEU view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Check link to ImportNotificationNumber view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PRUCHKLINKEAEU'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Check link to ImportNotificationNumber'
@ClientHandling.algorithm: #SESSION_VARIABLE

define view P_RU_CheckLinkToImpNotNum as select from I_JournalEntry //We can't use predefined functions as WHERE clause in P_RU_VATRetImpEAEU, so we create this CDS

{
    key CompanyCode,
    key FiscalYear,
    key AccountingDocument,
    case left(DocumentReferenceID, 4)
      when 'EA0^' then 'X'
      else ''
    end as IsLinkExistsEAEU
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRY"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/