cancel
Showing results for 
Search instead for 
Did you mean: 

Plantwise Number Range

Former Member
0 Kudos

If u have 2 different plants and want different number ranges for it if u create a sales order, delivery and billing for the same customer, material and sales area and only different between the two orders, delivery and billing is they have different plants.

How will u do it ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

In order to maintain the number range based on plant follow following steps

1) For Billing

program RV60AFZC

USEREXIT_NUMBER_RANGE_INV_DATE

maintain a Ztable say Znumrange with fields as plant and number range.

Above user exit should be coded in such a way that it will check the plant in the sales document against the plant in Ztable and select the number range assigned against that plant in Ztable.

Hope this will solve your problem.

2) Alternatively you can use the concept of business place and achieve the same without using the user exit.

Cheers

Prashant

former_member204513
Active Contributor
0 Kudos

Dear Tushar,

If you want the number range based on the plant you need to go for the User exits.

You discuss with your technical people (ABAPers) tell the requirement they will help you activate the User exits to meet the requirement.

Go through these User Exits these will usefull to get your requirement.

For sales order

Program-MV45AFZZ

USEREXIT_NUMBER_RANGE

For Billing

Module pool SAPLV60A, program RV60AFZC

USEREXIT_NUMBER_RANGE_INV_DATE

I hope it will help you

Regards,

Murali.

Former Member
0 Kudos

The other way to do it is to create YOR Sales order for first plant & ZOR Sales Order for other plants. Here maintain separate number ranges for both two types.

The same is for Delivery & Billing.

Regards,

SAGAR

Former Member
0 Kudos

Hi Tushar

This can be done with a EXIT with a extewrnal table maintained

Thanks

Sri