cancel
Showing results for 
Search instead for 
Did you mean: 

Billing Date in VF11

Former Member
0 Kudos

Hello Experts,

I want to cancel the Billing Document (VF11).

For example a Billing Document XXXXXXXX with Billing Date 15th March 2009.

Now I am cancelling on 20th March 2009.

In this case Billing date in the cancelled document (XXXXXXXX + 1) will be 15th March 2009 only. And if I would have enterd date (20th March 2009) while cancelling, then in the cancelled document (XXXXXXXX + 1) it would have been 20th March 2009.

Client's requirement is that in the cancelled doument the date should be only current date i.e. in above case 20th March 2009 even if I dont specify while cancelling..

How can I do that?? Can I use User Exit?? If yes, which one.. if not, what else can I do?

Thanks in advance.

Regards,

HP

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks...

former_member206976
Active Contributor
0 Kudos

Hi,

It is possible to give manually the date when you cancel the billing, give in header to days date.

regards

Former Member
0 Kudos

Hi,

Yes its possible to enter today's date while cancelling document, I already mentioned it ... but my requirement is to make the today's date default.. regardless of whatever date is there in preceeding document or entered while cancelling...

Any inputs..??

Thanks in Advance..

Regards,

HP

former_member217082
Active Contributor
0 Kudos

Hi Hardik Patel

But if you want to change it then you can change the billing date to today's date and grade it out by writing and assigning a sub-routine in the program of VF11

Regards

Srinath

Former Member
0 Kudos

Hello Srinath,

Can you please elobarate more on your solution...

Thanks in advance..

Regards,

HP

former_member217082
Active Contributor
0 Kudos

Hi Hardik Patel

As you want to change the billing date to today's date , and grade it out firstly check the program of VF11 by go to VF11->Environment->system->program . Now with the help of technical consultant ask him to include a Sub-program . giving a logic that whenever you run VF11 , the billing date should be today's date and it should be graded out

Regards

Srinath

Former Member
0 Kudos

HI Hardik

Goto T code VTFF: select your SOURCE and TARGET document types and double click on item on right hand side.

Select your item category there and Click on Details botton(Cntl + Shift + F2).

there in Data VBRK/VBRP select "11".

It will solve your problem.

try and revert.

Former Member
0 Kudos

Dear Yadav,

Thanks for response..

As u said I have already tried VTFF and I have idea about Routin 11 (Billing Date = Today)

But here in VTFF I could not find the Source and Target Billing Types as F2 and S1 respectivly.

So I was thinking of two options one is User Exit and the other is calling a BDC with proposed date..

Any other suggestion???

Thanks in Advance..

Regards,

HP

Former Member
0 Kudos

Hi,

You can use user exit RV60AFZD for do this restriction.

Put the necessary logic at the routine USEREXIT_NEWROLE_XVBPAK_AVBPAK in user exit RV60AFZD.

Hope this help.

cheers,

Former Member
0 Kudos

Hi Ed,

It was very helpfut information and I going to use it also. But I would be thankful if u can clear my small doubt.

As u mentioned about user exit "RV60AFZD", I just searched it in SAPLV60A and I got User Exits as mentioned below...

include rv60afzz. " FORM's Userexit's

include rv60afza. " FORM's Userexit's

include rv60afzb. " FORM's Userexit's

include rv60afzc. " FORM's Userexit's

include rv60afzd. " FORM's Userexit's

Now out of these How to decide upon which should be used or we can use any of them???

And I searched for program from System > Status and I got Program SAPMV60A which is different from SAPLV60A... So how did u get that also??

Thanks in Advance..

Regards,

HP