Skip to Content

Number range split for Quotation based on Distribution Channel

Dec 09, 2016 at 04:31 AM


avatar image

Hi Folks,

I have a requirement to use different number range if distribution channel in quotation is "Export". For rest other quotations with any distribution channel internal number range should be picked up.

Quotation transaction type ZQ01 will change the internal number range based on the distribution channel.

Internal number range 15 is currently assigned to ZQ01.

System should select the other number range (may be number range 16) if the distribution channel is “Export”.

I found below two option. Please suggest which one is simpler and has no impact in future.

Kindly suggest if any changes or improvement is required in below logic.

Logic 1:


Need to put logic inside the Function module. If the Distribution channel is 12 (Domestic), System should pick the number from Internal number range assignment i.e 15.

If the distribution channel is 13 (Export), system should be able to select the other number range i.e 16 and assigned to transaction while saving the document.

Add an enhancement to the FM NUMBER_GET_NEXT and change the parameter NR_RANGE_NR

Logic 2:

In BADI ORDER_SAVE in method CHECK_BEFORE_SAVE check the criteria (Distribution channel is Export) and if so fill in object_id with next number from appropriate number range you chose (NUMBER_GET_NEXT function module).



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Maggie Su
Aug 01, 2017 at 12:37 AM

Hi Nikhil,

Did you find solution to the requirement?

Is using different transaction types with different number ranges an option?

Best regards,


10 |10000 characters needed characters left characters exceeded