on 2010 Jul 23 4:16 PM
Hi,
I want to prevent an invoice or downpayment being posted for a specific vendor group, how do i achieve with validations, I have never done validations, can i get setps and syntax associated with it.
Thanks
To make this, you can write the validation as below:-
Step 1:-
Create a message ID via transaction code SE91 for message class /EACC/MSG/ACC_COMP. The message text should be which you want to display to the user.
Step 2:-
Go to transaction GGB0 and create the validation step at line item level in Financial Accounting as below:-
Pre Requisits:-
If Posting Key is '31' or '25'
Check:-
Create a exit code using user exit and check for the account group of the vendor
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 item level 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.
User | Count |
---|---|
105 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
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.