on 07-29-2010 12:52 PM
Hi
we want restrict the gl while payment
EG: 200004g/l cash in hand ,balance having 10000 and payment is 11000 in this case system does not allow the user for payment and if there is 0 balance in that case also does not allow the user.I did the validation like..
prerequisite gl a/c=200004
check debit/credit =h and amount local currency <=gl account
but it is not working ..please guide me
Nope, you have to define the validation like this:-
Step 1:-
Create a message ID via transaction code SE91 for message class /EACC/MSG/ACC_COMP as you want to display to user.
Step 2:-
Go to transaction GGB0 and create the validation step at Line Item level in Financial Accounting as below:-
Pre Requisits:-
BKPF-HKONT = '0000200004'.
Check:-
Create a exit code using user exit and check the open balance of the GL 200004 as on posting date.
For this take the help of ABAPer and create a copy of the program RGGBR000 and code your check here and assign to the application area GBLR in view V_T80D via transaction code SM30.
Message:-
Message created in step 1 as error message.
Step 3:-
Please also check that this validation has active status (Status=1) at line line item level (level 2) for your company code in transaction OB28.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
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.