cancel
Showing results for 
Search instead for 
Did you mean: 

Bill Date restrict

Former Member
0 Kudos

Hi,

I need the billing date to be only in the current month period

i.e. the user can create billing doc only in the current months period range if he wants to.

ALso if this is not possible i need to restrict the user to not create the billing doc. in the future date

but if he wants to do the billing doc in the past it should be from the current month date range

Rgds

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hai

Use this following User Exit to fulfill ur needs.

USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program

RV60AFZC)

Depending on the number range, table TVFKD is used to set the

billing date.

Reg.

Subramanian.ramasamy

Former Member
0 Kudos

Hiiiiii,

Is this current date is equal to system date?

Then develop the logic in the followign exit

USEREXIT_FILL_VBRK_VBRP

Rewards if it helps

Regards

Goutham

Lakshmipathi
Active Contributor
0 Kudos

Apply routine 11 in VTFL for the field Data VBRK/VBRP so that your requirement will be fullfilled.

For information, if you apply this routine, system will only consider the date on which the billing is created. It can neither be predated nor post dated.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi Laxmipathi,

Thanks but this routine will give the inv date only as current date what i want is

that the billing date should not be in the "future date" and if its in back date it

should be only upto in the current month

eg:Suppose today is 10th of september then user can't enter billing date as 11 or 12 sept

but he can enter date upto 1st of september.

I wanna map this in SAP.

Rgds & thanks again

Lakshmipathi
Active Contributor
0 Kudos

In that case, you can try with user exit USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)

thanks

G. Lakshmipathi