cancel
Showing results for 
Search instead for 
Did you mean: 

No Output if the Invoice value is Zero

Former Member
0 Kudos

I do not want an output to be triggered if the invoice value is zero. I have created a VOFM Output requirement routine changing the sy-subrc to 4 if the invoice value is zero (CHECK : KOMKBV3-NETWR GT '0.00') . I have also assigned this routine to the output type (RD00) in the output determination.

When I create a invoice with zero value the output is still getting triggered. Can you please let me know if I am missing something here.

PS: During debugging we found that routine is successfully triggered and sy-subrc is changed to 4 when the value is Zero.

Accepted Solutions (0)

Answers (2)

Answers (2)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Run report RV80HGEN in the system. For further information see

Note 326560 - Various problems when using VOFM functions

Note 327220 - VOFM function and its objects

See in note 327220 the section "2.4 Calling VOFM objects" to understand it.

I hope this helps you

Regards

Eduardo

Edited by: E_Hinojosa on Feb 10, 2012 12:02 PM

former_member217082
Active Contributor
0 Kudos

Hi

Welcome to SDN Forum

Instead of assigning the routine to output type assign the routine to the access sequence key combinations.Maintain the condition record for RD00 output type also.Then you create billing document and then check wheather output type is getting triggered or not

Regards

Srinath