cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order Number Range

Former Member
0 Kudos

Hi,

Would like to know if is it possible, in SAP S/4 HANA Cloud, to assign different number range to the same SD document type based on organizational elements (e.g. Sales organization).

In the on premise version, such result could be achieved through program user exit (e.g. for sales document, the include program MV45AFZZ - USEREXIT_NUMBER_RANGE).

In Manage your solution, through configuration step 102819, number range for sales documents can be defined; while with configuration step 102495, number range can be assigned to each available document type.

Is such 1:1 relationship between number range and document type, the only option currently available on the SAP S/4 HANA Cloud? 

Thank you very much for your help.

Accepted Solutions (1)

Accepted Solutions (1)

zhaoyo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Luca,

Thanks for your question! Please be very careful in dealing with number range changes in S/4HANA cloud.

The user exit is not available on S/4HANA cloud. So you can only assign one number range to a sales document type. Please don't touch SAP predefined number range settings. Some customers changed SAP predefined number range, error occurred during S/4HANA cloud upgrade.

Best regards,

Yong

Former Member
0 Kudos

Thanks a lot for the explaination and the suggestion.

Answers (1)

Answers (1)

Sai_Kasturi
Employee
Employee
0 Kudos

Hi Luca,

Assigning different number range to sales documents based on custom logic such as org. elements is currently not supported in S/4HANA Cloud. There is no corresponding BAdI to support this extension.

However, I'm not sure if its relevant for your business requirement - the solution supports flexible billing document numbering.

You can use it to allocate a newly created billing document of a given billing document type to one of several internal number range intervals. This enables a flexible allocation of billing documents to number range intervals that is dependent on one or more attributes (header fields) of the billing document that is to be created.

The document number of the new billing document is drawn from the number range interval that the custom logic determines. The custom logic in the BAdI method determines the correct number range interval for a given billing document by evaluating whether specific billing document header fields satisfy certain conditions that you must specify when implementing the BAdI.

Examples of these fields include the originating sales organization, company, tax departure country, and any custom fields that have been added to the billing document header through extensibility. Depending on the result of the evaluation, the system then creates the new billing document number in the number range interval that you have specified to be appropriate for the situation.

Business Context: Sales - Billing Document

BAdI: Flexible Billing Document Numbering

Thanks

Sai