‎2008 Jun 17 8:49 AM
Hi Friends,
I need to know the user exit in t-code VF01, which will execute just after saving the billing document in vbrk and vbrp tables, i.e. i need the the data of VBRK and VBRP tables along with the billing document number.
I need the billing document number and its data from VBRK and VBRP tables, which i will insert in a Z-table. Please provide me the Userexit name for the same which will cover my requirement.
Krishan Raheja.
‎2008 Jun 17 10:52 AM
Hi,
Follow this steps, you will get the exact BADI.
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.
Regards
Chaitanya
‎2008 Jun 17 8:54 AM
hi,
check this badi.
SD_CIN_LV60AU02 BADI for billing
this contains both vbrk and vbrp structures.
reward points if hlpful.
‎2008 Jun 17 9:02 AM
hi,
the badi you have mentioned is not going to execute, the menthod is IF_EX_SD_CIN_LV60AU02~EXCISE_INVOICE_CREATE.
I have written a break point in this method bystem is stoping there.
Please rectify if i am wrong. and tell the correct method name.
‎2008 Jun 17 10:39 AM
‎2008 Jun 17 10:47 AM
Hi,
Try to use exit USEREXIT_FILL_VBRK_VBRP in the include RV60AFZC.
Refer the list of exits available for VF01.
https://forums.sdn.sap.com/click.jspa?searchID=12979345&messageID=3161782
Regards
Kiran Sure
‎2008 Jun 17 10:43 AM
Krishan,
in MV45AFZZ search the term
FORM USEREXIT_SAVE_DOCUMENT.
start your coding in this section.
Amit.
‎2008 Jun 17 10:50 AM
Hi,
Open class CL_EXITHANDLER in se24 and put a breakpoint @CALL METHOD cl_exithandler=>get_class_name_by_interface
It will give u all exits,BAdi's or enhancement points.
Reward if useful.
Regards
Susheel
‎2008 Jun 17 10:52 AM
Hi,
Follow this steps, you will get the exact BADI.
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.
Regards
Chaitanya
‎2008 Jun 17 11:24 AM
Hi,
I got the list of BADIs, but from all of these BADIs I am not able to get the required BADI, cann't you suggest me ant user-exit or customer exit.
My requirement is as follow.
I need the data of VBRK and VBRP tables and the Billing dcoument number while saving the Billing document i.e. after saving the document i need the space where i can write the code, and i can get the billing document number as well as the data of VBRK and VBRP tables.
Please reply me ASAP.
‎2008 Jun 17 11:27 AM
Dont expect Spoon Feeding!
have you reward all guys as they replied?
Amit.