cancel
Showing results for 
Search instead for 
Did you mean: 

Bill Date not later than PGI date

Former Member
0 Kudos

D/ Friends,

Suppose PGI date is 3.6.2010 & user is creating bill doc on 5.6.2010 but entering a date later than PGI date say e.g 2.6.2010. Now we want that sys shd not accept a manually entered bill doc date later than PGI date. I think, Iu2019ve made my issue very clear. So how to achieve this thru std. config? We know that thru ABAP a u201CZu201D chck is possible to apply for this scenario but we want to do it thru std. config. Pls help.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Go to VTFL, select the item category for the combination of your delivery type and billing type and maintain routine 011 for the field "Data: VBRK/VBRP". If you have already assigned a different routine, then add this code

VBRK-FKDAT = SY-DATUM"

Also the above routine will only propose the system date but it can be changed manually. In order to prevent this, you can make the date field as grey through billing exit USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC). By doing so, system will always system date (if you applied routine 11) or the actual GI date which cannot be changed.

thanks

G. Lakshmipathi

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

This cant be done through configuration. You have to take help of your developer to insert a code to restrict the manual entry

Please also check the user exit

USEREXIT_FILL_VBRK_VBRP in which you can put the code

regards,

santosh

0 Kudos

Bill date allways before or current date of PGI only.