SAP Material Management
Invoice Block Randomly
Stochastic Block
ECC6.0 EhP6
Stochastic Block is to block the Invoice randomly based on “Chance” (configured in the IMG).
The reason for such a random block to a have surprise check on any “hangky pangky” on normal invoices of a certain amount (despite no variances). Very much like a surprise Audit.
The Block is at the Header level.
First, you must Activate Stochastic Block at the Company Code level
Then you set the Amount and % of chance of Random Block.
For Company code 1000, the Invoice 10, 000 and above have 50% chance being blocked.
0 5000 7500 10000
50%
25%
Invoice of 10,000 and above have equal probability of 50% chance to be blocked
Invoice Amount
Probablity
Invoice of exactly 5,000 will have 25% probability of chance to be blocked
37.5%
Invoice of exactly 7,500 will have 37.5% probability of chance to be blocked
PO of 10,000 EUR has been received
Bare in mind there is a 50% of this invoice being blocked as it is at the threshold of 10,000
Invoice is not blocked !!!
(50% chance)
I cancell the Invoice to
simulate again.
Bare in mind there is a 50% of this invoice being blocked as it is at the threshold of 10,000
Invoice is now blocked !!!
(50% chance)
you have to check the ABAP logic behind the calculation behind the block BUT in theory it should be using random number generator to make a decision to block or not to block the invoice.
You will find that there are no blocking reason at the item level
But the Payment Block indicator is at the Header
Lets check the Accounting doc 5100000036 in Accounts payable FBL1N
Payment Block indicator for 5100000036 in FBL1N
Random block can only be released manually
Select “Release Manually”
Select “Stochastically Blockedy” as filter
First select to highlight the Invoice then Click “green flag” to release the randomly blocked invoice
SAVE
Note Green Flag and line is also Green
As this is a worklist, the released invoice is removed, you continue to release other invoices or exit ...
Payment Block indicator at the Header removed
Payment Block indicator for 5100000036 in FBL1N
removed
Authorization for Release of Randomly Blocked invoices
In the standard SAP Authorization object for MRBR there are no selection for release of Random Blocked invoices authorization. (Not aware of any additional/other Authorization Objects to control Random Blocked Invoice Release control as at ECC6.0 EhP6)
So, the next best method is to use Transaction Variant.
Design Transaction Variants to allow or disallow users from this selection