SAP Spend: Invoice Lines - A (RL) (SAP_X_RL_InvoiceLineItems)

This Cross Spend Analytical model covers Ariba Invoice and SAP S/4HANA or SAP S/4HANA Cloud Invoice

Additional calculated Measures on the analytical model are:

Measure

Type

Value Calculation / Restriction

Invoice Count M

Count Distinct Measure

Invoice ID

Managed Spend %

Calculated Measure

P2P Managed Spend / Invoice Amount

Line Item Count

Count Distinct Measure

Invoice ID

Invoice Line Number

SAP Procurement: Invoice Line - A (HL) (SAP_X_HL_InvoiceLineItems)

This data view model covers:

  • Ariba Invoice

  • SAP S/4HANA or SAP S/4HANA Cloud Invoice

Filter

Value

ExcludeAribaInvoices

DocumentHeaderText!='ARIBA_INVOICE'

SAP S4HANA: Supplier Invoice with LineItems (HL) (SAP_PROC_S4_BI_HL_SupplierInvoiceLineItem)

This data view model covers:

  • Ariba Contract

  • Ariba PO

  • SAP S/4HANA or SAP S/4HANA Cloud Invoice data

Calculated Fields are as below:

Field Name

Formula Logic in Business Context

Ariba PO Line Number

Convert SAP defined PO # into Ariba defined PO #. E,g, SAP PO Line Number = 10 which is equivalent to SAP Ariba PO Line Number =1

Invoice Realm

Set Invoice Realm = „SAP“ when value is blank

Buy Channel

Set Buy Channel value as below:

  1. Contract with Release if Invoice is mapped to Ariba Contract and Ariba PO

  2. Contract without Release if Invoice is mapped to Ariba Contract only

  3. Catalog Purchase Order if Invoice is against catalog item and is mapped to Ariba PO only.

  4. Non-Catalog Purchase Order if Invoice is ad-hoc item and is mapped to Ariba PO only

  5. Misc. Charges - Tax, Shipping etc. if Invoice is neither ad-hoc item nor catalog item and is mapped to Ariba PO only

  6. Non-PO Invoice if Invoice is neither mapped to Ariba PO not SAP PO

  7. SAP Purchase Order if Invoice is mapped to SAP PO.

Has Contract?

Invoice is associated to Ariba Contract

P2P Managed Spend

Use Invoice Amount if Buy Channel value is not

  1. 'Non-PO Invoice'

  2. 'Misc. Charges - Tax, Shipping etc.'

  3. 'Non-Catalog Purchase Order'

Invoice Line Type

Set Invoice Line Type value as below:

  1. Contract with Release if Invoice is mapped to Ariba Contract and Ariba PO

  2. _FixedFee if Invoice is mapped to Ariba Contract only

  3. _CatalogItem if Invoice is against catalog item and is mapped to Ariba PO only.

  4. _NonCatalogItem if Invoice is ad-hoc item and is mapped to Ariba PO only

  5. SalesTax if Invoice is neither ad-hoc item nor catalog item and is mapped to Ariba PO only

  6. Non-PO Invoice if Invoice is neither mapped to Ariba PO not SAP PO

  7. SAP PO Line if Invoice is mapped to SAP PO.

  8. SAP PO Taxi if Invoice is mapped to SAP PO and not mapped to SAP Line item.

Invoice Type

PurchaseOrder if Invoice is associated to either Ariba PO or SAP PO

Other if Invoice is not associated to either Ariba PO or SAP PO

Invoice Submission Method

Online if submitted via SBN

ARIBA if received via Ariba B&I Integration

SAP-PaperInvoice in all other cases

Invoice Loaded From

1 if Invoice is received via SBN

4 in all other cases

Invoice Cycle Time

Time taken between Invoice posting date and Release of Blocking Reason date

Invoice Purpose

standard if Invoice is debit memo

credit memo if invoice is credit memo

Invoice has Exception

Always set to False

Use following filters in the model:

Filter

Value

Language

Language='EN'