I_SupplierInvoiceTaskUI

DDL: I_SUPPLIERINVOICETASKUI SQL: ISIVTASKUI Type: view COMPOSITE

Supplier Invoice General Header Data

I_SupplierInvoiceTaskUI is a Composite CDS View that provides data about "Supplier Invoice General Header Data" in SAP S/4HANA. It reads from 1 data source (I_SupplierInvoice) and exposes 14 fields with key fields SupplierInvoice, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_SupplierInvoice I_SupplierInvoice from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISIVTASKUI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Supplier Invoice General Header Data view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice SupplierInvoice
KEY FiscalYear FiscalYear
InvoicingParty InvoicingParty
SupplierName _Supplier SupplierName
SupplierInvoiceIDByInvcgParty SupplierInvoiceIDByInvcgParty
CompanyCode CompanyCode
CompanyCodeName _CompanyCode CompanyCodeName
InvoiceGrossAmount InvoiceGrossAmount
DocumentCurrency DocumentCurrency
DocumentDate DocumentDate
CreatedByUserDescription
_CompanyCode _CompanyCode
_Currency _Currency
_FiscalYear _FiscalYear
@AbapCatalog.sqlViewName: 'ISIVTASKUI'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck:  #MANDATORY 
@EndUserText.label: 'Supplier Invoice General Header Data'
@VDM.viewType : #COMPOSITE
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED

define view I_SupplierInvoiceTaskUI 

  as select from I_SupplierInvoice as I_SupplierInvoice

{
  key SupplierInvoice,
  key FiscalYear,

      case
          when IsInvoice = 'X'
              then cast('1' as mmiv_transactiontype_desc) // Invoice

          else 
                   cast('2' as mmiv_transactiontype_desc) // Credit Memo

      end as SupplierInvoiceTransactionType,
      
      InvoicingParty,
     
     _Supplier.SupplierName as SupplierName,
      
      @UI.textArrangement: #TEXT_ONLY
      SupplierInvoiceIDByInvcgParty,
    
      @ObjectModel.foreignKey.association: '_CompanyCode'
      @ObjectModel.text.element:  [ 'CompanyCodeName' ]
      CompanyCode,
      _CompanyCode.CompanyCodeName,

      @DefaultAggregation:#NONE
      InvoiceGrossAmount,

      DocumentCurrency,

      @Semantics.businessDate.at: true
      DocumentDate,


      @ObjectModel.readOnly: true
      @Semantics.text: true
      cast( _CreatedByUser.UserDescription as mmiv_d_upload_created_by preserving type ) as CreatedByUserDescription,

      _CompanyCode,
      _Currency,
      _FiscalYear

}
where
  I_SupplierInvoice.IsEndOfPurposeBlocked = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_SUPPLIER",
"I_SUPPLIERINVOICE",
"I_USER"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_CURRENCY",
"I_SUPPLIERINVOICEFISCALYEAR"
],
"BASE":
[
"I_SUPPLIERINVOICE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/