1 of 25

SAP Material Management

Invoice Block Randomly

Stochastic Block

ECC6.0 EhP6

2 of 25

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.

3 of 25

First, you must Activate Stochastic Block at the Company Code level

4 of 25

Then you set the Amount and % of chance of Random Block.

5 of 25

For Company code 1000, the Invoice 10, 000 and above have 50% chance being blocked.

6 of 25

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

7 of 25

PO of 10,000 EUR has been received

8 of 25

Bare in mind there is a 50% of this invoice being blocked as it is at the threshold of 10,000

9 of 25

Invoice is not blocked !!!

(50% chance)

10 of 25

I cancell the Invoice to

simulate again.

11 of 25

Bare in mind there is a 50% of this invoice being blocked as it is at the threshold of 10,000

12 of 25

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.

13 of 25

You will find that there are no blocking reason at the item level

But the Payment Block indicator is at the Header

14 of 25

Lets check the Accounting doc 5100000036 in Accounts payable FBL1N

15 of 25

Payment Block indicator for 5100000036 in FBL1N

16 of 25

Random block can only be released manually

17 of 25

Select “Release Manually”

Select “Stochastically Blockedy” as filter

18 of 25

First select to highlight the Invoice then Click “green flag” to release the randomly blocked invoice

19 of 25

SAVE

Note Green Flag and line is also Green

20 of 25

As this is a worklist, the released invoice is removed, you continue to release other invoices or exit ...

21 of 25

Payment Block indicator at the Header removed

22 of 25

Payment Block indicator for 5100000036 in FBL1N

removed

23 of 25

Authorization for Release of Randomly Blocked invoices

24 of 25

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.

25 of 25

Design Transaction Variants to allow or disallow users from this selection