cancel
Showing results for 
Search instead for 
Did you mean: 

payment

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

0 Kudos

myself