cancel
Showing results for 
Search instead for 
Did you mean: 

I have to block all SAP transaction from 2014-07-14 using SP

Former Member
0 Kudos

I have to block all SAP transaction from 2014-07-14 using SP. kindly help...

Accepted Solutions (1)

Accepted Solutions (1)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

You can not block all transaction in single transaction notification. I have created for Sale order and just change object code and table for all other transactions.

IF (@object_type = '17') and (@transaction_type IN (N'A'))

BEGIN

IF EXISTS (

SELECT A.DOCENTRY FROM ORDR A WHERE A.[DocDate] >='20140710'and a.DOCENTRY = @list_of_cols_val_tab_del)

BEGIN

Select @error = 10, @error_message = N'You are not authorize to add this Sales order'

END

END

Thanks & Regards,

Nagarajan

Former Member
0 Kudos

Thank you Nagarajan!

Answers (0)