10-14-2008 8:36 AM
Hello,
I need to trigger a custom program whenever a user creates a sales invoice.
Apparently, there's no change document created at creation, only on updating an invoice. There seems no user exit/badi which gets triggered on saving an invoice...
Is there someone who could help me a bit ?
thanks !
10-14-2008 8:45 AM
Hi,
try using MV45AFZZ or RV60AFZZ
goto spro-> sales & dist-> System Modifications -> User Exits
open each of them and check the documentation next to it.
Regards,
Amit
10-14-2008 9:17 AM
Hi,
Find Badi Like this.
1) Go to the transaction SE37 to find your function module.
2) Locate the function SXV_GET_CLIF_BY_NAME.
3) Put a breakpoint there.
4) Now open a new session.
5) Go to your transaction.
6) At that time, it will stop this function.
7) Double click on the function field EXIT_NAME.
😎 That will give you name of the BADI that is provided in your transaction.
Also Check this .
[Link|http://www.uber-goober.com/forums/showthread.php?t=101884]
[https://forums.sdn.sap.com/click.jspa?searchID=17414617&messageID=6233206]
Rhea.
Edited by: rhea on Oct 14, 2008 10:25 AM
Edited by: rhea on Oct 14, 2008 10:27 AM
10-14-2008 9:27 AM