11-19-2008 11:52 AM
Hi all
what is the badi or user exit used in transaction VF01 to validate the billing date with the system date..
If the billing date is not equal to system date, then it has to throw a message.. and it should not allow the user to save..
I have written the coding in program RV60AFZC and
in form USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN...
It is working fine.. but this event is not triggered while save..During save , even if the date is different it is saving..
Can anyone tell me the User exit or BADI that is called during save in vf01.
Cheers
Christina
11-19-2008 1:00 PM
Hi,
there is a user-exit that can be useful for u
SDVFX008
go to tx cmod, create a project and assign the user-exit to it. Write ur code there.
Regards
11-19-2008 11:58 AM
hi Christina Lavanya
you will be unable stop the transaction frm creating billing document, but u will be unable to post the accounting document
try going to vf02 and try to post the document ur error will be displayed
so try telling the client dat we can t restrict the creatign of billing document but we can restrict the account document creation
i have faced the same prob if u hav a better option jus reply me
shiva
11-20-2008 1:03 PM
Hi shiva
I got the answer for my question.. u can try with that..
User Exit : SDVFX008
go to tx cmod, create a project and assign the user-exit to it. Write ur code there.
Cheers
Christina
02-10-2009 5:14 AM
helo,
when i put my code in this exit my control not comes under my code
will u help me out how u solved the same
my prob. is i want user exit while saving ( called at pressing saving button)
mukesh
02-17-2009 7:42 AM
Hi,
Could you please tell me the user exit or badi which gets prompt while saving the billing document VF01?
Regards,
SATYA
11-19-2008 12:03 PM
USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
Regards,
Suraj
11-19-2008 12:16 PM
Hi
Good
Check the below SDN link, hope this will give you the idea about the BADI present in VF01 TCODE.
Thanks
mrutyun^
11-19-2008 12:48 PM
11-19-2008 12:31 PM
hi
use the following steps to find the badi on vf01 save
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
5. Then run your transaction.
6. The screen will stop at this method.
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
hope it works .....
thanks
sam
11-19-2008 12:50 PM
11-19-2008 1:00 PM
Hi,
there is a user-exit that can be useful for u
SDVFX008
go to tx cmod, create a project and assign the user-exit to it. Write ur code there.
Regards
06-27-2013 2:27 PM
Hi,
Best regards.
Diego Villalba
06-27-2013 5:44 PM
Diego, let me tell you few things:
1) if you raise a dead thread, we will not be able to know you are in a trouble (the thread appears as "SOLVED", and if not looking for the solution, people don't use to look at solved threads).
2) Telling us "it doesn't work" is a waste of time. Now we shall start asking you things like "what's the error message?", "why it doesn't work?" and the thread will be filled with a long chain of url links to help.sap.com...
I should ask you to open a new thread with:
1) a good subject: "VF01: User-Exit SDVFX008 problem" (if you can add some information about the problem with few words, add them)
2) a link to this thread (it will prove us you used the search tool, something that makes us happy and eager to help you)
3) a description of your problem (ie: "I created the project, activated the exit, and I expected to have XXXXXXXXXXXXXXX behaviour, but the system returns me YYYYYYYYYYYY"
4) a list of things you made/tried to solve your problem (it will prevent -some of- us to fill the thread with useless advices)
5) the code you added to the USER-EXIT (remember to use code tags to make them easier to read)
Good luck
PS: I don't know why it doesn't work, mainly because I don't have a clue about what you are trying nor what the system returns to you...because that, I can only give you these small advices.
06-27-2013 6:43 PM
Hi Diego,
Please do as suggested by Lozano to get better visibility to your Q's.
BR.
06-27-2013 6:46 PM