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:
|
|
Has Contract? |
Invoice is associated to Ariba Contract |
|
P2P Managed Spend |
Use Invoice Amount if Buy Channel value is not
|
|
Invoice Line Type |
Set Invoice Line Type value as below:
|
|
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' |