cancel
Showing results for 
Search instead for 
Did you mean: 

number range

Former Member
0 Kudos

How can I define plant wise number range in sales order and billing .

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

'u have to use user exits for plant wise billing and for order

this is for billing

Different Billing Document Number range based on Company code / Plant Code for the same billing type.

The Following are the example for different invoice number based on Plant.

Use the Exit RV60AFZZ.

FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.

if (

xvbrk-fkart = 'ZF3' or xvbrk-fkart = 'ZF2' )

and xvbrk-vkorg = '1000'.

case xvbrp-werks.

when 'AGR'.

us_range_intern = '22'.

when 'AHD'.

us_range_intern = '28'.

Endif.

ENDFORM.

USEREXIT_NUMBER_RANGE includes in MV45AFZZ

for sales order i think u have to use MV45Afzz

Former Member
0 Kudos

Use include MV45AFZZ in SAPMV45A Program

FORM USEREXIT_NUMBER_RANGE