Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

trigger custom program on creation sales invoice (VF01)

Former Member
0 Kudos

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 !

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member181995
Active Contributor
0 Kudos

Edited by: Ámit Güjärgoüd on Oct 14, 2008 10:27 AM