Hi Gurus,
i have one requirement to generate number range plant wise for commertial invoice.
for this requirement i am using user exit RV60AFZZ.
i created one ztable in i am maintaining plant wise number range.
i have created one Zobject eg."ZTEST'using SNUM and for this object i maintain number range interval.
my pbrobelm is how to pass my zobjet to this function module.
because system is calling this function module after end of this subroutine in which object is hardcode
insted of RV_BELVG i want to pass my zobject. please help me on this......
call function 'NUMBER_GET_NEXT'
exporting
nr_range_nr = '01'
object =' RV_BELVG'
importing
number = gexno
exceptions
interval_not_found = 1
number_range_not_intern = 2
objec
t_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
others = 8.
if sy-subrc 0.
Rgards...