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: 

Stop invoice Creation in VF01 by User Exit..

Former Member
0 Kudos

Hi All,

I need to stop the creation of the Inovice Document in VF01, if some conditions are satisfied in the user exit EXIT_SAPLV60A_002. Now I am using the error message of type 'E' in the user exit. Is there any other way in stoping the creation of the Inovice document?..

Please help

Asha

3 REPLIES 3

Former Member
0 Kudos

Hello,

In place of error message keep the EXIT key word and try to stop the invoice.

Former Member
0 Kudos

Hi Santhosh,

I already put EXIT.. But it didn't work...

Regards,

Asha

0 Kudos

try LEAVE PROGRAM.