2011 Dec 20 4:10 PM
Hi Experts,
In my current project, it is required to have one invoice number range for a rate category. Say for example, for rate category R1, invoice number range should be starting from "8", for rest of the rate category it will be starting from "7".
In the current system all the number ranges are starting with "7". I have made new number range starting with "8". I have not assigned that to any document type.
Can you please tell me if any events/exit/badi/enhancement spot available to write the above logic?
Or can anyone suggest any other way to meet the requirement?
Regards,
Bodhayan
2011 Dec 21 4:56 PM
Hi,
Assigning a document number for print documents is in the function module ISU_INV_NUMBER_GET.
I suggest you to create new document type and then assign the new interval for those documents.
2011 Dec 22 7:34 AM
Hi Vladimir,
Thanks a lot for your response.
In the current production system for invoicing document type is FA and from finance side also document type is FA.
There is one FM "ISU_NUMBER_GET_NOGAPS" call inside "ISU_INV_NUMBER_GET".
In ISU_NUMBER_GET_NOGAPS, by changing the document type to "IN" in debug mode (for this document type "IN" new number range being assiged), SAP is taking the new number range as desired
So in that respect, can you please let us know exits/enhancement spots etc to write code?
Regards,
Bodhayan