C_SSPSupplierInvoice

DDL: C_SSPSUPPLIERINVOICE SQL: CSSPSUPLRINV Type: view CONSUMPTION

Self Service Procurement Supplier Invoice Document

C_SSPSupplierInvoice is a Consumption CDS View that provides data about "Self Service Procurement Supplier Invoice Document" in SAP S/4HANA. It reads from 1 data source (I_SupplierInvoice) and exposes 71 fields with key fields SupplierInvoice, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_SupplierInvoice I_SupplierInvoice from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CSSPSUPLRINV view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Self Service Procurement Supplier Invoice Document view

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice SupplierInvoice
KEY FiscalYear FiscalYear
SupplierInvoiceUUID SupplierInvoiceUUID
CompanyCode CompanyCode
DocumentDate DocumentDate
PostingDate PostingDate
SupplierInvoiceIDByInvcgParty SupplierInvoiceIDByInvcgParty
InvoicingParty InvoicingParty
DocumentCurrency DocumentCurrency
IsInvoice IsInvoice
UnplannedDeliveryCost UnplannedDeliveryCost
DocumentHeaderText DocumentHeaderText
CreatedByUser CreatedByUser
LastChangedByUser LastChangedByUser
ManualCashDiscount ManualCashDiscount
PaymentTerms PaymentTerms
DueCalculationBaseDate DueCalculationBaseDate
CashDiscount1Percent CashDiscount1Percent
CashDiscount1Days CashDiscount1Days
CashDiscount2Percent CashDiscount2Percent
CashDiscount2Days CashDiscount2Days
NetPaymentDays NetPaymentDays
PaymentBlockingReason PaymentBlockingReason
AccountingDocumentType AccountingDocumentType
SupplierInvoiceStatus SupplierInvoiceStatus
SupplierInvoiceOrigin SupplierInvoiceOrigin
BusinessNetworkOrigin BusinessNetworkOrigin
ReverseDocument ReverseDocument
ReverseDocumentFiscalYear ReverseDocumentFiscalYear
SuplrInvcTransactionCategory SuplrInvcTransactionCategory
SuplrInvcManuallyReducedAmount SuplrInvcManuallyReducedAmount
SuplrInvcAutomReducedAmount SuplrInvcAutomReducedAmount
BPBankAccountInternalID BPBankAccountInternalID
ExchangeRate
StateCentralBankPaymentReason StateCentralBankPaymentReason
SupplyingCountry SupplyingCountry
PaymentMethod PaymentMethod
PaymentReference PaymentReference
InvoiceReference InvoiceReference
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear
FixedCashDiscount FixedCashDiscount
UnplannedDeliveryCostTaxCode UnplannedDeliveryCostTaxCode
UnplndDelivCostTaxJurisdiction UnplndDelivCostTaxJurisdiction
AssignmentReference AssignmentReference
SupplierPostingLineItemText SupplierPostingLineItemText
TaxIsCalculatedAutomatically TaxIsCalculatedAutomatically
BusinessPlace BusinessPlace
PaytSlipWthRefSubscriber PaytSlipWthRefSubscriber
PaytSlipWthRefCheckDigit PaytSlipWthRefCheckDigit
PaytSlipWthRefReference PaytSlipWthRefReference
IsEndOfPurposeBlocked IsEndOfPurposeBlocked
ProcessFlowDynamicNodeTitle _SSPSuplrInvcTransCat DomainText
ProcessFlowNodeShortTitle _SSPSuplrInvcTransCat DomainText
_AmountSplit _AmountSplit
_BlockingRecord _BlockingRecord
_CompanyCode _CompanyCode
_CreatedByUser _CreatedByUser
_Currency _Currency
_FiscalYear _FiscalYear
_PaymentTerms _PaymentTerms
_SelectedBillOfLadings _SelectedBillOfLadings
_SelectedDeliveryNotes _SelectedDeliveryNotes
_SelectedPurchaseOrders _SelectedPurchaseOrders
_SelectedServiceEntrySheets _SelectedServiceEntrySheets
_Supplier _Supplier
_SupplierInvoiceItemAsset _SupplierInvoiceItemAsset
_SupplierInvoiceItemGLAcct _SupplierInvoiceItemGLAcct
_SupplierInvoiceItemMaterial _SupplierInvoiceItemMaterial
_SupplierInvoiceItemPurOrdRef _SupplierInvoiceItemPurOrdRef
_SupplierInvoiceTax _SupplierInvoiceTax
_WithholdingTax _WithholdingTax
@AbapCatalog.sqlViewName: 'CSSPSUPLRINV'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType.serviceQuality:#B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@EndUserText.label: 'Self Service Procurement Supplier Invoice Document'
define view C_SSPSupplierInvoice
  as select from I_SupplierInvoice

  association to C_SSPSuplrInvcTransCat as _SSPSuplrInvcTransCat on _SSPSuplrInvcTransCat.DomainValue = $projection.SuplrInvcTransactionCategory
{
      //I_SupplierInvoice

  key SupplierInvoice,
  key FiscalYear,
      SupplierInvoiceUUID,
      //--[ GENERATED:012:GlBfhyFV7kY4u9rcrreGbG

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'C_MM_CompanyCodeValueHelp',
                     element: 'CompanyCode' }
        }]
      // ]--GENERATED

      CompanyCode,
      DocumentDate,
      PostingDate,
      SupplierInvoiceIDByInvcgParty,
      InvoicingParty,
      DocumentCurrency,
      //InvoiceGrossAmount,

      IsInvoice,
      @Semantics.amount.currencyCode: 'DocumentCurrency'
      case
      when IsInvoice = 'X'
      then InvoiceGrossAmount
      else -InvoiceGrossAmount
      end                              as InvoiceGrossAmount,
      UnplannedDeliveryCost,
      DocumentHeaderText,
      CreatedByUser,
      LastChangedByUser,
      ManualCashDiscount,
      PaymentTerms,
      DueCalculationBaseDate,
      CashDiscount1Percent,
      CashDiscount1Days,
      CashDiscount2Percent,
      CashDiscount2Days,
      NetPaymentDays,
      PaymentBlockingReason,
      AccountingDocumentType,
      SupplierInvoiceStatus,
      SupplierInvoiceOrigin,
      BusinessNetworkOrigin,
      ReverseDocument,
      ReverseDocumentFiscalYear,
      SuplrInvcTransactionCategory,
      SuplrInvcManuallyReducedAmount,
      SuplrInvcAutomReducedAmount,
      BPBankAccountInternalID,
      cast( ExchangeRate as kursf )    as ExchangeRate,
      StateCentralBankPaymentReason,
      SupplyingCountry,
      PaymentMethod,
      PaymentReference,
      InvoiceReference,
      InvoiceReferenceFiscalYear,
      FixedCashDiscount,
      UnplannedDeliveryCostTaxCode,
      UnplndDelivCostTaxJurisdiction,
      AssignmentReference,
      SupplierPostingLineItemText,
      TaxIsCalculatedAutomatically,
      BusinessPlace,
      PaytSlipWthRefSubscriber,
      PaytSlipWthRefCheckDigit,
      PaytSlipWthRefReference,
      IsEndOfPurposeBlocked,
      _SSPSuplrInvcTransCat.DomainText as ProcessFlowDynamicNodeTitle,
      _SSPSuplrInvcTransCat.DomainText as ProcessFlowNodeShortTitle,
      _AmountSplit,
      _BlockingRecord,
      @Consumption.hidden: true
      _CompanyCode,
      _CreatedByUser,
      _Currency,
      _FiscalYear,
      _PaymentTerms,
      _SelectedBillOfLadings,
      _SelectedDeliveryNotes,
      _SelectedPurchaseOrders,
      _SelectedServiceEntrySheets,
      _Supplier,
      _SupplierInvoiceItemAsset,
      _SupplierInvoiceItemGLAcct,
      _SupplierInvoiceItemMaterial,
      _SupplierInvoiceItemPurOrdRef,
      _SupplierInvoiceTax,
      _WithholdingTax

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_SSPSUPLRINVCTRANSCAT",
"I_SUPPLIERINVOICE"
],
"ASSOCIATED":
[
"C_SSPSUPLRINVCTRANSCAT",
"I_COMPANYCODE",
"I_CURRENCY",
"I_PAYMENTTERMS",
"I_SUPLRINVCHEADERWHLDGTAX",
"I_SUPLRINVCSELDINBBILLOFLADING",
"I_SUPLRINVCSELDINBDELIVERYNOTE",
"I_SUPLRINVCSELDPURGDOCUMENT",
"I_SUPLRINVCSELDSRVCENTRYSHEET",
"I_SUPPLIER",
"I_SUPPLIERINVOICEAMOUNTSPLIT",
"I_SUPPLIERINVOICEBLOCK",
"I_SUPPLIERINVOICEFISCALYEAR",
"I_SUPPLIERINVOICEITEMASSET",
"I_SUPPLIERINVOICEITEMGLACCT",
"I_SUPPLIERINVOICEITEMMATERIAL",
"I_SUPPLIERINVOICEITEMPURORDREF",
"I_SUPPLIERINVOICETAX",
"I_USER"
],
"BASE":
[
"I_SUPPLIERINVOICE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/