04-06-2009 2:03 PM
Hi All,
I am using Number range USEREXIT for invoice creation- VF01.
So, while creating invoice, userexit will trigger, as per our logic provided,system generating numbers as expected.- which is working fine.
Where as, in VF02, transaction , i was trying to release invoice to Accounting,
system prompts with the below error message.
Fyi, in my invoice doc type: Number range- interval-19, which has numbers mentioned in the error message below:
am expecting, that when i release invoice to accounting from VF02 transaction, system triggering number range from invoice doc type,- But I dont understand, why it is triggering number range interval again, for which number is already createed in VF01
Error Message:
Incorrect doc.no.: 9003000002. Select document number between 0090000000 and 0094999999
Can someone, have any inputs??
Thanks in advance
04-06-2009 4:10 PM
you can write a code saying if sy-tocde = va01.
endif.
in between these lines place your code
04-06-2009 4:41 PM
Hi,
You can make use of exit userexit_number_range inside RV60AFZZ.
Regards,
Babul.
04-09-2009 4:08 PM
Problem occured bcoz of Accounting doc type RV, number range. its not bcoz of Userexit coding.