This detection method lets you find invoices for vendors that had no invoices during the past x days, where x is defined by the input parameter MIN_DAYS_NO_ACTIVITY
of the rule.
For each vendor, the invoice with the latest date is selected. In a second step, the invoice before the last one is determined. The final step is to calculate the difference between the creation dates of the two invoices for the vendor (the most recent and the previous invoices). If the difference is equal to or larger than the threshold number of days in detection method parameter MIN_DAYS_NO_ACTIVITY
, then an alert is raised. If the most recent invoice is also the first invoice created for a vendor, then no alert is raised.
The risk amount of an alert is defined as the sum of the values of the DMBTR
field of the invoice items that are considered to be suspicious.
The method checks only invoices items that meet the following conditions:
The invoices are for regular vendors (not one-time account invoices)
The account type is set to K
The field SHKZG
has value H
.
Investigation object type: FRA_VEND
(Vendor
)
Detection object type: FRA_VEINVI
(Vendor Invoice Item
)
BKPF
: Accounting Document Header
BSEG
: Accounting Document Segment
LFA1
: Vendor Master (General Section)
LFB1
: Vendor Master (Company Code)
Procedure Category | Procedure Name | Procedure Type | Package |
---|---|---|---|
Selection |
| SQLScript Procedure |
|
Execution |
| SQLScript Procedure |
|
Additional Information |
| SQLScript Procedure |
|
MIN_DAYS_NO_ACTIVITY
: Threshold for the minimum number of days of activity. An invoice that appears after longer inactivity than this threshold is considered suspicious.
Message ID | Message Number | Message Text |
---|---|---|
|
|
|
|
|
|
When Is an Alert Produced?
For each vendor, the invoice with the latest date is selected. In a second step, the invoice before the last one is determined. The final step is to calculate the difference between the creation dates of the two invoices for the vendor (the most recent and the previous invoices). If the difference is equal to or larger than the threshold number of days in detection method parameter Min days without account activity
, then an alert is raised. If the most recent invoice is also the first invoice created for a vendor, then no alert is raised.
The method checks only invoices items that meet the following conditions:
The invoices are for regular vendors (not one-time account invoices).
The field DebitCreditCode
has the value for the creditor.
DETECTION_OBJECT
VENDOR_INVOICE_ITEM
Package: sap.hana-app.fra.suite.pur.dt.vendor.invoiceitem.dme
Name: VendorInvoiceItem.hprvocabulary
Min days without account activity
(MIN_DAYS_WITHOUT_ACTIVITY
)
Threshold for the minimum number of days of activity. An invoice that appears after longer inactivity than this threshold is considered suspicious.
AmountInAlertCurrency
: The Risk Value is the amount of the specific invoice in the alert currency.
AlertCurrency
: The Risk Value Currency is the Currency of the alert.
The alert shows the last posting to the account.