cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice Block

ranjeetrajendra_jain
Active Contributor
0 Kudos

Hiya

I have a scenario wherein i want to block the invoice (any invoice ) which would have 0.00 value

any suggetions

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

By blocking i assume you mean that the doc should not be created. Try this user exit USEREXIT_FILL_VBRK_VBRP,program RV60AFZC

Regards,

Saurabh

ranjeetrajendra_jain
Active Contributor
0 Kudos

Just a thought ..

is there any way i can do it from incompletion at item category or something by putting netwr(net value field) -- so that it would check for this field....

thanks a lot for your reply

Former Member
0 Kudos

Yes, u can include VBAK-NETWR at header level in incompletion log with status as 04 assigned.....so when u create a bill system will throw u an error

Document XXXXXXX is incomplete so billing cannot be carried out

where XXXXX is sales order

Regards

Jagdish

Former Member
0 Kudos

Hi,

If your query is still the same i.e you have to block invoices with zero value than incompletion will not work for two reasons-1. The system does not check incompletion at the billing level, you will have to put a check at the sales order lever ( incompletion procedue) or put an userexit at invoice that will check the incompletion at the sales order.

2. For the system even a value of 0.00 in field defined for incompletion is not ok. The system will take the field to be complete.

Regards,

Saurabh

ranjeetrajendra_jain
Active Contributor
0 Kudos

Hi jagdish thanks for your reply

i did try it and at item level if i take it from vbap - netwr it does block at the sales order level with status as 06.. now you suggested that with status group 04... what would happen is net value in sales order will have to be 0.00

This happened in my case...

We have created a order in dec and the pricing was re determined in billing which happened in jan..

now there was no record for jan hence net price came to 0.00 and the invoice was created...

our incompletion would only work if the pricing is carried from SO as 0.00 to billing, which unfortunately is not in my case.

so the last resort i think as you correctly said is user exit, however i also feel it as a flaw in SAP not allowing me to have an incompletion at billing level ( though this was the first case i came accross i think there can be many such)

Thanks a lot for your help

Ranjeet

ranjeetrajendra_jain
Active Contributor
0 Kudos

thanks for your reply saurabh, however it did work with that ...

Answers (1)

Answers (1)

Former Member
0 Kudos

Try using user exit USEREXIT_SAVE_DOCUMENT_PREPARE under program MV45AFZZ and give condition of providing block if net value is 0.00

Regards

Jagdish