SAP Ariba: Invoice Line Items - A (RL) (SAP_PROC_BI_RL_InvoiceLineItems)
The Analytic Model SAP Ariba: Invoice Line Items - A (RL) (SAP_PROC_BI_RL_InvoiceLineItems) provides insight into invoice data and allows bucketing invoice amounts into dynamic buckets to analyze upcoming payables.
Additionally, you can identify invoices with invoice exceptions. The data is sourced via the Analytical API.

SAP Ariba: Invoice Line Items - A (HL) (SAP_PROC_BI_HL_InvoiceLineItems)
The SAP Ariba: Invoice Line Items - A (HL) provides several additional calculated fields to be able to analyze invoice data from various angles.
For the invoice due bucketing, the view provides three input parameters that need to be filled. These are then handled by the view Data Grid With Overdue Bucket Text (SAP_GEN_DateGridText), which will generate date records with respective date buckets according to the parameterization.
|
Parameter |
Description |
|---|---|
|
Number of Grid Columns |
How many buckets should be generated? |
|
Grid Width in Days |
How many days should each bucket encompass? |
|
LastDatOfGrid |
For how many days in the past are date entries generated? |
|
Calculated Fields |
Definition |
|---|---|
|
Invoice Cycle Time |
CASE WHEN Reconciled_Date='1970-01-01' AND Approved_Date='1970-01-01' THEN 0 ELSE CASE WHEN Reconciled_Date>=Approved_Date THEN DAYS_BETWEEN(Invoice_Submit_Date,Reconciled_Date) ELSE DAYS_BETWEEN(Invoice_Submit_Date,Approved_Date) END END |
|
Buy Channel |
CASE WHEN (("ORDERID" ='' AND "CONTRACT_CONTRACTID" ='') OR ("ORDERID" IS NULL AND "CONTRACT_CONTRACTID" IS NULL)) AND "LINETYPE" IN ('_CatalogItem','_PunchOutItem', '_NonCatalogItem','_FeeItem','_MilestoneItem','MiscExpenseItem') THEN 'Non-PO Invoice' ELSE CASE WHEN "ORDERID" ='' AND "CONTRACT_CONTRACTID" !='' AND "LINETYPE" IN ('_CatalogItem','_PunchOutItem', '_NonCatalogItem','_FeeItem','_MilestoneItem','MiscExpenseItem') THEN 'Contract - No Release' ELSE CASE WHEN "ORDERID" !='' AND "CONTRACT_CONTRACTID" !='' AND "LINETYPE" IN ('_CatalogItem','_PunchOutItem', '_NonCatalogItem','_FeeItem','_MilestoneItem','MiscExpenseItem') THEN 'Contract with Release' ELSE CASE WHEN "ORDERID" !='' AND "CONTRACT_CONTRACTID"='' THEN CASE WHEN "LINETYPE" IN ('_CatalogItem','_PunchOutItem') THEN 'PO - Catalog' ELSE CASE WHEN "LINETYPE" = '_NonCatalogItem' THEN 'PO - Non-Catalog' ELSE 'Misc Charges - Tax, Shipping etc.' END END ELSE 'Misc Charges - Tax, Shipping etc.' END END END END |
|
Has Contract? |
CASE WHEN "CONTRACT_CONTRACTID"='' THEN 'No' ELSE 'Yes' END |
|
Invoice Line Type |
CASE WHEN "ORDERID" ='' AND "CONTRACT_CONTRACTID" = '' AND "LINETYPE" IN ('_CatalogItem', '_PunchOutItem','_NonCatalogItem','_FeeItem','_MilestoneItem','MiscExpenseItem') THEN 'Non-PO Invoice' ELSE CASE WHEN "ORDERID" !='' AND "CONTRACT_CONTRACTID" ='' AND "LINETYPE" IN ('_CatalogItem', '_PunchOutItem') THEN 'Catalog PO Line' ELSE CASE WHEN "ORDERID" !='' AND "CONTRACT_CONTRACTID" ='' AND "LINETYPE" IN ('_NonCatalogItem','_FeeItem','_MilestoneItem','MiscExpenseItem') THEN 'Non-Catalog PO Line' ELSE CASE WHEN "CONTRACT_CONTRACTID" !='' AND "LINETYPE" IN ('_CatalogItem', '_PunchOutItem','_NonCatalogItem','_FeeItem','_MilestoneItem','MiscExpenseItem') THEN 'Contract Line' ELSE 'Charge/Tax Line' END END END END |
|
P2P Managed Spend |
CASE WHEN BuyChannel in ('PO - Non-Catalog', 'Non-PO Invoice', 'Misc Charges - Tax, Shipping etc.') THEN 0 ELSE AMOUNT END |
|
Invoice Line Amount excluding Taxes and Charges |
CASE WHEN BuyChannel in ('Misc Charges - Tax, Shipping etc.') THEN 0 ELSE AMOUNT END |
|
Invoice has Exception |
case when INVOICE_ID IS NULL then false else true END |
SAP Ariba: Invoice Line Items - A (RL)
The Analytic Model SAP Ariba: Invoice Line Items - A (RL) (SAP_PROC_BI_RL_InvoiceLineItems) provides a substantial base for analyzing invoice data.
|
Measure |
Type |
Value Calculation / Restriction |
|---|---|---|
|
Invoice Count M |
Count Distinct Measure |
Dimension: Invoice ID |
|
Managed Spend % |
Calculated Measure |
(P2P_ManagedSpend/Amount_ExpenseLine)*100 |