on 10-04-2010 7:28 AM
Hi Experts,
I have newly assigned number ranges for the all the billing documents for the fiscal year 2010-11.
The newly generated billing documents are picking the newly assigned number ranges except one billing document typa.
for tha particular billing document type,the no.ranges are picking from the previous year(old) no.ranges.
I have checked in VOFA that "No.range int.assgt. is V5 and no.ranges also created for V5.
What may be the reason so that the newly assigned no. range is not working for particular one billing document type?
Please suggest.
Regards,
Sumeya Offrin
Hello,
notice that in SD, the numer range does not depend on the Fiscal year, but only on Billing type.
So I suspect you implemented the userexit USEREXIT_NUMBER_RANGE in program RV60AFZZ to set number range according to combination that includes Fiscal year.
Please check that userexit.
Best regards,
Ivano.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivano,
Thank you for the response.
I have not created the number range fiscal year wise.I have created the new no.range as the previous assigned
number range is about to finish.its working for all the billing document types except one billing document type.
what may be the reason as the newly assigned no.range is not working?
Best Regards,
Sumeya Offrin
Hello,
did you check if the userexit is implemented ?
The relevant source code is
da_numki = tvfk-numki. < get number range from customizing in DA_NUMKI
IF xvbrk-numki = tvfk-numki.
PERFORM userexit_number_range USING da_numki. < call userexit evenutally changing DA_NUMKI
IF da_numki NE tvfk-numki.
PERFORM tvfkd_lesen USING da_numki.
IF NOT tvfkd-fkdat IS INITIAL AND
xvbrk-fkdat NE tvfkd-fkdat.
MESSAGE a145 WITH xvbrk-fkdat da_numki.
ENDIF.
ENDIF.
ELSE.
number_range changed in userexit number_range_inv_date
da_numki = xvbrk-numki.
ENDIF.
Neue Nummernvergabe außer im Simulationsmodus
IF NOT kom-posting EQ 'H'.
CALL FUNCTION 'NUMBER_GET_NEXT' < get number from number range in DA_NUMKI
EXPORTING
nr_range_nr = da_numki
object = 'RV_BELEG'
ignore_buffer = no_buffer
IMPORTING
returncode = ld_returncode
number = xvbrk-vbeln > billing number
Best regards,
Ivano.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.