cancel
Showing results for 
Search instead for 
Did you mean: 

Billing number range

Former Member
0 Kudos

Hi,

I have scenario sequence like Order type: ZES1, Sales area (1001-10-11) & plant 1002 and another Order type is ZES1, Sales area (1001-10-12) & plant 1002.Different of two sales area : 11 is defined for Hand pump division & 12 is defined for Drip division.Client requirement is they will be same Pricing procedure "ZINIMP" both for Order type ZES1 and when they will raise Billing document at that time it should be picked up different number range, e.g, 21108001 & 41311001 but it is picking up 21108001 & 21108002. How system differentiate the No.range and where ? request for quick response.

Regards

Jibanjyoti

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You need to use USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ) to achieve this. Normally you define the number ranges in a Z-Table based on the plant code. Take the help of an ABAPer for this.

Regards.

Answers (6)

Answers (6)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

This is possible with the help of a user exit & maintaining a Z-Table on the basis of your combination. This can be done for sales order, billing & delivery documents.

Thanks

madhu_vadlamani
Active Contributor
0 Kudos

Hi Jyoti,

Use the enhancement USEREXIT_NUMBER_RANGE, Module pool SAPLV60A, program RV60AFZZ. Maintain a Ztable and get from there.

Regards,

Madhu.

Former Member
0 Kudos

3 steps

1. Create the number ranges

2. Define a table with the sales area and assign the number range as per the created number ranges.

3. Write the code in USEREXIT_NUMBER_RANGE to pick up the designated number range while invoicing by passing the sale area.

Thanks

Indranil

Former Member
0 Kudos

you need to define 2 number ranges as your requirment and assign in VOFA billing type one, next one will pick when division is "12" You can change billing document number range in your billing user exit, take abap help in development.

USEREXIT_NUMBER_RANGE, Module pool SAPLV60A, program RV60AFZZ

check this llink for more infor

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

Edited by: ram ki on May 20, 2011 11:54 AM

Former Member
0 Kudos

Hi

The number range will be maintained in billing document type(eg.F2) in VOFA.

You can have 2 billing types for two Sales area still having same pricing procedure. Create one more billing type or copy from the existing one and Assign diff number ranges in billing document types.Number range can be maintained in VN01.

Do revert for if you have any doubts

Edited by: ta.adithya on May 20, 2011 11:47 AM