cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order number range

former_member431487
Participant
0 Kudos

Hello,

We use a custom order type ZAS with internal number range assigned in config.

Now I have a requirement that orders created by Idocs should have an external number range sent by customer.

Can we maintain both internal and external number range for same document type? I added external range also in config but it is not working. Is the only option to create a new document type with external number range?

Thanks,

Karan

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos

Yes it is not possible to have both for one document type. Either you can differentiate the external number based on certain validation or have a different document type.

VeselinaPeykova
Active Contributor

Actually, it is possible to use external and internal number range for the same document type simultaneously in a standard system, we were using this in a few projects. 🙂

former_member431487
Participant
0 Kudos

Can you please share how you are doing that.

VeselinaPeykova
Active Contributor
0 Kudos

There is nothing special, really:

1. Maintain number range intervals (one internal and one external in SNUM for RV_BELEG). You can, of course, use existing ones - it depends on what the business needs.

2. In VOV8 enter the internal number range interval in No.range int.assgt. and the external number range in No.range ext. assg.

After this you can create sales orders of this document type with internal and external number range. 🙂

JL23
Active Contributor
0 Kudos

What exact meaning is behind "is not working" ? Usually SAP communicates with the user using messages (warning, error, status, information messagesw), in the Idoc too

former_member431487
Participant
0 Kudos

We have a custom table where we assign sales document type and sales org to a particular number range which is defined in VN01.

If I select external number range checkbox in VN01 then I get error "Specify an internal interval" while trying to create sales order manually.

I want to use the same document type and number range for both automatic (Idocs) and manual orders. Is there any way to do that?

JL23
Active Contributor
0 Kudos

I understood what you want. But I do not know what the message is and whether this message is standard or made by your company.

former_member431487
Participant
0 Kudos

It is standard message NR 752

JL23
Active Contributor
0 Kudos

in an old discussion the text to this message is Please specify an internal number range.

But this alone does not tell much, it can mean that you only defined an external range, it could also mean that you have no number in your Idoc that could act as external number.

VeselinaPeykova
Active Contributor
0 Kudos

"We have a custom table where we assign sales document type and sales org to a particular number range which is defined in VN01"

Check with a local ABAPer whether the exit is causing some problems, because you are substituting the number ranges in VOV8 with different ones and it is possible that no one thought of utilizing both external and internal number ranges when they built the logic.

"I want to use the same document type and number range for both automatic (Idocs) and manual orders."

This is the exact opposite to what you originally asked in your question where you wanted to use external and internal number range for the same document type. Without knowing what you actually want to achieve it is next to impossible to get useful suggestions.

former_member431487
Participant
0 Kudos

Sorry that was a typo. I meant same document type and different number range.