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: 

Block Invoice from 0 Dollar line Item

Former Member
0 Kudos

Hello,

How do I block an Invoice from Posting if any of the line items in that invoice has zero dollar amount? Please advise ..Thanks

Vicky

3 REPLIES 3

Former Member
0 Kudos

Hi Vicky,

U need to write a exit to display the delivary block if there is a price difference.

For VA01, this is the standard program SAPMV45A

In this program u have these user exits

        INCLUDE MV45ATZZ.             " Data definitions in MV45ATOP
        INCLUDE MV45AOZZ.             " User-modules PBO
        INCLUDE MV45AIZZ.             " User-modules PAI
        INCLUDE MV45AFZA.             " User-forms < 3.0
        INCLUDE MV45AFZB.             " User-forms
        INCLUDE MV45AFZC.             " User-forms < 3.0D
        INCLUDE MV45AFZD.             " User-forms   3.0E
        INCLUDE MV45AFZF.             " User-forms   3.0F
        include mv45afzg.             " User-forms   3.1G
        include mv45afzh.             " User-forms   4.6B
--->    INCLUDE MV45AFZZ.             " User-forms
        INCLUDE MV45AFZ4.             " User-forms   4.0

i u can write in this Include MV45AFZZ

Best regards,

raam

Former Member
0 Kudos

I want the delivery to be made but the invoice shud be blocked if there is no price on the item orr 0 dollar price at the item level..Thanks

Viky

0 Kudos

Have a look at the enhancements:

V60A0001

i.e: The EXIT: EXIT_SAPLV60A_002

or

V61A0001

i.e: EXIT_SAPLV61A_002

Regards,

Ravi