on 01-28-2013 8:54 AM
Dear All,
Is there any possibility to block specific GL accounts for manual Journal Entry in SAP.
Exampl:- Client is making JE in the Control accounts like......GRNI .
Kindly suggest me a way to block tis other than SP.
Regards,
Shyam
Hi Shyam....
Try This change XXXX with your original account code
IF @transaction_type in ('A', 'U' ) AND @Object_type = '30'
BEGIN
If Exists ( select t1.account from JDT1 T1
INNER JOIN OACT T0 ON T1.Account = T0.AcctCode
where t1.transid = @list_of_cols_val_tab_del and T1.Transtype='30' and t1.revsource <> 'F' and
Account='XXXX' or ShortName='XXXX'
)
BEGIN
SELECT @Error = 1, @error_message = N'Manual JE for these accounts is not permitted!'
END
END
Hope Helpful
Regards
Kennedy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
2 option:
IF (@transaction_type = N'A' or @transaction_type = N'U' ) AND (@Object_type = N'30')
BEGIN
IF @transaction_type = N'A'
BEGIN
if Exists ( select t1.account from JDT1 T1 INNER JOIN OACT T0 ON T1.Account = T0.AcctCode
where (t0.Fathernum in ('1111-add your own father account')
and T1.Transtype='30' and t1.revsource <> 'F'
and t1.transid = @list_of_cols_val_tab_del))
BEGIN
SELECT @Error = 1, @error_message = N'Manual JE for these accounts is not permitted!'
END
END
END
Hope this helps,
TVSon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shyam,
I am afraid ,You Can achieve this by using SP only or you can use Confidential Accounts but that will not be applicable in your case because GRNI is a Control Accounts.Else Give the User Read Only Access to Pass JE and Give Access to Pass JV where Authoriser/Manager can Post/Reject the Voucher where you will be having some control to restrict Posting of JE's for Specific GL's
Regards,
Vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.