cancel
Showing results for 
Search instead for 
Did you mean: 

payment

0 Kudos

Hi

one of my client issued the check to vender where there is no balance.how can we restrict the systems to post the payment if there is a balance and not allow to post more than the balance

thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

To make the the check on the vendor balance mandatory for making a payment, you can write the validation as below:-

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-BSCHL = '25'.

Check:-

Create a exit code using user exit and check that the vendor (LIFNR) is having at least balance >= the payment being made. There are function modules to fetch the vendor balance on a key date which will be posting date of the payment being made.

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 complete document level (level 3) for your company code in transaction OB28.

Regards,

Gaurav