on 02-15-2012 10:18 AM
Hi Gurus,
Does anyone know if is it possible, by customizing or user exit, to prevent in VF01 the introduction of a previous billing date, compared to the billing date of the other invoices created for a specific sales organization?
Best Regards,
Pedro Mariano
Hello,
In SAP Standard you can do it as below:
ToCT-Code VTFL - select the Delivery & Invoice Types & go to Item Details. Select the required Item Category & under Data VBRK/VBRP isert Routine no. 011 - Bill. date= Today
But the above will apply to Item Caegory & Billing Type. There is no check for Sales Area.
Thus for your requirement you will have to apply a User Exit.
We have done something similar by inserting a ABAP code in Program: RV60AFZZ
The code is as follows:
IF VBRK-FKDAT < LIKP-WADAT_IST.
MESSAGE E001(ZSD5).
ENDIF.
It check the PGI date & Billing date, in your case you can insert a code to check the Current date (system date) & the Billing date & give a error message.
Thanks,
Jignesh Mehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.