Skip to Content
author's profile photo Former Member
Former Member

Different Number Range Object in Place of RV_BELEG


I have to create invoices with specific number ranges for each company code.

The Number Range Object being used is RV_BELEG. I need to create another Number Range Object ( a Z Number Range Object) to be shared between two modules.

How can I overwrite the existing number range with my own object which I have created for generating billing documents in SD.

OR is there any way, I can create a Z Table containing number ranges of my own to change the Billing Documents Numbers while processing.

If yes, where do I insert this code.

Suggestions welcome.


Manu Kapur

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 03:26 PM

    Create a ZTABLE with the requried criteria like company code, sales org, document type and the number_range fields. ( on the criteria you want). The number_range fields values should be present in the RV_BELEG object

    Refer this table in the USER_EXIT RV60AFZZ at: FORM USEREXIT_NUMBER_RANGE

    in the program move the Ztable-number range to the input parameter of the FORM USEREXIT_NUMBER_RANGE.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.