Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Number Range - Billing Document

Former Member
0 Likes
1,065

Dear Experts,

I have gone through many of forum, I couldn't find any solution. So please help me on this.

Requirement: We have the 4 Different plant, so the number range should be as follow,

                     Plant               Number Range

                         1                 11A000000 ....

                         2                 13B000000 ....

                         3                 15C000000 ....

                         4                 17D000000 .......

Error: Functional consultant is trying to create a number range but It is not allow them to create Alphanumeric range.

Conclusion: They raised the request to Technical team. So I gone through many forum but I can see the many of discussion regarding this. But I couldn't find any solution. Hence I request to share your knowledge.

Thanks & Regards,

John K.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,001

AFAIK this is not possible with internal range number, you have to manage a numeric range, and find some  BAdI/Exit to change the number in document (provided the domain allows alphabetic characters)

I suppose you may already have used USEREXIT_NUMBER_RANGE (include RV60AFZZ, documentation at User Exits For Billing) to allocate interval to plant. From the includ with a where-used search you should find (2?) call of this exit and the following call of NUMBER_GET_NEXT to find some enhancement point to change generated number (there should be an explicit enhancement point available in enhancelent spot ES_SAPLV60A)

Regards,

Raymond

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,002

AFAIK this is not possible with internal range number, you have to manage a numeric range, and find some  BAdI/Exit to change the number in document (provided the domain allows alphabetic characters)

I suppose you may already have used USEREXIT_NUMBER_RANGE (include RV60AFZZ, documentation at User Exits For Billing) to allocate interval to plant. From the includ with a where-used search you should find (2?) call of this exit and the following call of NUMBER_GET_NEXT to find some enhancement point to change generated number (there should be an explicit enhancement point available in enhancelent spot ES_SAPLV60A)

Regards,

Raymond

Read only

0 Likes
1,001

Dear Raymond,

Thanks for your suggestion. The exit used in the following function module

1. RV_INVOICE_DOCUMENT_ADD

2.RV_INVOICE_LIST_DOCUMENT_ADD

1. RV_INVOICE_DOCUMENT_ADD

          Using your suggested spot ES_SAPLV60A. I found explicit enhancement RV_INVOICE_DOCUMENT_ADD_32. Can I use it for my requirement ? Please give me your suggestion. Please find the attachment.

2.RV_INVOICE_LIST_DOCUMENT_ADD

     I couldn't find any Explicit or Implicit for this function module. I think Here the Billing document number will get create. am I correct ?  If It get create here, can you please tell me the possible way to achieve my requirement.



Regards,

John

Read only

Former Member
0 Likes
1,001

Dear All,

Any help regarding the above requirement ?

Read only

0 Likes
1,001

Hi.

Have a look at this documentation on number range enhancement for SD

http://www.saptechsolutions.com/pdf/SDDocumentNumberRangeEnhancements.pdf

Hope to help

Bye