cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed Number Assignment

Former Member
0 Kudos

Hi There ,

I am not very clear after reading the material from help.sap portal on how can we assign the Mixed Number Assignment....... my requirement is suppose that TRANS-22 followed by internal number range ....... like

TRANS-22-100

TRANS-22-101...

Please help me that how can configure the same in SAP........

Regards

Kaushik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi kaushik,

go to tcode dc10, click on document type.

Click on number range and clcik on change interval.

click on plus sign.

define there number range as

TRANS2200000000000100 to TRANS2299999999999

select this as external.

call this number range in dc 10 in number assignment call 2.. and in external number range call this range.

Thanks

regards,

nitin

award point if useful

Answers (4)

Answers (4)

kaushik_choudhury2
Active Contributor
0 Kudos

Hi Pradeep,

we can have only numbers in number range if we don't select the ext check box.

The issue is resolved.

Thanks to all of you for helping me to understand the same

Kaushik

Former Member
0 Kudos

Hi Kaushik,

Could you pls tell me the procedure for defining the mixed numbering range.

i need to create a document with number range starting from T-F6## where ## are the numbers from 00 to 100.

everytime document must by default with T-F6 and internally number shud get assigned from 00 to 100.

Please tell me wat i have to defing as external and internal numbers.

Thank You,

Manoj

kaushik_choudhury2
Active Contributor
0 Kudos

Hi Manoj,

One option is that you can define the number range as T-F6 00 to T-F6 100 and tick the ext check box.

The disadvantage of this option is that you need to enter the number externally.

The other option is that you use the user exit for the same .....please check the program MCDOKZNR.

Regrads

Kaushik

Former Member
0 Kudos

Hi Kaushik

To assign TRANS-22-100 internal number range

1. Create No. Range (tcode-OD00) - TRANS-22-001 to TRANS-22-999. Donot check the EXT check box.

2. Assign mixed no range for no. renge type in tcode- DC10.

Assign internal No. range above created and external No. range which ever you want grom the list(hit F4 to see the list)

3. Assign verson which ever required.

save.

Go to CV01N create doc. without entering any No. in the first field.

well I think this will help your purpose.

award point if usefull

regards,

Pradeep

Former Member
0 Kudos

Hi,

Kaushik,

I think u r joking, any how go through once,

You can define mixed number assignment in Customizing for Document Management under Define document types.[DC10]

You must make the following settings for mixed number assignment:

Type of number assignment

Choose a type that supports mixed number assignment, for example the value 3 in the standard system (mixed number assignment with exit)

Enter external number range, TRANS-22-1000000000 to TRANS-22-9999999999

Enter the program for the number assignment

In the standard system, number assignment is controlled by the MCDOKZNR program. Copy this program. Remember that you must choose the program name from the reserved area for customer names.

You must make the required adjustments in the following FORM routines:

1. GET_NUMBER

The program controls number assignment according to the type of number assignment that has been defined.

1. CHECKNUMBER

The program executes the number check.

Rgds

Ben

Former Member
0 Kudos

Hi

What you can do is

Select option 3 in DC10 for number range assignment.

Have an internal number range numbered ## as 000 to 999

Now in customization go to DC10 and select internal number range as ## (which you have defined earlier)

Now in CV01N when user ll create DIR he needs to enter TRANS-22- and remaining number ll be internal.

Also if you dont want user to enter TRANS-22-,

You can use program MCDOKZNR for your required logic with user exit.

Have a logic in program MCDOKZNR which ll use number range starting with TRANS-22-

You may need help of an ABAPer for building user exit.

Niranjan

Award points if you find the info useful