Mixed Number Assignment 

Usage

Mixed number assignment means that part of the document number can be assigned internally by the system, and the other part can be assigned by the user.

Mixed number assignment is supported for document type L01. The document number consists of the following two parts:

      • First part of number:

In a specific program for controlling number assignment, the character string TRANS-01-ENG- is defined as a fixed part of the document number. The system enters this string in the Document number field.

      • Second part of number:

The user assigns the second part from a defined external number range according to organizational criteria.

TRANS-01-ENG-01

TRANS-22-ENG-01

TRANS-43-ENG-01

Prerequisites

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

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 R/3 System (mixed number assignment with exit)

  • Enter the internal and external number range
  • 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:

    • GET_NUMBER

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

    • CHECKNUMBER

The program executes the number check.

Activities

When you create a document, number assignment takes place according to the the program exit for the document number. This program exit is defined for the chosen document type in Customizing.